pcf_getTreeArray (line
87)
populates a tree into an array
$dbDesc: ['TABLE'] Table name ['SHOWFIELD'] Showfield ['KEYFIELD'] primary Key ['PARENTFIELD'] foreign key to the parent ['WHEREADD'] append to where without first 'AND' ['SORTFIELD']
array
pcf_getTreeArray
(array $dbDesc, [int $aNodeId = 0], [string $intend = ""], [string $number = ""], [int $levels = 999], [boolean $debug = FALSE])
-
array
$dbDesc
-
int
$aNodeId
-
string
$intend
-
string
$number
-
int
$levels
-
boolean
$debug
pcf_getTreeChildArray (line
42)
void
pcf_getTreeChildArray
( $dbDesc, $aParentId, [ $debug = FALSE])
-
$dbDesc
-
$aParentId
-
$debug
pcf_getTreeNode (line
32)
void
pcf_getTreeNode
( $dbDesc, $aNodeId, [ $debug = FALSE])
pcf_getTreeOptionLst (line
289)
selects a tree from the database and writes all nodes as option list
string
pcf_getTreeOptionLst
(array $dbDesc, [ $parentId = 0], [ $intend = ""], [string $where = ""], [array $selValues = NULL], [boolean $debug = FALSE], mixed $rootId, string $inted)
-
array
$dbDesc
-
mixed
$rootId
-
string
$inted
-
string
$where
-
array
$selValues
-
boolean
$debug
-
$parentId
-
$intend
pcf_getTreePath (line
128)
void
pcf_getTreePath
( $dbDesc, $aNodeId, [ $debug = FALSE])
pcf_getTreeSelectFields (line
15)
void
pcf_getTreeSelectFields
( $dbDesc)
pcf_writeTree (line
224)
void
pcf_writeTree
( $dbDesc, [ $aNodeId = -1], [ $linkUrl = ""], [ $linkTarget = "_self"], [ $layout = NULL], [ $debug = FALSE])
-
$dbDesc
-
$aNodeId
-
$linkUrl
-
$linkTarget
-
$layout
-
$debug
pcf_writeTreeFrom (line
194)
void
pcf_writeTreeFrom
( $dbDesc, $aNodeArr, [ $linkUrl = ""], [ $linkTarget = "_self"], [ $layout = NULL], [ $debug = FALSE])
-
$dbDesc
-
$aNodeArr
-
$linkUrl
-
$linkTarget
-
$layout
-
$debug
pcf_writeTreeNode (line
150)
void
pcf_writeTreeNode
( $dbDesc, $aNode, $linkUrl, [ $cssclass = ""])
-
$dbDesc
-
$aNode
-
$linkUrl
-
$cssclass
pcf_writeTreeTill (line
163)
void
pcf_writeTreeTill
( $dbDesc, $aNodeArr, [ $linkUrl = ""], [ $linkTarget = "_self"], [ $layout = NULL], [ $debug = FALSE])
-
$dbDesc
-
$aNodeArr
-
$linkUrl
-
$linkTarget
-
$layout
-
$debug