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
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
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
string
getLinkUrl
([boolean $debug = FALSE])
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
string
getNodeTagTmpl
(string $tmplFile, [int $onPath = 0], [boolean $fromTmplDir = TRUE], [boolean $debug = FALSE])
-
string
$tmplFile
-
int
$onPath
-
boolean
$fromTmplDir
-
boolean
$debug