File/db/frmClasses/DBMS_FIELD_FILESELECTLIST.phpclass

Description

Class file DBMS_FIELD_FILESELECTLIST.phpclass

Classes
Class Description
 class DBMS_FIELD_FILESELECTLIST Class DBMS_FIELD_SELECTLIST
Functions
getDirSelectTag (line 974)

returns the html code for the directory select

  • return: (html)
  • version: pk-08-05-18
  • since: pk-07-03-01
  • access: protected
string getDirSelectTag (string $aValue, [boolean $debug = False])
  • string $aValue
  • boolean $debug
getDownlBtn (line 1242)

returns the html code for the download button

  • global: $OCSP_CONF 0:
  • version: pk-08-07-21
  • since: pk-06-10-02
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

  • todo: DBMS_FIELD_FILESELECTLIST::getFileOptionArr() file extension filter
  • requires: pcf_directory.phpinc
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

  • since: pk-04-11-18
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

  • return: (html)
  • global: $OCSP_CONF 1:
  • global: ${$this->myDataArrName} ${$this->myDataArrName}:
  • version: pk-05-06-24
  • version: pk-04-08-18
  • todo: multiselect
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

  • return: empty if no link is to show a <a href=...url..> if the field is linked
  • since: pk-06-10-19
string getListLink (mixed $aValue, [string $arrName = &quot;DBVAL&quot;])
  • 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)

  • return: the html representation of the field
  • since: pk-06-04-26
mixed getListValue ([mixed $aValue = NULL], [string $arrName = &quot;DBVAL&quot;], [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

  • return: the html representation of the field
mixed getScreenValue ([mixed $aValue = NULL], [string $arrName = &quot;DBVAL&quot;], [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

  • global: $OCSP_CONF 0:
  • version:

    pk-07-03-01

    enctype="multipart/form-data"

  • since: pk-06-11-19
string getUploadBtn ([string $arrName = &quot;DBVAL&quot;], [string $curPath = &quot;&quot;], [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

  • global: $OCSP_CONF 0:
  • version: pk-04-08-19
  • version: pk-05-06-24
  • version: pk-06-11-15
  • version: pk-08-05-19
string getValue (string $aValue,  &$err, [string $arrName = &quot;DBVAL&quot;], [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

  • return: (js)
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

  • since: pk-08-02-06
array jOCSP_getAdditonalFieldObjElems ([boolean $debug = False])
  • boolean $debug
jOCSP_getRequiredModules (line 716)

returns an array of jOCSP/jQuery Modules which are required

$arr_ret[]="script url";

string jOCSP_getRequiredModules ([boolean $debug = FALSE])
  • boolean $debug
jOCSP_reloadFileList (line 857)

reloads the file list

  • return: (js)
string jOCSP_reloadFileList (array $request, boolean $debug)
  • array $request
  • boolean $debug
jOCSP_setDir (line 769)

change the directory

  • return: (js)
string jOCSP_setDir (array $request, boolean $debug)
  • array $request
  • boolean $debug
jOCSP_uploadFile (line 910)

uploads a file

  • return: (js)
  • version: pk-08-06-10
string jOCSP_uploadFile (array $request, [boolean $debug = False])
  • array $request
  • boolean $debug
uploadFile (line 657)

returns the value of the uploaded file

  • return: value to set or Null on error
string uploadFile (array $uplFile, [string $path = &quot;&quot;], [boolean $debug = False])
  • array $uplFile
  • string $path
  • boolean $debug
userCanDownload (line 1363)

checks if the current user is member of $this->downlGrp

  • version: pk-08-07-21
boolean userCanDownload ([boolean $debug = False])
  • boolean $debug
userCanMkDir (line 1390)

checks if the current user can create a new directory

  • since: pk-08-07-21
boolean userCanMkDir ([boolean $debug = False])
  • boolean $debug
userCanOverwrite (line 1410)

checks if the current user can overwrite an existing file

  • since: pk-07-11-04
boolean userCanOverwrite ([boolean $debug = False])
  • boolean $debug
userCanUpload (line 1376)

checks if the current user is member of $this->downlGrp

boolean userCanUpload ([boolean $debug = False])
  • boolean $debug

Documentation generated on Thu, 08 Jan 2009 17:41:28 +0100 by phpDocumentor 1.4.0a2