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
  • util
10 Nov, 2005
1 commit
  • Add nameToLocalNamespace, which auto-generates a namespace for the cases ...
    be006a0f
    where users create the objects in question and can't be bothered to make
    a unique namespace.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3945 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-10 15:26:23 +0000  
    Browse Dir »

27 Oct, 2005
1 commit
  • Add getRequestScriptName, which gets the name of the script as it was ...
    91b0a134
    given in the script - as opposed to REQUEST_URI which is the whole
    request, and SCRIPT_NAME which is the name of the file.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3900 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-27 12:49:07 +0000  
    Browse Dir »

24 Oct, 2005
1 commit
  • In KTUtil::arrayGet, by default return the mDefault (usually null) if ...
    dea19ba2
    the key references an empty value.  Previously mDefault would only be
    returned if the key didn't exist at all.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3873 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-24 10:26:02 +0000  
    Browse Dir »

06 Oct, 2005
1 commit
  • getObject is a way to get an object when you don't know if you have the ...
    e160a772
    object or its unique identifier.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3748 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-06 19:18:24 +0000  
    Browse Dir »

05 Oct, 2005
1 commit
  • Allow arrayGet to work without errors on a null value passed in. ...
    c4815ebb
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3718 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-05 07:17:35 +0000  
    Browse Dir »

04 Oct, 2005
1 commit
  • Add getId, which simplifies the case where we're being passed an object ...
    e301179c
    or its identifier, and we just want the identifier.
    
    Also add meldOptions, which simplifies the common case of wanting to
    merge two arrays that might not be arrays (yet).
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3707 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-04 12:25:49 +0000  
    Browse Dir »

23 Sep, 2005
1 commit
  • Add getTableName, The one true way to get the correct name for a table ...
    d3ea720d
    whilst respecting the administrator's choice of table naming.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3667 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-23 14:44:30 +0000  
    Browse Dir »

15 Sep, 2005
1 commit
  • Add copyDirectory, moveDirectory, and moveFile, which try to use the ...
    64314078
    most efficient way to do their work.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3574 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-15 08:44:13 +0000  
    Browse Dir »

01 Sep, 2005
1 commit
  • Allow whereToString to potentially have an array passed in as a value. ...
    aebecd24
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3554 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-01 17:12:20 +0000  
    Browse Dir »

19 Aug, 2005
1 commit
  • Add safeShellString, which converts an array of shell arguments to a ...
    537dfc86
    strings that's safe to pass to system, popen, exec, &c.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3553 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-08-19 22:48:13 +0000  
    Browse Dir »

29 Jul, 2005
1 commit
  • Use PHP_Compat to support older versions of PHP. ...
    3390b255
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3489 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-07-29 12:13:56 +0000  
    Browse Dir »

22 Jul, 2005
1 commit
  • Add array_combine (from PHP5 - not really legacy...) ...
    5870f55c
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3452 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-07-22 20:48:13 +0000  
    Browse Dir »

20 Jul, 2005
1 commit
  • Add whereToString, converting an array of parameterised strings to a ...
    8a80e4ec
    single parameterised string.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3404 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-07-20 18:20:04 +0000  
    Browse Dir »

14 Jan, 2005
1 commit
  • Add arrayGet and requestValue ...
    15b087ff
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3170 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-14 09:53:31 +0000  
    Browse Dir »

20 Dec, 2004
2 commits
  • Try harder to convert strings to bools. ...
    9b333da2
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3052 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2004-12-20 10:39:50 +0000  
    Browse Dir »
  • Include PHP-based versions of functions that KnowledgeTree uses that ...
    e4484795
    aren't in earlier versions of PHP 4.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3050 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2004-12-20 09:04:54 +0000  
    Browse Dir »

01 Dec, 2004
2 commits
  • Try harder in anyToBool to find what people meant. ...
    d84e1924
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3033 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2004-12-01 21:28:34 +0000  
    Browse Dir »
  • Move over to PEAR::DB's autoExecute via DBUtil::autoInsert, which gets ...
    886db67d
    rid of all non-portable insert_id calls and introduces portable
    sequences.
    
    You must run the commands in sql/mysql/upgrade/1.2.4-to-1.2.5.sql for
    KnowledgeTree to function on your data.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3025 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2004-12-01 13:46:36 +0000  
    Browse Dir »

26 Nov, 2004
1 commit
  • extractGPC moves specified request parameters to the global scope. ...
    7aa87bd7
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3002 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2004-11-26 17:27:05 +0000  
    Browse Dir »

18 Aug, 2004
1 commit
  • Moved sanitize function to the util directory. ...
    f713cd7d
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2916 c91229c3-7414-0410-bfa2-8a42b809f60b
    Michael Joseph authored
    2004-08-18 09:36:14 +0000  
    Browse Dir »