Class DBMS_FIELD_DIRSELECTLIST

Description

Class DBMS_FIELD_DIRSELECTLIST

handles directories

Located in /db/frmClasses/DBMS_FIELD_DIRSELECTLIST.phpclass (line 32)

DBMS_FIELD
   |
   --DBMS_FIELD_SELECTLIST
      |
      --DBMS_FIELD_DIRSELECTLIST
Variable Summary
 boolean $allow_cd
 boolean $allow_mkdir
 mixed $className
 string $classSrcFile
 string $defaultDir
 boolean $getValue_nochk
 string $rootDir
 boolean $useDocRoot
Method Summary
 array editTbl_getFieldEditArr ([boolean $debug = FALSE])
 string getBasePath ()
 string getCurPath (string $aValue)
 string getInputTag (string $aValue, [string $arrName = "DBVAL"], [boolean $debug = FALSE])
 string getOptionList (string $aValue)
 string getPathDiv (string $aValue)
 string getValue (string $aValue,  &$err, [string $arrName = "DBVAL"], [bool $debug = FALSE], array $err)
 string jOCSP_addDir (array $request, [boolean $debug = False])
 array jOCSP_getAdditonalFieldObjElems ([boolean $debug = False])
 string jOCSP_getRequiredModules ([boolean $debug = FALSE])
 string jOCSP_getSetDirScript ([boolean $debug = False])
 string jOCSP_reloadDirSel (string $aValue, [boolean $debug = False])
 string jOCSP_setDir (array $request, [boolean $debug = False])
 bool save ()
 void userCanMkDir ([boolean $debug = False])
Variables
mixed $allowNullSelect = FALSE (line 36)
boolean $allow_cd = TRUE (line 77)
  • var: (does the user have the right to change the directory)
  • access: protected
boolean $allow_mkdir = TRUE (line 71)
  • var: (does the form allow the creation of a new directory)
  • access: protected
mixed $className = "DirListSelect" (line 35)
string $classSrcFile = __FILE__ (line 43)

source file of the class

  • access: protected

Redefinition of:
DBMS_FIELD_SELECTLIST::$classSrcFile
source file of the class
string $defaultDir = "" (line 65)
  • var: the defaultDirectory == Default Value
  • access: protected
boolean $getValue_nochk = FALSE (line 83)
  • var: do not check existance in method getValue()
  • access: protected
string $rootDir = "" (line 51)
  • var: the first selectable directory
  • access: protected
boolean $useDocRoot = FALSE (line 59)

rootDir is under documentRoot

if True root starts at DOCUMENT_ROOT else root starts at Projekt root ($OCSP_CONF['PROJECTPATH']);

  • access: protected

Inherited Variables

Inherited from DBMS_FIELD_SELECTLIST

DBMS_FIELD_SELECTLIST::$ajax_onChange_FuncName
DBMS_FIELD_SELECTLIST::$extJSxType
DBMS_FIELD_SELECTLIST::$lstValueIsHtml
DBMS_FIELD_SELECTLIST::$multiselect
DBMS_FIELD_SELECTLIST::$mySeperator
DBMS_FIELD_SELECTLIST::$myValues
DBMS_FIELD_SELECTLIST::$notInLstValues
DBMS_FIELD_SELECTLIST::$nullLabel
DBMS_FIELD_SELECTLIST::$nullToZero
DBMS_FIELD_SELECTLIST::$reloadFormOnChange
DBMS_FIELD_SELECTLIST::$selectAddTag
DBMS_FIELD_SELECTLIST::$selectsize
DBMS_FIELD_SELECTLIST::$showAsCheckRadio
DBMS_FIELD_SELECTLIST::$showNullOption
DBMS_FIELD_SELECTLIST::$showValuesInList
DBMS_FIELD_SELECTLIST::$static_fixedSelSize

Inherited from DBMS_FIELD

