File/common/pcf_tree.phpinc

Description

Common Functions

Functions
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])
  • $dbDesc
  • $aNodeId
  • $debug
pcf_getTreeOptionLst (line 289)

selects a tree from the database and writes all nodes as option list

  • since: pk-07-01-10
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])
  • $dbDesc
  • $aNodeId
  • $debug
pcf_getTreeSelectFields (line 15)
void pcf_getTreeSelectFields ( $dbDesc)
  • $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

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