File/db/DBMS_TREE_NODE.phpclass

Description

Class file DBMS_TABLEOBJ.phpclass

Classes
Class Description
 class DBMS_TREE_NODE Base class DBMS_TABLEOBJ to handel table data in an object
Includes
 require_once (__OCSP_PHPINCPATH__."common"._OCSP_DIRSEP_."pcf.phpinc") (line 13)
Variables
array $OCSP_OBJ (line 185)

constructor populates the node if intval($aId) and $auto_populate

  • version: pk-05-07-08 $auto_populate added
  • version: pk-05-12-13
  • version: pk-07-06-19
  • version: pk-07-08-16
  • access: public
Functions
debugMyTree (line 1604)

outputs debug information about the global tree array

void debugMyTree ()
getChildrenTag (line 1472)

returns the html code for the subtree if $this->myFilterArr is array only children matching the filter are shown

  • since: pk-04-12-29
string getChildrenTag ( &$rootPath, [int $treeType = OCSP_TREETYPE_TABLE], [boolean $filtered = TRUE], [boolean $debug = FALSE], array $rootPath)
  • array $rootPath
  • int $treeType
  • boolean $filtered
  • boolean $debug
  • &$rootPath
getChildrenTagTmpl (line 1549)

returns the html code for the subtree if $this->myFilterArr is array only children matching the filter are shown

special values set in dataArray:

  • _ONPATH
  • _NAME $this->getName())
  • _LINK $this->getLinkUrl()
  • _CSSLI $this->tagLiAdd[$onPath]
  • _CSSTD $this->tagTdAdd[$onPath]
  • _NOFCHILD $this->numberOfChildren($useCache=TRUE,$debug=FALSE) filtered by $this->myFilterArr

  • since: pk-04-12-29
string getChildrenTagTmpl (array $tmplArr,  &$rootPath, [ $frmTmplDir = TRUE], [boolean $debug = FALSE], array $rootPath, boolean $fromTmplDir)
  • array $tmplArr
  • array $rootPath
  • boolean $fromTmplDir
  • boolean $debug
  • &$rootPath
  • $frmTmplDir
getLinkUrl (line 1353)

returns the link url

  • since: pk-04-02-19
string getLinkUrl ([boolean $debug = FALSE])
  • boolean $debug
getName (line 1381)
  • version: pk-05-01-06
  • abstract:

    getName

    returns the show name of the node

  • since: pk-04-12-21
string getName ([boolean $filtered = TRUE], [boolean $debug = FALSE])
  • boolean $filtered
  • boolean $debug
getNodeTag (line 1442)

returns the htmlcode for the node

calls $this->getLinkUrl() and $this->getName()

$onPath:

  • 0 not in the path
  • 1 parent of the selected node
  • 2 selected node
Layout can be handeled by setting
  • $this->tagLiAdd[$onPath] (<li $this->tagLiAdd[$onPath]> )
or
  • $this->tagTdAdd[$onPath] (<td $this->tagTdAdd[$onPath]>)

void getNodeTag ([int $treeType = OCSP_TREETYPE_TABLE], [int $onPath = FALSE], [boolean $debug = FALSE])
  • int $treeType
  • int $onPath
  • boolean $debug
getNodeTagTmpl (line 1408)

returns the html code for the nodetemplate

special values set in dataArray:

  • _ONPATH
  • _NAME $this->GetName())
  • _LINK $this->getLinkUrl()
  • _CSSLI $this->tagLiAdd[$onPath]
  • _CSSTD $this->tagTdAdd[$onPath]
  • _NOFCHILD $this->numberOfChildren($useCache=TRUE,$debug=FALSE) filtered by $this->myFilterArr

  • since: pk-04-12-29
string getNodeTagTmpl (string $tmplFile, [int $onPath = 0], [boolean $fromTmplDir = TRUE], [boolean $debug = FALSE])
  • string $tmplFile
  • int $onPath
  • boolean $fromTmplDir
  • boolean $debug

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