ILIAS
Release_5_0_x_branch Revision 61816
|
Creates a path for a start and endnode. More...
Public Member Functions | |
__construct () | |
Constructor. | |
getPath ($a_startnode, $a_endnode) | |
get path | |
enableTextOnly ($a_status) | |
render path as text only | |
textOnly () | |
show text only | |
enableHideLeaf ($a_status) | |
Hide leaf node in path. | |
hideLeaf () | |
setUseImages ($a_status) | |
set use images | |
getUseImages () | |
get use images | |
enableDisplayCut ($a_status) | |
Display a cut with "...". | |
displayCut () | |
Display a cut with "...". |
Protected Member Functions | |
getHTML () | |
get html | |
getPathIds () |
Protected Attributes | |
$lng = null | |
$tree = null |
Private Attributes | |
$startnode = ROOT_FOLDER_ID | |
$endnode = ROOT_FOLDER_ID | |
$textOnly = true | |
$useImages = false | |
$hide_leaf = true | |
$display_cut = false |
Creates a path for a start and endnode.
Definition at line 33 of file class.ilPathGUI.php.
ilPathGUI::__construct | ( | ) |
ilPathGUI::displayCut | ( | ) |
Display a cut with "...".
Definition at line 136 of file class.ilPathGUI.php.
References $display_cut.
Referenced by getHTML().
ilPathGUI::enableDisplayCut | ( | $a_status | ) |
Display a cut with "...".
$a_status | bool |
Definition at line 127 of file class.ilPathGUI.php.
ilPathGUI::enableHideLeaf | ( | $a_status | ) |
Hide leaf node in path.
type | $a_status |
Definition at line 95 of file class.ilPathGUI.php.
ilPathGUI::enableTextOnly | ( | $a_status | ) |
render path as text only
bool | $a_text_only | path as text only true/false |
Definition at line 77 of file class.ilPathGUI.php.
References textOnly().
|
protected |
get html
Definition at line 145 of file class.ilPathGUI.php.
References $ref_id, $tpl, ilLink\_getLink(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), displayCut(), getPathIds(), ilUtil\getTypeIconPath(), getUseImages(), and textOnly().
Referenced by getPath().
ilPathGUI::getPath | ( | $a_startnode, | |
$a_endnode | |||
) |
get path
int | $a_startnode | ref_id of startnode |
int | $a_endnode | ref_id of endnode |
Definition at line 64 of file class.ilPathGUI.php.
References getHTML().
|
protected |
@return |
Definition at line 245 of file class.ilPathGUI.php.
References $path, and hideLeaf().
Referenced by getHTML().
ilPathGUI::getUseImages | ( | ) |
get use images
Definition at line 118 of file class.ilPathGUI.php.
References $useImages.
Referenced by getHTML().
ilPathGUI::hideLeaf | ( | ) |
Definition at line 100 of file class.ilPathGUI.php.
References $hide_leaf.
Referenced by getPathIds().
ilPathGUI::setUseImages | ( | $a_status | ) |
set use images
bool |
Definition at line 109 of file class.ilPathGUI.php.
ilPathGUI::textOnly | ( | ) |
show text only
Definition at line 86 of file class.ilPathGUI.php.
References $textOnly.
Referenced by enableTextOnly(), and getHTML().
|
private |
Definition at line 41 of file class.ilPathGUI.php.
Referenced by displayCut().
|
private |
Definition at line 36 of file class.ilPathGUI.php.
|
private |
Definition at line 40 of file class.ilPathGUI.php.
Referenced by hideLeaf().
|
protected |
Definition at line 43 of file class.ilPathGUI.php.
Referenced by __construct().
|
private |
Definition at line 35 of file class.ilPathGUI.php.
|
private |
Definition at line 38 of file class.ilPathGUI.php.
Referenced by textOnly().
|
protected |
Definition at line 44 of file class.ilPathGUI.php.
Referenced by __construct().
|
private |
Definition at line 39 of file class.ilPathGUI.php.
Referenced by getUseImages().