ILIAS
release_8 Revision v8.19
|
Creates a path for a start and endnode. More...
Public Member Functions | |
__construct () | |
Constructor. More... | |
getPath (int $a_startnode, int $a_endnode) | |
get path More... | |
enableTextOnly (bool $a_status) | |
render path as text only More... | |
textOnly () | |
enableHideLeaf (bool $a_status) | |
Hide leaf node in path. More... | |
hideLeaf () | |
setUseImages (bool $a_status) | |
getUseImages () | |
get use images More... | |
enableDisplayCut (bool $a_status) | |
Display a cut with "...". More... | |
displayCut () | |
Display a cut with "...". More... | |
Protected Member Functions | |
getHTML () | |
get html More... | |
buildTitle (int $a_obj_id) | |
getPathIds () | |
Protected Attributes | |
ilLanguage | $lng |
ilTree | $tree |
ilObjectDefinition | $objectDefinition |
Private Attributes | |
int | $startnode |
int | $endnode |
bool | $textOnly = true |
bool | $useImages = false |
bool | $hide_leaf = true |
bool | $display_cut = false |
Creates a path for a start and endnode.
Definition at line 32 of file class.ilPathGUI.php.
ilPathGUI::__construct | ( | ) |
Constructor.
Definition at line 49 of file class.ilPathGUI.php.
References $DIC, ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\objectDefinition(), and ROOT_FOLDER_ID.
|
protected |
Definition at line 222 of file class.ilPathGUI.php.
References $type, ilObject\_lookupTitle(), ilObject\_lookupType(), ILIAS\Repository\lng(), and ILIAS\Repository\objectDefinition().
Referenced by getHTML().
ilPathGUI::displayCut | ( | ) |
Display a cut with "...".
Definition at line 127 of file class.ilPathGUI.php.
References $display_cut.
Referenced by getHTML().
ilPathGUI::enableDisplayCut | ( | bool | $a_status | ) |
Display a cut with "...".
Definition at line 119 of file class.ilPathGUI.php.
ilPathGUI::enableHideLeaf | ( | bool | $a_status | ) |
Hide leaf node in path.
Definition at line 92 of file class.ilPathGUI.php.
Referenced by ilSessionClassificationPathGUI\getPathIds().
ilPathGUI::enableTextOnly | ( | bool | $a_status | ) |
render path as text only
bool | $a_text_only | path as text only true/false |
Definition at line 79 of file class.ilPathGUI.php.
References textOnly().
Referenced by ilObjectCopyCourseGroupSelectionTableGUI\customizePath(), and ilObjectListGUI\insertPath().
|
protected |
get html
Definition at line 135 of file class.ilPathGUI.php.
References $ref_id, $tpl, $type, ilObject\_getIcon(), ilLink\_getLink(), ilObject\_lookupObjId(), ilObject\_lookupType(), buildTitle(), displayCut(), getPathIds(), getUseImages(), ILIAS\Repository\lng(), ROOT_FOLDER_ID, and textOnly().
Referenced by getPath().
ilPathGUI::getPath | ( | int | $a_startnode, |
int | $a_endnode | ||
) |
get path
int | $a_startnode | ref_id of startnode |
int | $a_endnode | ref_id of endnode |
Definition at line 66 of file class.ilPathGUI.php.
References getHTML().
Referenced by ilObjectListGUI\insertPath().
|
protected |
Definition at line 234 of file class.ilPathGUI.php.
References $path, and hideLeaf().
Referenced by getHTML().
ilPathGUI::getUseImages | ( | ) |
get use images
Definition at line 111 of file class.ilPathGUI.php.
References $useImages.
Referenced by getHTML().
ilPathGUI::hideLeaf | ( | ) |
Definition at line 97 of file class.ilPathGUI.php.
References $hide_leaf.
Referenced by getPathIds().
ilPathGUI::setUseImages | ( | bool | $a_status | ) |
Definition at line 102 of file class.ilPathGUI.php.
Referenced by ilObjectCopyCourseGroupSelectionTableGUI\customizePath(), and ilObjectListGUI\insertPath().
ilPathGUI::textOnly | ( | ) |
Definition at line 84 of file class.ilPathGUI.php.
References $textOnly.
Referenced by enableTextOnly(), and getHTML().
|
private |
Definition at line 40 of file class.ilPathGUI.php.
Referenced by displayCut().
|
private |
Definition at line 35 of file class.ilPathGUI.php.
|
private |
Definition at line 39 of file class.ilPathGUI.php.
Referenced by hideLeaf().
|
protected |
Definition at line 42 of file class.ilPathGUI.php.
|
protected |
Definition at line 44 of file class.ilPathGUI.php.
|
private |
Definition at line 34 of file class.ilPathGUI.php.
|
private |
Definition at line 37 of file class.ilPathGUI.php.
Referenced by textOnly().
|
protected |
Definition at line 43 of file class.ilPathGUI.php.
|
private |
Definition at line 38 of file class.ilPathGUI.php.
Referenced by getUseImages().