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
  • ktutil.inc
02 Feb, 2006
3 commits
  • - admin breadcrumbs ...
    53b538b6
    - workflow portlet
    - help urls
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4776 c91229c3-7414-0410-bfa2-8a42b809f60b
    Brad Shuttleworth authored
    2006-02-02 10:34:36 +0000  
    Browse File »
  • correct path_info irregularities. ...
    c0ad442f
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4774 c91229c3-7414-0410-bfa2-8a42b809f60b
    Brad Shuttleworth authored
    2006-02-02 10:11:47 +0000  
    Browse File »
  • Add addQueryStringSelf, for the common case when you're dealing with ...
    2a92c4ba
    PHP_SELF.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4763 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2006-02-02 09:00:42 +0000  
    Browse File »

25 Jan, 2006
2 commits
  • Fix typos in KTUtil::isAbsolutePath ...
    2245eb64
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4684 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2006-01-25 13:36:45 +0000  
    Browse File »
  • Auto-register plugins on first run, and plugins now default to active. ...
    f25024c0
    Plugins paths are now stored as relative paths, to allow for easily
    moving of the system between filesystem paths.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4682 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2006-01-25 11:40:16 +0000  
    Browse File »

15 Dec, 2005
1 commit
  • Fix some Windows-related nigglies. ...
    e1ef6fe4
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4479 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-12-15 18:49:30 +0000  
    Browse File »

14 Dec, 2005
4 commits
  • Add addQueryString, which takes an existing URL (potentially with query ...
    8aec9eb2
    string) and appends a query string to it.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4440 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-12-14 13:15:33 +0000  
    Browse File »
  • Add options to pexec, so that it can be used to, for example, append the ...
    fb8fbda9
    output of a command to a given file.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4434 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-12-14 11:35:38 +0000  
    Browse File »
  • Add KTUtil::findCommand, which finds a command based on its ...
    62797108
    configuration setting and potentially a default value.  Searches
    execSearchPath to find the full path to the command.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4432 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-12-14 11:21:04 +0000  
    Browse File »
  • Use KTUtil::pexec to call programs. ...
    5f03fa78
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4428 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-12-14 10:45:13 +0000  
    Browse File »

13 Dec, 2005
1 commit
  • Add pexec, which aims to portably execute a command on supported ...
    5abc7b54
    platforms.
    
    Add deleteDirectory, which tries to remove a directory and all its
    children in the most efficient manner.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4427 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-12-13 12:37:55 +0000  
    Browse File »

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 File »

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 File »

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 File »

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 File »

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 File »

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 File »

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 File »

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 File »

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 File »

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 File »

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 File »

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 File »

20 Dec, 2004
1 commit
  • 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 File »

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 File »
  • 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 File »

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 File »