getDirSelectTag (line
974)
returns the html code for the directory select
string
getDirSelectTag
(string $aValue, [boolean $debug = False])
-
string
$aValue
-
boolean
$debug
getDownlBtn (line
1242)
returns the html code for the download button
string
getDownlBtn
( $aValue, [boolen $debug = False], string $filePath)
-
string
$filePath: absoulte file
-
boolen
$debug
-
$aValue
getDownloadUrl (line
1207)
returns the download url
string
getDownloadUrl
([string $aValue = ""], [boolean $debug = False])
-
string
$aValue
-
boolean
$debug
getFileInfo (line
1522)
returns an array with information about the file
array
getFileInfo
(string $aValue, [boolean $debug = False])
-
string
$aValue
-
boolean
$debug
getFileOptionArr (line
1584)
returns an array with files of the current dir
array
getFileOptionArr
(string $aPath, [ $aValue = ""], [ $debug = False], string $aFileName)
-
string
$aPath
-
string
$aFileName
-
$aValue
-
$debug
getHtmlTag (line
1719)
gets a htmltag for the value
this is mainly used in CMS Module
mixed
getHtmlTag
(mixed $aValue, [string $arrName = "DBVAL"], [bool $debug = False])
-
mixed
$aValue
-
string
$arrName
-
bool
$debug
getInputTag (line
1084)
returns the html code for the select
string
getInputTag
(string $aValue, [string $arrName = ""], [boolean $debug = False])
-
string
$aValue
-
string
$arrName: (overwrites $this->myDataArrName if not empty)
-
boolean
$debug
getListLink (line
1694)
returns a empty link to not link the field
string
getListLink
(mixed $aValue, [string $arrName = "DBVAL"])
-
mixed
$aValue: value of the db field
-
string
$arrName: name of the GLOBAL array holding the row values
getListValue (line
1663)
returns the html representation of the field in a list (table col)
mixed
getListValue
([mixed $aValue = NULL], [string $arrName = "DBVAL"], [bool $debug = False])
-
mixed
$aValue: the falue
-
string
$arrName: name of the global array holding data values
-
bool
$debug: show debug info
getScreenValue (line
1630)
returns the html representation of the field
mixed
getScreenValue
([mixed $aValue = NULL], [string $arrName = "DBVAL"], [bool $debug = False])
-
mixed
$aValue: the falue
-
string
$arrName: name of the global array holding data values
-
bool
$debug: show debug info
getUploadBtn (line
1159)
returns the html code for the upload button
string
getUploadBtn
([string $arrName = "DBVAL"], [string $curPath = ""], [boolean $debug = False])
-
string
$arrName
-
string
$curPath
-
boolean
$debug
getValue (line
1286)
returns the field value if its an array, it is imploded with \n as seperator
string
getValue
(string $aValue, &$err, [string $arrName = "DBVAL"], [bool $debug = False], array $err)
-
string
$aValue: the value
-
array
$err: error array
-
string
$arrName: name of the array to access fieldsarray gloabl ${$arrName}
-
bool
$debug
-
&$err
jOCSP_addDir (line
826)
change the directory
string
jOCSP_addDir
(array $request, [boolean $debug = False])
-
array
$request
-
boolean
$debug
jOCSP_getAdditonalFieldObjElems (line
742)
returns additional object elements of the field object
array definition: [elemName] = value
NOTE: do not js_escapte value this is done when building the json object
array
jOCSP_getAdditonalFieldObjElems
([boolean $debug = False])
jOCSP_getRequiredModules (line
716)
returns an array of jOCSP/jQuery Modules which are required
$arr_ret[]="script url";
string
jOCSP_getRequiredModules
([boolean $debug = FALSE])
jOCSP_reloadFileList (line
857)
reloads the file list
string
jOCSP_reloadFileList
(array $request, boolean $debug)
-
array
$request
-
boolean
$debug
jOCSP_setDir (line
769)
change the directory
string
jOCSP_setDir
(array $request, boolean $debug)
-
array
$request
-
boolean
$debug
jOCSP_uploadFile (line
910)
uploads a file
string
jOCSP_uploadFile
(array $request, [boolean $debug = False])
-
array
$request
-
boolean
$debug
uploadFile (line
657)
returns the value of the uploaded file
string
uploadFile
(array $uplFile, [string $path = ""], [boolean $debug = False])
-
array
$uplFile
-
string
$path
-
boolean
$debug
userCanDownload (line
1363)
checks if the current user is member of $this->downlGrp
boolean
userCanDownload
([boolean $debug = False])
userCanMkDir (line
1390)
checks if the current user can create a new directory
boolean
userCanMkDir
([boolean $debug = False])
userCanOverwrite (line
1410)
checks if the current user can overwrite an existing file
boolean
userCanOverwrite
([boolean $debug = False])
userCanUpload (line
1376)
checks if the current user is member of $this->downlGrp
boolean
userCanUpload
([boolean $debug = False])