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
22 Nov, 2005
2 commits
  • Add getId(), since the implementation is the same for every entity. ...
    53238b9c
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4109 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner 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 ...
    79fc1e24
    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
    Neil Blakey-Milner 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 ...
    81f28f88
    properly.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3941 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner 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. ...
    4abe16e2
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3871 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner 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. ...
    79925d59
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3860 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner 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 ...
    cc1fa29e
    okay.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3745 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-06 19:15:59 +0000  
    Browse File »

29 Sep, 2005
1 commit
  • Consistently use iId. ...
    86ad1461
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3671 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner 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 ...
    650bdb3a
    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
    Neil Blakey-Milner 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 ...
    5a24d8d4
    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
    Neil Blakey-Milner 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 ...
    9f63c8a0
    expressions.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3555 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-01 17:14:29 +0000  
    Browse File »

01 Aug, 2005
1 commit
  • Support an orderby option ...
    d399e611
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3517 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner 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, ...
    b351905c
    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
    Neil Blakey-Milner authored
    2005-07-29 12:13:04 +0000  
    Browse File »
  • KTEntityUtil::getList2 doesn't need the table passed. ...
    d3587d23
    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
    Neil Blakey-Milner authored
    2005-07-29 08:52:22 +0000  
    Browse File »

27 Jul, 2005
2 commits
  • Return the object from createFromArray() ...
    0d33f8e0
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3473 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-07-27 09:09:27 +0000  
    Browse File »
  • Add getBy to KTEntityUtil, which gets a single object based on an ...
    0b02a89f
    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
    Neil Blakey-Milner 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 ...
    4a79c7da
    updating objects using dictionaries.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3456 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner 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 ...
    7dc9c107
    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
    Neil Blakey-Milner 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, ...
    7447eef1
    since it was not standardised.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3097 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-03 11:44:51 +0000  
    Browse File »
  • Note that KTEntityUtil::getList's SQL query is safe ...
    8eb4df7c
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3095 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-03 11:34:10 +0000  
    Browse File »
  • KTEntityUtil::getList simplifies the disparate getList implementations, ...
    ba763200
    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
    Neil Blakey-Milner 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. ...
    01ca26ad
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3032 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2004-12-01 21:23:15 +0000  
    Browse File »