DBMS_FIELD::$addTag
DBMS_FIELD::$ajaxDebug
DBMS_FIELD::$ajaxNotifyLst
DBMS_FIELD::$allowNull
DBMS_FIELD::$dbDesc
DBMS_FIELD::$defaultValue
DBMS_FIELD::$enableCopy
DBMS_FIELD::$enableEdit
DBMS_FIELD::$enableEditIfEmpty
DBMS_FIELD::$enableNew
DBMS_FIELD::$errMsg
DBMS_FIELD::$exportCSV
DBMS_FIELD::$extConfOptions
DBMS_FIELD::$fieldtd_add
DBMS_FIELD::$fldDbgGetValue
DBMS_FIELD::$fldDebug
DBMS_FIELD::$hideAddTag_ro
DBMS_FIELD::$hideCopy
DBMS_FIELD::$hideEdit
DBMS_FIELD::$hideNew
DBMS_FIELD::$hideReadOnly
DBMS_FIELD::$inputAdd
DBMS_FIELD::$isHidden
DBMS_FIELD::$isSearchable
DBMS_FIELD::$js_check
DBMS_FIELD::$label
DBMS_FIELD::$labelcol_hide
DBMS_FIELD::$labeltd_add
DBMS_FIELD::$lstColSpan
DBMS_FIELD::$lstDisableLinks
DBMS_FIELD::$lstLabel
DBMS_FIELD::$lstLink
DBMS_FIELD::$lstTDAdd
DBMS_FIELD::$lstWidth
DBMS_FIELD::$maxlength
DBMS_FIELD::$myAjaxObj
DBMS_FIELD::$myBlock
DBMS_FIELD::$myBlockId
DBMS_FIELD::$myControll
DBMS_FIELD::$myCurrentMode
DBMS_FIELD::$myDataArrName
DBMS_FIELD::$myDeleteFlag
DBMS_FIELD::$myDesc
DBMS_FIELD::$myDOMId
DBMS_FIELD::$myForm
DBMS_FIELD::$myFrmId
DBMS_FIELD::$myGrpKey
DBMS_FIELD::$myHelpUrl
DBMS_FIELD::$myModuleKey
DBMS_FIELD::$myName
DBMS_FIELD::$myTable
DBMS_FIELD::$myTableAlias
DBMS_FIELD::$myView
DBMS_FIELD::$nullErrMsg
DBMS_FIELD::$ps_defaultDataArrName
DBMS_FIELD::$regexcheck_pattern
DBMS_FIELD::$regexErrMsg
DBMS_FIELD::$searchGroup_allowAll
DBMS_FIELD::$showGroup
DBMS_FIELD::$showInList
DBMS_FIELD::$showQasHidden
DBMS_FIELD::$showQuery
DBMS_FIELD::$size
DBMS_FIELD::$sortOrder
DBMS_FIELD::$srcVersion
DBMS_FIELD::$tabIndex
DBMS_FIELD::$toolTip
DBMS_FIELD::$toolTipAsTitle
DBMS_FIELD::$trimValue
Methods
editTbl_getFieldEditArr (line 113)

returns an array of field to bie shown in the edit form by using editTbl_echoForm

