
Public Member Functions | |
| init ($clause=', $orderByFields=') | |
| setTreeName ($treeName=') | |
| addField ($field, $noCheck=0) | |
| reset () | |
| getBrowsableTree () | |
| printTree ($treeArr=') | |
| PMicon ($row, $a, $c, $nextCount, $exp) | |
| PM_ATagWrap ($icon, $cmd, $bMark=') | |
| wrapTitle ($title, $row, $bank=0) | |
| wrapIcon ($icon, $row) | |
| addTagAttributes ($icon, $attr) | |
| wrapStop ($str, $row) | |
| expandNext ($id) | |
| initializePositionSaving () | |
| savePosition () | |
| getRootIcon ($rec) | |
| getIcon ($row) | |
| getTitleStr ($row, $titleLen=30) | |
| getTitleAttrib ($row) | |
| getId ($row) | |
| getJumpToParam ($row) | |
| getTree ($uid, $depth=999, $depthData=', $blankLineCode=') | |
| getCount ($uid) | |
| getRootRecord ($uid) | |
| getRecord ($uid) | |
| getDataInit ($parentId) | |
| getDataCount (&$res) | |
| getDataNext (&$res) | |
| getDataFree (&$res) | |
| setDataFromArray (&$dataArr, $traverse=FALSE, $pid=0) | |
| setDataFromTreeArray (&$treeArr, &$treeLookupArr) | |
| init ($clause=', $orderByFields=') | |
| setTreeName ($treeName=') | |
| addField ($field, $noCheck=0) | |
| reset () | |
| getBrowsableTree () | |
| printTree ($treeArr=') | |
| PMicon ($row, $a, $c, $nextCount, $exp) | |
| PM_ATagWrap ($icon, $cmd, $bMark=') | |
| wrapTitle ($title, $row, $bank=0) | |
| wrapIcon ($icon, $row) | |
| addTagAttributes ($icon, $attr) | |
| wrapStop ($str, $row) | |
| expandNext ($id) | |
| initializePositionSaving () | |
| savePosition () | |
| getRootIcon ($rec) | |
| getIcon ($row) | |
| getTitleStr ($row, $titleLen=30) | |
| getTitleAttrib ($row) | |
| getId ($row) | |
| getJumpToParam ($row) | |
| getTree ($uid, $depth=999, $depthData=', $blankLineCode=') | |
| getCount ($uid) | |
| getRootRecord ($uid) | |
| getRecord ($uid) | |
| getDataInit ($parentId) | |
| getDataCount (&$res) | |
| getDataNext (&$res) | |
| getDataFree (&$res) | |
| setDataFromArray (&$dataArr, $traverse=FALSE, $pid=0) | |
| setDataFromTreeArray (&$treeArr, &$treeLookupArr) | |
Public Attributes | |
| $expandFirst = 0 | |
| $expandAll = 0 | |
| $thisScript = '' | |
| $titleAttrib = 'title' | |
| $ext_IconMode = false | |
| $addSelfId = 0 | |
| $title = 'no title' | |
| $BE_USER = '' | |
| $MOUNTS = '' | |
| $table = '' | |
| $parentField = 'pid' | |
| $clause = '' | |
| $orderByFields = '' | |
| $fieldArray = Array('uid','title') | |
| $defaultList = 'uid,pid,tstamp,sorting,deleted,perms_userid,perms_groupid,perms_user,perms_group,perms_everybody,crdate,cruser_id' | |
| $treeName = '' | |
| $domIdPrefix = 'row' | |
| $backPath | |
| $iconPath = '' | |
| $iconName = 'default.gif' | |
| $makeHTML = 1 | |
| $setRecs = 0 | |
| $subLevelID = '_SUB_LEVEL' | |
| $ids = Array() | |
| $ids_hierarchy = array() | |
| $buffer_idH = array() | |
| $specUIDmap = array() | |
| $data = false | |
| $dataLookup = false | |
| $tree = Array() | |
| $stored = array() | |
| $bank = 0 | |
| $recs = array() | |
Definition at line 115 of file class.t3lib_treeview.php.
|
||||||||||||
|
Adds a fieldname to the internal array ->fieldArray
Definition at line 312 of file class.t3lib_treeview.php. References $field, $TCA, field, and t3lib_div::inList(). |
|
||||||||||||
|
Adds a fieldname to the internal array ->fieldArray
Definition at line 312 of file class.t3lib_treeview.php. References $field, $TCA, field, and t3lib_div::inList(). |
|
||||||||||||
|
Adds attributes to image tag.
Definition at line 528 of file class.t3lib_treeview.php. |
|
||||||||||||
|
Adds attributes to image tag.
Definition at line 528 of file class.t3lib_treeview.php. Referenced by t3lib_folderTree::wrapIcon(), t3lib_browseTree::wrapIcon(), localFolderTree::wrapIcon(), printAllPageTree::wrapIcon(), and localPageTree::wrapIcon(). |
|
|
Returns true/false if the next level for $id should be expanded - based on data in $this->stored[][] and ->expandAll flag. Extending parent function
Reimplemented in t3lib_pageTree, localPageTree, and t3lib_pageTree. Definition at line 568 of file class.t3lib_treeview.php. |
|
|
Returns true/false if the next level for $id should be expanded - based on data in $this->stored[][] and ->expandAll flag. Extending parent function
Reimplemented in t3lib_pageTree, localPageTree, and t3lib_pageTree. Definition at line 568 of file class.t3lib_treeview.php. |
|
|
Will create and return the HTML code for a browsable tree Is based on the mounts found in the internal array ->MOUNTS (set in the constructor)
Reimplemented in t3lib_folderTree, and t3lib_folderTree. Definition at line 346 of file class.t3lib_treeview.php. References getIcon(), getRecord(), getRootIcon(), getRootRecord(), getTree(), height, img, initializePositionSaving(), PM_ATagWrap(), printTree(), and reset(). |
|
|
Will create and return the HTML code for a browsable tree Is based on the mounts found in the internal array ->MOUNTS (set in the constructor)
Reimplemented in t3lib_folderTree, and t3lib_folderTree. Definition at line 346 of file class.t3lib_treeview.php. References getIcon(), getRecord(), getRootIcon(), getRootRecord(), getTree(), height, img, initializePositionSaving(), PM_ATagWrap(), printTree(), and reset(). |
|
|
Returns the number of records having the parent id, $uid
Reimplemented in t3lib_folderTree, and t3lib_folderTree. Definition at line 829 of file class.t3lib_treeview.php. References $GLOBALS, $res, $row, t3lib_BEfunc::deleteClause(), getDataCount(), and getDataInit(). |
|
|
Returns the number of records having the parent id, $uid
Reimplemented in t3lib_folderTree, and t3lib_folderTree. Definition at line 829 of file class.t3lib_treeview.php. References $GLOBALS, $res, $row, t3lib_BEfunc::deleteClause(), getDataCount(), and getDataInit(). Referenced by getTree(). |
|
|
Getting the tree data: Counting elements in resource
Definition at line 916 of file class.t3lib_treeview.php. References $GLOBALS. |
|
|
Getting the tree data: Counting elements in resource
Definition at line 916 of file class.t3lib_treeview.php. References $GLOBALS. Referenced by getCount(), and getTree(). |
|
|
Getting the tree data: frees data handle
Definition at line 961 of file class.t3lib_treeview.php. References $GLOBALS. |
|
|
Getting the tree data: frees data handle
Definition at line 961 of file class.t3lib_treeview.php. References $GLOBALS. Referenced by getTree(). |
|
|
Getting the tree data: Selecting/Initializing data pointer to items for a certain parent id. For tables: This will make a database query to select all children to "parent" For arrays: This will return key to the ->dataLookup array
Definition at line 886 of file class.t3lib_treeview.php. References $GLOBALS, $res, t3lib_BEfunc::deleteClause(), and reset(). |
|
|
Getting the tree data: Selecting/Initializing data pointer to items for a certain parent id. For tables: This will make a database query to select all children to "parent" For arrays: This will return key to the ->dataLookup array
Definition at line 886 of file class.t3lib_treeview.php. References $GLOBALS, $res, t3lib_BEfunc::deleteClause(), and reset(). Referenced by getCount(), and getTree(). |
|
|
Getting the tree data: next entry
Definition at line 933 of file class.t3lib_treeview.php. |
|
|
Getting the tree data: next entry
Definition at line 933 of file class.t3lib_treeview.php. |
|
|
Get icon for the row. If $this->iconPath and $this->iconName is set, try to get icon based on those values.
Definition at line 647 of file class.t3lib_treeview.php. References t3lib_iconWorks::getIconImage(), height, img, and wrapIcon(). |
|
|
Get icon for the row. If $this->iconPath and $this->iconName is set, try to get icon based on those values.
Definition at line 647 of file class.t3lib_treeview.php. References t3lib_iconWorks::getIconImage(), height, img, and wrapIcon(). Referenced by getBrowsableTree(). |
|
|
Returns the id from the record (typ. uid)
Reimplemented in t3lib_folderTree, and t3lib_folderTree. Definition at line 688 of file class.t3lib_treeview.php. References $row. |
|
|
Returns the id from the record (typ. uid)
Reimplemented in t3lib_folderTree, and t3lib_folderTree. Definition at line 688 of file class.t3lib_treeview.php. References $row. Referenced by getJumpToParam(). |
|
|
Returns jump-url parameter value.
Reimplemented in t3lib_folderTree, and t3lib_folderTree. Definition at line 698 of file class.t3lib_treeview.php. References getId(). |
|
|
Returns jump-url parameter value.
Reimplemented in t3lib_folderTree, and t3lib_folderTree. Definition at line 698 of file class.t3lib_treeview.php. References getId(). |
|
|
Returns the record for a uid. For tables: Looks up the record in the database. For arrays: Returns the fake record for uid id.
Definition at line 869 of file class.t3lib_treeview.php. |
|
|
Returns the record for a uid. For tables: Looks up the record in the database. For arrays: Returns the fake record for uid id.
Definition at line 869 of file class.t3lib_treeview.php. Referenced by getBrowsableTree(). |
|
|
Returns the root icon for a tree/mountpoint (defaults to the globe)
Definition at line 634 of file class.t3lib_treeview.php. References height, img, t3lib_iconWorks::skinImg(), and wrapIcon(). |
|
|
Returns the root icon for a tree/mountpoint (defaults to the globe)
Definition at line 634 of file class.t3lib_treeview.php. References height, img, t3lib_iconWorks::skinImg(), and wrapIcon(). Referenced by getBrowsableTree(). |
|
|
Returns root record for uid (<=0)
Definition at line 856 of file class.t3lib_treeview.php. |
|
|
Returns root record for uid (<=0)
Definition at line 856 of file class.t3lib_treeview.php. Referenced by getBrowsableTree(). |
|
|
Returns the value for the image "title" attribute
Reimplemented in t3lib_browseTree, and t3lib_browseTree. Definition at line 678 of file class.t3lib_treeview.php. |
|
|
Returns the value for the image "title" attribute
Reimplemented in t3lib_browseTree, and t3lib_browseTree. Definition at line 678 of file class.t3lib_treeview.php. |
|
||||||||||||
|
Returns the title for the input record. If blank, a "no title" labele (localized) will be returned. Do NOT htmlspecialchar the string from this function - has already been done.
Reimplemented in t3lib_folderTree, and t3lib_folderTree. Definition at line 666 of file class.t3lib_treeview.php. References $title, and t3lib_div::fixed_lgd_cs(). |
|
||||||||||||
|
Returns the title for the input record. If blank, a "no title" labele (localized) will be returned. Do NOT htmlspecialchar the string from this function - has already been done.
Reimplemented in t3lib_folderTree, and t3lib_folderTree. Definition at line 666 of file class.t3lib_treeview.php. References $title, and t3lib_div::fixed_lgd_cs(). |
|
||||||||||||||||||||
|
Fetches the data for the tree
Definition at line 731 of file class.t3lib_treeview.php. References $res, $row, a, getCount(), getDataCount(), getDataFree(), getDataInit(), getTree(), height, img, and wrapStop(). |
|
||||||||||||||||||||
|
Fetches the data for the tree
Definition at line 731 of file class.t3lib_treeview.php. References $res, $row, a, getCount(), getDataCount(), getDataFree(), getDataInit(), height, img, and wrapStop(). Referenced by localPageTree::ext_tree(), getBrowsableTree(), and getTree(). |
|
||||||||||||
|
Initialize the tree class. Needs to be overwritten Will set ->fieldsArray, ->backPath and ->clause
Definition at line 267 of file class.t3lib_treeview.php. References $clause, $GLOBALS, $orderByFields, t3lib_div::loadTCA(), setTreeName(), and table. |
|
||||||||||||
|
Initialize the tree class. Needs to be overwritten Will set ->fieldsArray, ->backPath and ->clause
Definition at line 267 of file class.t3lib_treeview.php. References $clause, $GLOBALS, $orderByFields, t3lib_div::loadTCA(), setTreeName(), and table. Referenced by localFolderTree::localFolderTree(). |
|
|
Get stored tree structure AND updating it if needed according to incoming PM GET var.
Reimplemented in t3lib_folderTree, t3lib_pageTree, localPageTree, localFolderTree, t3lib_folderTree, and t3lib_pageTree. Definition at line 578 of file class.t3lib_treeview.php. References t3lib_div::_GP(), and savePosition(). |
|
|
Get stored tree structure AND updating it if needed according to incoming PM GET var.
Reimplemented in t3lib_folderTree, t3lib_pageTree, localPageTree, localFolderTree, t3lib_folderTree, and t3lib_pageTree. Definition at line 578 of file class.t3lib_treeview.php. References t3lib_div::_GP(), and savePosition(). Referenced by getBrowsableTree(). |
|
||||||||||||||||
|
Wrap the plus/minus icon in a link
Reimplemented in localPageTree, localFolderTree, localFolderTree, localPageTree, printAllPageTree, localFolderTree, printAllFolderTree, and localPageTree. Definition at line 482 of file class.t3lib_treeview.php. |
|
||||||||||||||||
|
Wrap the plus/minus icon in a link
Reimplemented in localPageTree, localFolderTree, localFolderTree, localPageTree, printAllPageTree, localFolderTree, printAllFolderTree, and localPageTree. Definition at line 482 of file class.t3lib_treeview.php. Referenced by getBrowsableTree(), t3lib_folderTree::getBrowsableTree(), and PMicon(). |
|
||||||||||||||||||||||||
|
Generate the plus/minus icon for the browsable tree.
Reimplemented in t3lib_pageTree, and t3lib_pageTree. Definition at line 460 of file class.t3lib_treeview.php. References $row, height, img, and PM_ATagWrap(). |
|
||||||||||||||||||||||||
|
Generate the plus/minus icon for the browsable tree.
Reimplemented in t3lib_pageTree, and t3lib_pageTree. Definition at line 460 of file class.t3lib_treeview.php. References $row, height, img, and PM_ATagWrap(). |
|
|
Compiles the HTML code for displaying the structure found inside the ->tree array
Reimplemented in localPageTree, localFolderTree, and localFolderTree. Definition at line 407 of file class.t3lib_treeview.php. References table, td, and wrapTitle(). |
|
|
Compiles the HTML code for displaying the structure found inside the ->tree array
Reimplemented in localPageTree, localFolderTree, and localFolderTree. Definition at line 407 of file class.t3lib_treeview.php. References table, td, and wrapTitle(). Referenced by getBrowsableTree(), and t3lib_folderTree::getBrowsableTree(). |
|
|
Resets the tree, recs, ids, and ids_hierarchy internal variables. Use it if you need it.
Definition at line 326 of file class.t3lib_treeview.php. |
|
|
Resets the tree, recs, ids, and ids_hierarchy internal variables. Use it if you need it.
Definition at line 326 of file class.t3lib_treeview.php. Referenced by localPageTree::ext_tree(), getBrowsableTree(), t3lib_folderTree::getBrowsableTree(), getDataInit(), and printAllPageTree_perms::printTree(). |
|