Class CLIENT_DEP_TREE_NODE

Description

Base class DBMS_TABLEOBJ to handel table data in an object

  • author: Peter Krebs (pk) <pitlinz@users.sourceforge.net>
  • version: pk-04-01-02
  • version: pk-05-11-17
  • version: pk-08-01-31
  • version: $Id: DBMS_TABLEOBJ.phpclass,v 1.60 2008/12/17 16:28:52 peterkrebs Exp $

Located in /client/CLIENT_DEP_TREE_NODE.phpclass (line 17)

OCSP_OBJ
   |
   --DBMS_TABLEOBJ
      |
      --DBMS_TREE_NODE
         |
         --CLIENT_DEP_TREE_NODE
Variable Summary
Method Summary
 int dbInsert ([string $gDBIDX = "USRDB"], [bool $debug = FALSE])
 int getCliId ()
 string getName ([bool $debug = FALSE], bool $filtered)
 void setCliId (int $aId)
 void writeTree ([ $level = 1],  &$rootPath, [string $link = "index.php?"], [boolean $debug = FALSE], int $aktNode)
Variables
boolean $getFullName = FALSE (line 62)

wether getname should only return CDEP_NAME or CDEP_LONGNAME (CDEP_NAME)

  • since: pk-05-04-08
string $myChildClass = "CLIENT_DEP_TREE_NODE" (line 46)

Redefinition of:
DBMS_TREE_NODE::$myChildClass
string $myClassSrcFile = __FILE__ (line 52)
  • var: source file of the class
  • since: pk-05-02-02

Redefinition of:
DBMS_TREE_NODE::$myClassSrcFile
CLIENT $myCliObj = NULL (line 68)
  • since: pk-07-01-12
string $myGlobalTreeKey = "T_CLI_DEPARTMENT" (line 21)
  • var: index in $GLOABLS['DBMS_TREE'][]
mixed $myIdFld = "CDEP_ID" (line 31)
  • staticvar: string $myIdFld: id column = root

Redefinition of:
DBMS_TREE_NODE::$myIdFld
mixed $myParentFld = "CDEP_PARENT" (line 36)
  • staticvar: string $myParentFld: name of the parent column

Redefinition of:
DBMS_TREE_NODE::$myParentFld
mixed $mySortFld = "CDEP_NAME" (line 41)
  • staticvar: string $mySortFld: name of the sort field

Redefinition of:
DBMS_TREE_NODE::$mySortFld
mixed $myTable = "T_CLI_DEPARTMENT" (line 26)
  • staticvar: string $myTable:

Redefinition of:
DBMS_TABLEOBJ::$myTable
NOT FINAL !!!!!

Inherited Variables

Inherited from DBMS_TREE_NODE

DBMS_TREE_NODE::$changesParent
DBMS_TREE_NODE::$level
DBMS_TREE_NODE::$myChildCacheTTL
DBMS_TREE_NODE::$myChildKeys
DBMS_TREE_NODE::$myChildren
DBMS_TREE_NODE::$myChildrenPopulateTS
DBMS_TREE_NODE::$myFilterArr
DBMS_TREE_NODE::$myLink
DBMS_TREE_NODE::$myParent
DBMS_TREE_NODE::$myTree
DBMS_TREE_NODE::$myTreeClass
DBMS_TREE_NODE::$orderNr

Inherited from DBMS_TABLEOBJ

DBMS_TABLEOBJ::$autoIncFld
DBMS_TABLEOBJ::$dbTableDefinitions
DBMS_TABLEOBJ::$frmPostSubOjects
DBMS_TABLEOBJ::$hasObjVals
DBMS_TABLEOBJ::$initTS
DBMS_TABLEOBJ::$myCacheTS
DBMS_TABLEOBJ::$myFields
DBMS_TABLEOBJ::$myKeys
DBMS_TABLEOBJ::$myLinkedTableRows
DBMS_TABLEOBJ::$myMode
DBMS_TABLEOBJ::$myObjVals
DBMS_TABLEOBJ::$myObjValsPopulateTS
DBMS_TABLEOBJ::$objError
DBMS_TABLEOBJ::$objErrorMsg
DBMS_TABLEOBJ::$populateTS
DBMS_TABLEOBJ::$staticClassVars
DBMS_TABLEOBJ::$valChangeTS

Inherited from OCSP_OBJ

