Logo white

Peter M. Groen / knowledgetree

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 9,762
  • Compare
  • Branches 2
  • Tags 28
  • knowledgetree
  • lib
  • ktentity.inc
03 Jan, 2006
1 commit
  • Use a custom subclass for the case where there are no objects returned, ...
    7ec6c49d
    so it can be handled separately.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4567 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2006-01-03 19:25:17 +0000  
    Browse File »

22 Nov, 2005
2 commits
  • Add getId(), since the implementation is the same for every entity. ...
    0c64431c
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4109 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-22 14:15:49 +0000  
    Browse File »
  • We consider the value '0' for iId to mean that we never got the value ...
    74aa5c92
    from the database, and that we can thus use create to create the entity
    in the database.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4107 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-22 10:31:00 +0000  
    Browse File »

10 Nov, 2005
1 commit
  • Default $iId to -1, so that the checks that we're not created work ...
    26175648
    properly.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3941 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-10 15:24:06 +0000  
    Browse File »

24 Oct, 2005
1 commit
  • If _bUsePearError is set, return the PEAR error from the update. ...
    e9055722
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3871 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-24 10:24:28 +0000  
    Browse File »

18 Oct, 2005
1 commit
  • If _bUsePearError is set, return a PEAR error instead of false. ...
    2fbae5c3
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3860 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-18 12:11:15 +0000  
    Browse File »

06 Oct, 2005
1 commit
  • Add an option to getBy that signals that not getting any results is ...
    91841c19
    okay.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3745 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-06 19:15:59 +0000  
    Browse File »

29 Sep, 2005
1 commit
  • Consistently use iId. ...
    9521a57e
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3671 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-29 11:11:30 +0000  
    Browse File »

19 Sep, 2005
1 commit
  • Give the ID used for a lookup in our error messages, and catch a ...
    0676bdc5
    potential error that may be returned by a query.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3607 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-19 10:52:27 +0000  
    Browse File »

15 Sep, 2005
1 commit
  • Fix which functions return references and those that don't, and fix a ...
    1be51fb5
    minor type around the orderby option to getList.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3585 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-15 09:48:39 +0000  
    Browse File »

01 Sep, 2005
1 commit
  • Allow getBy to receive an arrays as a value for IN (1,2,3) SQL ...
    d4106c03
    expressions.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3555 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-01 17:14:29 +0000  
    Browse File »

01 Aug, 2005
1 commit
  • Support an orderby option ...
    85185bdf
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3517 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-08-01 15:32:54 +0000  
    Browse File »

29 Jul, 2005
2 commits
  • Allow options for KTEntityUtil::get* to return ids instead of objects, ...
    283bb872
    and to return multiple objects/ids if requested.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3488 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-29 12:13:04 +0000  
    Browse File »
  • KTEntityUtil::getList2 doesn't need the table passed. ...
    ae2490d8
    KTEntityUTil::getByDict can be passed a dictionary of fields to values
    to look up.
    
    KTEntityUtil::getBy{,Dict} can be asked to return multiple results.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3484 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-29 08:52:22 +0000  
    Browse File »

27 Jul, 2005
2 commits
  • Return the object from createFromArray() ...
    67329461
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3473 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-27 09:09:27 +0000  
    Browse File »
  • Add getBy to KTEntityUtil, which gets a single object based on an ...
    db847fa0
    alternative unique database field (ie, not the primary id field).
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3470 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-27 07:59:20 +0000  
    Browse File »

25 Jul, 2005
1 commit
  • Expand KTEntity to simplify get() and support loading, creating, and ...
    09041a31
    updating objects using dictionaries.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3456 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-25 18:42:10 +0000  
    Browse File »

11 Apr, 2005
1 commit
  • Return false on update if there is a problem making the change as ...
    7ec33fda
    requested.
    
    Submitted by:	Stefano Ciancio (sciancio)
    SF Tracker:	1151601
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3245 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-04-11 16:14:00 +0000  
    Browse File »

03 Jan, 2005
3 commits
  • Support having and not having the WHERE in the sWhereClause of getList, ...
    e9a3e5b5
    since it was not standardised.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3097 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-03 11:44:51 +0000  
    Browse File »
  • Note that KTEntityUtil::getList's SQL query is safe ...
    dabd7475
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3095 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-03 11:34:10 +0000  
    Browse File »
  • KTEntityUtil::getList simplifies the disparate getList implementations, ...
    14594230
    and provides for parameterised where clauses.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3094 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-03 11:13:30 +0000  
    Browse File »

01 Dec, 2004
1 commit
  • Common base class for standard database-backed objects in KnowledgeTree. ...
    85b9a3f2
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3032 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-01 21:23:15 +0000  
    Browse File »