the array is in the form:

  1.  [_sectionName_]
  2.       [TITLE-> string
  3.       [_rowName_]
  4.          [FLDLAB]  (complete html code with <td></td>)
  5.          [FLDVAL(complete html code with <td></td>)

  • global: $OCSP_CONF 0:
  • since: pk-07-03-01
array editTbl_getFieldEditArr ([boolean $debug = FALSE])
  • boolean $debug

Redefinition of:
DBMS_FIELD_SELECTLIST::editTbl_getFieldEditArr()
returns an array of field to bie shown in the edit form by using editTbl_echoForm
getBasePath (line 212)

returns the base path (DOCUMENTROOT or PROJECT PATH)

  • access: protected
string getBasePath ()
getCurPath (line 224)

returns the path to $aValue

  • access: protected
string getCurPath (string $aValue)
  • string $aValue
getInputTag (line 572)

returns the html code for the select

string getInputTag (string $aValue, [string $arrName = "DBVAL"], [boolean $debug = FALSE])
  • string $aValue
  • string $arrName
  • boolean $debug

Redefinition of:
DBMS_FIELD_SELECTLIST::getInputTag()
returns the html code
getOptionList (line 493)

get the html-code for the option list

  • version: pk-08-11-04
string getOptionList (string $aValue)
  • string $aValue: (selected values)

Redefinition of:
DBMS_FIELD_SELECTLIST::getOptionList()
returns a string with the options
getPathDiv (line 526)

returns the innerHTML of the path div

  • return: (html)
string getPathDiv (string $aValue)
  • string $aValue
getValue (line 630)

returns the field value if its an array, it is imploded with \n as seperator

  • version: pk-04-08-19
  • version: pk-05-06-24
  • version: pk-07-03-01
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

Redefinition of:
DBMS_FIELD_SELECTLIST::getValue()
returns the field value if its an array, it is imploded with $this->mySeperator as seperator
jOCSP_addDir (line 344)

retuns a js command to change the directory

  • return: (js)
  • access: public
string jOCSP_addDir (array $request, [boolean $debug = False])
  • array $request
  • boolean $debug
jOCSP_getAdditonalFieldObjElems (line 286)

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-11-03
  • access: protected
array jOCSP_getAdditonalFieldObjElems ([boolean $debug = False])
  • boolean $debug

Redefinition of:
DBMS_FIELD_SELECTLIST::jOCSP_getAdditonalFieldObjElems()
returns additional object elements of the field object
jOCSP_getRequiredModules (line 259)

returns an array of jOCSP/jQuery Modules which are required

$arr_ret[]="script url";

  • access: public
string jOCSP_getRequiredModules ([boolean $debug = FALSE])
  • boolean $debug

Redefinition of:
DBMS_FIELD_SELECTLIST::jOCSP_getRequiredModules()
returns an array of jOCSP/jQuery Modules which are required
jOCSP_getSetDirScript (line 457)

returns a javascript to be called for reloading the form

  • todo: could sometimes not get the controll
  • access: public
string jOCSP_getSetDirScript ([boolean $debug = False])
  • boolean $debug
jOCSP_reloadDirSel (line 405)

returns the js to reload the select

  • return: (js)
  • access: public
string jOCSP_reloadDirSel (string $aValue, [boolean $debug = False])
  • string $aValue
  • boolean $debug
jOCSP_setDir (line 304)

retuns a js command to change the directory

  • return: (js)
  • access: public
string jOCSP_setDir (array $request, [boolean $debug = False])
  • array $request
  • boolean $debug
save (line 174)

saves the fld definition

bool save ()

Redefinition of:
DBMS_FIELD::save()
save the filed definition form
userCanMkDir (line 673)

returns if the current user can create a new directory

  • since: pk-07-11-04
void userCanMkDir ([boolean $debug = False])
  • boolean $debug

Inherited Methods

Inherited From DBMS_FIELD_SELECTLIST

 DBMS_FIELD_SELECTLIST::editTabl_save()
 DBMS_FIELD_SELECTLIST::editTbl_getFieldEditArr()
 DBMS_FIELD_SELECTLIST::getArrayFromString()
 DBMS_FIELD_SELECTLIST::getCheckRadio()
 DBMS_FIELD_SELECTLIST::getExtJSConfigOptions()
 DBMS_FIELD_SELECTLIST::getFormFieldSelect()
 DBMS_FIELD_SELECTLIST::getFormFieldSelectAttributes()
 DBMS_FIELD_SELECTLIST::getInputName()
 DBMS_FIELD_SELECTLIST::getInputTag()
 DBMS_FIELD_SELECTLIST::getListValue()
 DBMS_FIELD_SELECTLIST::getOnChangedTag()
 DBMS_FIELD_SELECTLIST::getOptionList()
 DBMS_FIELD_SELECTLIST::getReloadButton()
 DBMS_FIELD_SELECTLIST::getScreenValue()
 DBMS_FIELD_SELECTLIST::getSearchCompTypes()
 DBMS_FIELD_SELECTLIST::getSearchInputTag()
 DBMS_FIELD_SELECTLIST::getSelectTag()
 DBMS_FIELD_SELECTLIST::getValue()
 DBMS_FIELD_SELECTLIST::jOCSP_getAdditonalFieldObjElems()
 DBMS_FIELD_SELECTLIST::jOCSP_getReloadScript()
 DBMS_FIELD_SELECTLIST::jOCSP_getRequiredModules()
 DBMS_FIELD_SELECTLIST::setMyValues()
 DBMS_FIELD_SELECTLIST::slashedValue()

Inherited From DBMS_FIELD

 DBMS_FIELD::DBMS_FIELD()
 DBMS_FIELD::allowNull()
 DBMS_FIELD::check()
 DBMS_FIELD::editLst_getAdminLstStyle()
 DBMS_FIELD::editLst_getClassSelectOptions()
 DBMS_FIELD::editTblForm()
 DBMS_FIELD::editTbl_echoForm()
 DBMS_FIELD::editTbl_getForm()
 DBMS_FIELD::fldTypeIsUseable()
 DBMS_FIELD::getAddTag()
 DBMS_FIELD::getBlockId()
 DBMS_FIELD::getDataArrName()
 DBMS_FIELD::getDBColName()
 DBMS_FIELD::getDBColType()
 DBMS_FIELD::getDbDefault()
 DBMS_FIELD::getdbDesc()
 DBMS_FIELD::getDebugMode()
 DBMS_FIELD::getDefaultValue()
 DBMS_FIELD::getFieldRow()
 DBMS_FIELD::getFieldRowCols()
 DBMS_FIELD::getFieldTag()
 DBMS_FIELD::getFrmId()
 DBMS_FIELD::getInputTag()
 DBMS_FIELD::getKey()
 DBMS_FIELD::getLabel()
 DBMS_FIELD::getLabelColTag()
 DBMS_FIELD::getListLink()
 DBMS_FIELD::getListLinkArr()
 DBMS_FIELD::getListValue()
 DBMS_FIELD::getLstColSpan()
 DBMS_FIELD::getLstLabel()
 DBMS_FIELD::getLstWidth()
 DBMS_FIELD::getModuleKey()
 DBMS_FIELD::getMyBlock()
 DBMS_FIELD::getMyForm()
 DBMS_FIELD::getMyFormName()
 DBMS_FIELD::getName()
 DBMS_FIELD::getObjectData()
 DBMS_FIELD::getObjectVars()
 DBMS_FIELD::getOrderNr()
 DBMS_FIELD::getScreenValue()
 DBMS_FIELD::getSetting()
 DBMS_FIELD::getShowGroup()
 DBMS_FIELD::getSize()
 DBMS_FIELD::getSourceFile()
 DBMS_FIELD::getTabIndex()
 DBMS_FIELD::getTable()
 DBMS_FIELD::getTblAlias()
 DBMS_FIELD::getToolTip()
 DBMS_FIELD::getType()
 DBMS_FIELD::getValId()
 DBMS_FIELD::get_lstTDAdd()
 DBMS_FIELD::incOrderNr()
 DBMS_FIELD::isAutoInc()
 DBMS_FIELD::isEnabled()
 DBMS_FIELD::isHidden()
 DBMS_FIELD::isLayoutFld()
 DBMS_FIELD::isMarkedDeleted()
 DBMS_FIELD::isPrimaryKey()
 DBMS_FIELD::isReadOnlyShown()
 DBMS_FIELD::isSearchable()
 DBMS_FIELD::isToShow()
 DBMS_FIELD::labelIsHidden()
 DBMS_FIELD::lstLinksDisabled()
 DBMS_FIELD::markDeleted()
 DBMS_FIELD::markUnDeleted()
 DBMS_FIELD::save()
 DBMS_FIELD::setDataArrName()
 DBMS_FIELD::setdbDesc()
 DBMS_FIELD::setFieldVar()
 DBMS_FIELD::setFrmId()
 DBMS_FIELD::setHidden()
 DBMS_FIELD::setLabel()
 DBMS_FIELD::setModuleKey()
 DBMS_FIELD::setMyBlock()
 DBMS_FIELD::setMyForm()
 DBMS_FIELD::setName()
 DBMS_FIELD::setObjectVars()
 DBMS_FIELD::setObjVarsFrom()
 DBMS_FIELD::setOrderNr()
 DBMS_FIELD::setShown()
 DBMS_FIELD::setTable()
 DBMS_FIELD::setTblAlias()
 DBMS_FIELD::showInList()

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