OCSP_OBJ::$global_currentUser
OCSP_OBJ::$global_defaultDBObj_read
OCSP_OBJ::$global_defaultDBObj_write
OCSP_OBJ::$myDBObj
Methods
dbInsert (line 116)

inserts a new row to the table if a manager is set the mangers CDEP_ID is set to the new value

  • return: returns the autoIncFld ID if exists or 1 on success
int dbInsert ([string $gDBIDX = "USRDB"], [bool $debug = FALSE])
  • string $gDBIDX: Index of $GLOBALS to the db object
  • bool $debug: show debug info

Redefinition of:
DBMS_TABLEOBJ::dbInsert()
inserts a new row to the table
getCliId (line 80)

returns the client id CLI_ID

  • since: pk-07-01-13
int getCliId ()
getName (line 175)

returns the name of a node

string getName ([bool $debug = FALSE], bool $filtered)
  • bool $filtered
  • bool $debug
setCliId (line 92)

sets the client id

  • since: pk-07-01-13
void setCliId (int $aId)
  • int $aId
writeTree (line 137)

echos the tree within a table

void writeTree ([ $level = 1],  &$rootPath, [string $link = "index.php?"], [boolean $debug = FALSE], int $aktNode)
  • int $aktNode
  • string $link
  • boolean $debug
  • $level
  • &$rootPath

Inherited Methods

Inherited From DBMS_TREE_NODE

 DBMS_TREE_NODE::DBMS_TREE_NODE()
 DBMS_TREE_NODE::addChildNode()
 DBMS_TREE_NODE::changeParent()
 DBMS_TREE_NODE::changesParent()
 DBMS_TREE_NODE::childListIsPopulated()
 DBMS_TREE_NODE::filterAdd()
 DBMS_TREE_NODE::filterClear()
 DBMS_TREE_NODE::filterRemoveKey()
 DBMS_TREE_NODE::getChild()
 DBMS_TREE_NODE::getChildQueryString()
 DBMS_TREE_NODE::getChildrenList()
 DBMS_TREE_NODE::getChildTblName()
 DBMS_TREE_NODE::getGlobalTreeKey()
 DBMS_TREE_NODE::getId()
 DBMS_TREE_NODE::getLevel()
 DBMS_TREE_NODE::getOrderNr()
 DBMS_TREE_NODE::getParentId()
 DBMS_TREE_NODE::getParentObj()
 DBMS_TREE_NODE::getRootPath()
 DBMS_TREE_NODE::getRootPathIdx()
 DBMS_TREE_NODE::getTree()
 DBMS_TREE_NODE::hasChildren()
 DBMS_TREE_NODE::matchFilter()
 DBMS_TREE_NODE::moveChildDown()
 DBMS_TREE_NODE::moveChildUp()
 DBMS_TREE_NODE::newChildObj()
 DBMS_TREE_NODE::newTreeObj()
 DBMS_TREE_NODE::numberOfChildren()
 DBMS_TREE_NODE::populateChildren()
 DBMS_TREE_NODE::populateTree()
 DBMS_TREE_NODE::resortChildren()
 DBMS_TREE_NODE::setChildClassVar()
 DBMS_TREE_NODE::setConfigurationArr()
 DBMS_TREE_NODE::setId()
 DBMS_TREE_NODE::setLevel()
 DBMS_TREE_NODE::setLink()
 DBMS_TREE_NODE::setOrderNr()
 DBMS_TREE_NODE::setParentId()
 DBMS_TREE_NODE::setParentObj()
 DBMS_TREE_NODE::setTreeObj()

