Stud.IP
2.0 Revision 48548
|
Public Member Functions | |
TreeView ($tree_class_name, $args=null) | |
handleOpenRanges () | |
openItem ($item_id) | |
openRange ($item_id) | |
showTree ($item_id="root") | |
printLevelOutput ($item_id) | |
printItemOutput ($item_id) | |
printItemDetails ($item_id) | |
getItemHeadPics ($item_id) | |
getItemHeadFrontPic ($item_id) | |
getItemHead ($item_id) | |
getItemContent ($item_id) | |
getAgingColor ($item_id) | |
getSelf ($param="") |
Data Fields | |
$tree | |
$tree_class_name | |
$anchor | |
$open_items | |
$open_ranges | |
$start_item_id | |
$root_content | |
$max_cols = 80 | |
$use_aging = false |
getAgingColor | ( | $item_id | ) |
getItemContent | ( | $item_id | ) |
returns html for the content body of the item
private
string | $item_id |
Reimplemented in StudipRangeTreeViewAdmin, StudipSemTreeViewAdmin, StudipLitListViewAdmin, StudipSemTreeView, and StudipRangeTreeView.
getItemHead | ( | $item_id | ) |
returns html for the name of the item
private
string | $item_id |
Reimplemented in StudipSemTreeViewAdmin, StudipRangeTreeViewAdmin, StudipLitListViewAdmin, and StudipSemTreeView.
getItemHeadFrontPic | ( | $item_id | ) |
getItemHeadPics | ( | $item_id | ) |
returns html for the icons in front of the name of the item
private
string | $item_id |
Reimplemented in StudipLitListViewAdmin, StudipSemTreeViewAdmin, and StudipSemTreeView.
getSelf | ( | $param = "" | ) |
returns script name
private
string | $param |
Reimplemented in StudipRangeTreeViewAdmin, and StudipLitListViewAdmin.
handleOpenRanges | ( | ) |
manages the link parameters used for the open/close thing
private
Reimplemented in StudipSemTreeViewAdmin, and StudipSemTreeView.
openItem | ( | $item_id | ) |
openRange | ( | $item_id | ) |
printItemDetails | ( | $item_id | ) |
prints out the details for an item, if item is open
private
string | $item_id |
printItemOutput | ( | $item_id | ) |
prints out one item
private
string | $item_id |
printLevelOutput | ( | $item_id | ) |
prints out the lines before an item ("Strichlogik" (c) rstockm)
private
string | $item_id |
showTree | ( | $item_id = "root" | ) |
prints out the tree beginning with a given item
public
string | $item_id |
TreeView | ( | $tree_class_name, | |
$args = null |
|||
) |
constructor
public
string | $tree_class_name | name of used tree class |
mixed | $args | argument passed to the tree class |
string $anchor |
contains the item with the current html anchor
public
string $max_cols = 80 |
the maximum amount of columns in a title
public
array $open_items |
array containing all open items
this is a reference to a global session variable, managed by PHPLib public
array $open_ranges |
array containing all open item nodes
this is a reference to a global session variable, managed by PHPLib public
string $root_content |
the content of the root element
public
string $start_item_id |
the item to start with
private
object StudipRangeTree $tree |
Reference to the tree structure
private
string $tree_class_name |
name of used tree class
private
boolean $use_aging = false |
draw red icons
public