Inherited From DBMS_TABLEOBJ

 DBMS_TABLEOBJ::DBMS_TABLEOBJ()
 DBMS_TABLEOBJ::cacheRestore()
 DBMS_TABLEOBJ::cacheWriteTo()
 DBMS_TABLEOBJ::clearErrors()
 DBMS_TABLEOBJ::dbDelete()
 DBMS_TABLEOBJ::dbGetDataArray()
 DBMS_TABLEOBJ::dbGetForm()
 DBMS_TABLEOBJ::dbInsert()
 DBMS_TABLEOBJ::dbPopulate()
 DBMS_TABLEOBJ::dbReplace()
 DBMS_TABLEOBJ::dbSave()
 DBMS_TABLEOBJ::db_SetKey()
 DBMS_TABLEOBJ::db_SetKeyArray()
 DBMS_TABLEOBJ::getClassInclude()
 DBMS_TABLEOBJ::getDbDesc()
 DBMS_TABLEOBJ::getDBField()
 DBMS_TABLEOBJ::getDBRow()
 DBMS_TABLEOBJ::getDBVal()
 DBMS_TABLEOBJ::getDefaults()
 DBMS_TABLEOBJ::getErrorMsg()
 DBMS_TABLEOBJ::getFieldDBDefault()
 DBMS_TABLEOBJ::getForm()
 DBMS_TABLEOBJ::getFormClassName()
 DBMS_TABLEOBJ::getFormName()
 DBMS_TABLEOBJ::getJSON()
 DBMS_TABLEOBJ::getKeyArr()
 DBMS_TABLEOBJ::getMyTable()
 DBMS_TABLEOBJ::getObjValArray()
 DBMS_TABLEOBJ::getObjValValue()
 DBMS_TABLEOBJ::getPopulateTs()
 DBMS_TABLEOBJ::getWhere()
 DBMS_TABLEOBJ::hasChanged()
 DBMS_TABLEOBJ::hasColumn()
 DBMS_TABLEOBJ::hasErrors()
 DBMS_TABLEOBJ::hasObjVals()
 DBMS_TABLEOBJ::init()
 DBMS_TABLEOBJ::isInit()
 DBMS_TABLEOBJ::isPopulated()
 DBMS_TABLEOBJ::keysAreSet()
 DBMS_TABLEOBJ::populateFromKeys()
 DBMS_TABLEOBJ::populateFromValues()
 DBMS_TABLEOBJ::populateObjVals()
 DBMS_TABLEOBJ::p_cacheIsExpired()
 DBMS_TABLEOBJ::saveLinkedRow()
 DBMS_TABLEOBJ::saveLinkedTableRows()
 DBMS_TABLEOBJ::saveObjVals()
 DBMS_TABLEOBJ::setChanged()
 DBMS_TABLEOBJ::setDBField()
 DBMS_TABLEOBJ::setDBFieldIfDiff()
 DBMS_TABLEOBJ::setDBFieldIfEmpty()
 DBMS_TABLEOBJ::setDBRow()
 DBMS_TABLEOBJ::setDBVal()
 DBMS_TABLEOBJ::setDefaults()
 DBMS_TABLEOBJ::setError()
 DBMS_TABLEOBJ::setLinkedTableRow()
 DBMS_TABLEOBJ::setMyTable()
 DBMS_TABLEOBJ::setObjValArray()
 DBMS_TABLEOBJ::setObjValValue()
 DBMS_TABLEOBJ::setObjVarIfEmpty()
 DBMS_TABLEOBJ::setUnChanged()
 DBMS_TABLEOBJ::userIsAllowed()
 DBMS_TABLEOBJ::writeDebugInfo()
 DBMS_TABLEOBJ::xmladdDOMElement()
 DBMS_TABLEOBJ::xmlExport()
 DBMS_TABLEOBJ::_getCacheFileName()
 DBMS_TABLEOBJ::_getDBFields()

Inherited From OCSP_OBJ

 OCSP_OBJ::castObj()
 OCSP_OBJ::cloneMe()
 OCSP_OBJ::currentUser()
 OCSP_OBJ::dbConnect()
 OCSP_OBJ::defaultDBObj()
 OCSP_OBJ::defaultReadDBObj()
 OCSP_OBJ::defaultWriteDBObj()
 OCSP_OBJ::getConf()
 OCSP_OBJ::getDBObj()
 OCSP_OBJ::get_myClassConstant()
 OCSP_OBJ::get_myObject_vars()
 OCSP_OBJ::get_mySourceFile()
 OCSP_OBJ::isConnected()
 OCSP_OBJ::isMultiByteStr()
 OCSP_OBJ::isUTF8()
 OCSP_OBJ::setConf()
 OCSP_OBJ::setDBObj()
 OCSP_OBJ::set_myObject_vars()
 OCSP_OBJ::set_myVarsFrom()
Class Constants

Inherited Constants

Inherited from DBMS_TABLEOBJ

DBMS_TABLEOBJ::CLASS_SRC_FILE

Inherited from OCSP_OBJ

OCSP_OBJ::CLASS_SRC_FILE

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