ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilExplorer class for explorer view in admin frame. More...
Public Member Functions | |
__construct ($a_target) | |
Constructor @access public. More... | |
setId ($a_val) | |
Set id. More... | |
getId () | |
Get id. More... | |
setAsynchExpanding ($a_val) | |
Set asynch expanding. More... | |
getAsynchExpanding () | |
Get asynch expanding. More... | |
initItemCounter ($a_number) | |
Init item counter. More... | |
setTitle ($a_val) | |
Set title. More... | |
setTitleLength ($a_length) | |
Set max title length. More... | |
getTitleLength () | |
Get max title length. More... | |
getTitle () | |
Get title. More... | |
setRoot ($a_root_id) | |
Set root node. More... | |
getRoot () | |
get root id More... | |
setOrderColumn ($a_column) | |
set the order column @access public More... | |
setOrderDirection ($a_direction) | |
set the order direction @access public More... | |
setTargetGet ($a_target_get) | |
set the varname in Get-string @access public More... | |
setParamsGet ($a_params_get) | |
set additional params to be passed in Get-string @access public More... | |
setExpandTarget ($a_exp_target) | |
target script for expand icons More... | |
setFrameUpdater ($a_up_frame, $a_up_script, $a_params="") | |
Set Explorer Updater. More... | |
highlightNode ($a_id) | |
set highlighted node More... | |
checkPermissions ($a_check) | |
check permissions via rbac More... | |
setSessionExpandVariable ($a_var_name="expand") | |
set name of expand session variable More... | |
outputIcons ($a_icons) | |
output icons More... | |
setClickable ($a_type, $a_clickable) | |
(de-)activates links for a certain object type More... | |
isVisible ($a_ref_id, $a_type) | |
setTreeLead ($a_val) | |
Set tree leading content. More... | |
getTreeLead () | |
Get tree leading content. More... | |
isClickable ($a_type, $a_ref_id=0) | |
check if links for certain object type are activated More... | |
setPostSort ($a_sort) | |
process post sorting More... | |
setFilterMode ($a_mode=IL_FM_NEGATIVE) | |
set filter mode More... | |
getFilterMode () | |
get filter mode More... | |
setUseStandardFrame ($a_val) | |
Set use standard frame. More... | |
getUseStandardFrame () | |
Get use standard explorer frame. More... | |
getChildsOfNode ($a_parent_id) | |
Get childs of node. More... | |
setOutput ($a_parent_id, $a_depth=1, $a_obj_id=0, $a_highlighted_subtree=false) | |
Creates output for explorer view in admin menue recursive method @access public. More... | |
modifyChilds ($a_parent_id, $a_objects) | |
showChilds ($a_parent_id) | |
determines wether the childs of an object should be shown or not note: this standard implementation always returns true but it could be overwritten by derived classes (e.g. More... | |
forceExpanded ($a_obj_id) | |
force expansion of node More... | |
getMaximumTreeDepth () | |
Get maximum tree depth. More... | |
getOutput () | |
Creates output recursive method @access public. More... | |
handleListEndTags (&$a_tpl_tree, $a_cur_depth, $a_item_depth) | |
handle list end tags ( and ) More... | |
handleListStartTags (&$a_tpl_tree, $a_cur_depth, $a_item_depth) | |
handle list start tags ( More... | |
formatHeader ($tpl, $a_obj_id, $a_option) | |
Creates output for header (is empty here but can be overwritten in derived classes) More... | |
formatObject ($tpl, $a_node_id, $a_option, $a_obj_id=0) | |
Creates output recursive method @access private. More... | |
getImage ($a_name, $a_type="", $a_obj_id="") | |
get image path (may be overwritten by derived classes) More... | |
getImageAlt ($a_default_text, $a_type="", $a_obj_id="") | |
get image alt text More... | |
getNodeStyleClass ($a_id, $a_type) | |
get style class for node More... | |
buildLinkTarget ($a_node_id, $a_type) | |
get link target (may be overwritten by derived classes) More... | |
buildOnClick ($a_node_id, $a_type, $a_title) | |
get onclick event handling (may be overwritten by derived classes) More... | |
buildTitle ($a_title, $a_id, $a_type) | |
standard implementation for title, may be overwritten by derived classes More... | |
buildDescription ($a_desc, $a_id, $a_type) | |
standard implementation for description, may be overwritten by derived classes More... | |
buildSelect ($a_node_id, $a_type) | |
standard implementation for adding an option select box between image and title More... | |
buildFrameTarget ($a_type, $a_child=0, $a_obj_id=0) | |
get frame target (may be overwritten by derived classes) More... | |
createTarget ($a_type, $a_node_id, $a_highlighted_subtree=false, $a_append_anch=true) | |
Creates Get Parameter @access private. More... | |
setFrameTarget ($a_target) | |
set target frame or not frame? More... | |
createLines ($a_depth) | |
Creates lines for explorer view @access private. More... | |
is_in_array ($a_start, $a_depth) | |
DESCRIPTION MISSING @access private. More... | |
getIndex ($a_data) | |
get index of format_options array from specific ref_id,parent_id @access private More... | |
addFilter ($a_item) | |
adds item to the filter @access public More... | |
delFilter ($a_item) | |
removes item from the filter @access public More... | |
setExpand ($a_node_id) | |
set the expand option this value is stored in a SESSION variable to save it different view (lo view, frm view,...) @access private More... | |
forceExpandAll ($a_mode, $a_show_minus=true) | |
force expandAll. More... | |
setFiltered ($a_bool) | |
active/deactivate the filter @access public More... | |
checkFilter ($a_item) | |
check if item is in filter @access private More... | |
sortNodes ($a_nodes, $a_parent_obj_id) | |
sort nodes and put adm object to the end of sorted array @access private More... | |
Data Fields | |
$id | |
$ilias | |
$output | |
$format_options | |
$tree | |
$target | |
$target_get | |
$params_get | |
$expanded | |
$order_column | |
$order_direction = "asc" | |
$expand_target | |
$rbac_check | |
$output_icons | |
$expand_variable | |
$is_clickable | |
$post_sort | |
$filtered = false | |
$filter_mode | |
$expand_all = false | |
$root_id = null | |
$use_standard_frame = false | |
Class ilExplorer class for explorer view in admin frame.
Definition at line 16 of file class.ilExplorer.php.
ilExplorer::__construct | ( | $a_target | ) |
Constructor @access public.
string | scriptname |
Reimplemented in ilAsyncContainerSelectionExplorer, ilAdministrationExplorer, ilContainerSelectionExplorer, and ilSearchRootSelector.
Definition at line 168 of file class.ilExplorer.php.
References $_SERVER, $ilias, addFilter(), IL_FM_NEGATIVE, setFiltered(), setFilterMode(), and setTitleLength().
ilExplorer::addFilter | ( | $a_item | ) |
adds item to the filter @access public
string | object type to add |
Definition at line 1352 of file class.ilExplorer.php.
Referenced by ilContainerSelectionExplorer\__construct(), ilSearchRootSelector\__construct(), __construct(), ilECSNodeMappingLocalExplorer\__construct(), ilSolutionExplorer\__construct(), ilSurveySkillExplorer\__construct(), ilRepositoryExplorer\__construct(), ilRoleDesktopItemSelector\__construct(), ilLMMenuObjectSelector\__construct(), ilPasteIntoMultipleItemsExplorer\__construct(), and ilWorkspaceExplorer\__construct().
ilExplorer::buildDescription | ( | $a_desc, | |
$a_id, | |||
$a_type | |||
) |
standard implementation for description, may be overwritten by derived classes
Reimplemented in ilWorkspaceFolderExplorer.
Definition at line 1182 of file class.ilExplorer.php.
Referenced by ilPasteIntoMultipleItemsExplorer\formatObject(), ilWorkspaceExplorer\formatObject(), formatObject(), ilECSNodeMappingCmsExplorer\formatObject(), and ilECSNodeMappingLocalExplorer\formatObject().
ilExplorer::buildFrameTarget | ( | $a_type, | |
$a_child = 0 , |
|||
$a_obj_id = 0 |
|||
) |
get frame target (may be overwritten by derived classes)
Reimplemented in ilLMMenuObjectSelector, ilSurveySkillExplorer, ilSolutionExplorer, ilWorkspaceFolderExplorer, ilRoleDesktopItemSelector, ilAdministrationExplorer, ilRepositoryExplorer, and ilSearchRootSelector.
Definition at line 1199 of file class.ilExplorer.php.
Referenced by ilAICCExplorer\formatObject(), formatObject(), ilECSNodeMappingCmsExplorer\formatObject(), ilECSNodeMappingLocalExplorer\formatObject(), and ilSCORMExplorer\insertObject().
ilExplorer::buildLinkTarget | ( | $a_node_id, | |
$a_type | |||
) |
get link target (may be overwritten by derived classes)
Reimplemented in ilLMMenuObjectSelector, ilGlossarySelectorGUI, ilAsyncContainerSelectionExplorer, ilSurveySkillExplorer, ilSolutionExplorer, ilWorkspaceFolderExplorer, ilRoleDesktopItemSelector, ilAdministrationExplorer, ilFileSelectorGUI, ilWorkspaceExplorer, ilRepositoryExplorer, and ilSearchRootSelector.
Definition at line 1155 of file class.ilExplorer.php.
References $target.
Referenced by ilAICCExplorer\formatObject(), formatObject(), ilECSNodeMappingCmsExplorer\formatObject(), and ilECSNodeMappingLocalExplorer\formatObject().
ilExplorer::buildOnClick | ( | $a_node_id, | |
$a_type, | |||
$a_title | |||
) |
get onclick event handling (may be overwritten by derived classes)
Reimplemented in ilAsyncContainerSelectionExplorer.
Definition at line 1166 of file class.ilExplorer.php.
Referenced by ilPasteIntoMultipleItemsExplorer\formatObject(), ilWorkspaceExplorer\formatObject(), formatObject(), ilECSNodeMappingCmsExplorer\formatObject(), and ilECSNodeMappingLocalExplorer\formatObject().
ilExplorer::buildSelect | ( | $a_node_id, | |
$a_type | |||
) |
standard implementation for adding an option select box between image and title
Definition at line 1190 of file class.ilExplorer.php.
Referenced by formatObject().
ilExplorer::buildTitle | ( | $a_title, | |
$a_id, | |||
$a_type | |||
) |
standard implementation for title, may be overwritten by derived classes
Reimplemented in ilSurveySkillExplorer, ilECSNodeMappingCmsExplorer, and ilECSNodeMappingLocalExplorer.
Definition at line 1174 of file class.ilExplorer.php.
Referenced by ilPasteIntoMultipleItemsExplorer\formatObject(), ilWorkspaceExplorer\formatObject(), and formatObject().
ilExplorer::checkFilter | ( | $a_item | ) |
check if item is in filter @access private
string |
Definition at line 1481 of file class.ilExplorer.php.
References $ret, getFilterMode(), and IL_FM_NEGATIVE.
Referenced by ilAICCExplorer\setOutput(), and setOutput().
ilExplorer::checkPermissions | ( | $a_check | ) |
check permissions via rbac
boolean | $a_check | check true/false |
Definition at line 431 of file class.ilExplorer.php.
Referenced by ilContainerSelectionExplorer\__construct(), ilSurveySkillExplorer\__construct(), ilAICCExplorer\__construct(), and ilSCORMExplorer\__construct().
ilExplorer::createLines | ( | $a_depth | ) |
Creates lines for explorer view @access private.
integer |
Definition at line 1263 of file class.ilExplorer.php.
References is_in_array().
Referenced by getOutput().
ilExplorer::createTarget | ( | $a_type, | |
$a_node_id, | |||
$a_highlighted_subtree = false , |
|||
$a_append_anch = true |
|||
) |
Creates Get Parameter @access private.
string | |
integer |
Reimplemented in ilSCORMExplorer.
Definition at line 1212 of file class.ilExplorer.php.
References $a_type, and getAsynchExpanding().
Referenced by ilPasteIntoMultipleItemsExplorer\formatObject(), ilWorkspaceExplorer\formatObject(), formatObject(), ilECSNodeMappingCmsExplorer\formatObject(), and ilECSNodeMappingLocalExplorer\formatObject().
ilExplorer::delFilter | ( | $a_item | ) |
removes item from the filter @access public
string | object type to remove |
Definition at line 1387 of file class.ilExplorer.php.
ilExplorer::forceExpandAll | ( | $a_mode, | |
$a_show_minus = true |
|||
) |
force expandAll.
if true all nodes are expanded regardless of the values in $expanded (default: false) @access public
boolean |
Definition at line 1457 of file class.ilExplorer.php.
ilExplorer::forceExpanded | ( | $a_obj_id | ) |
force expansion of node
Reimplemented in ilRepositoryExplorer, ilSurveySkillExplorer, ilAdministrationExplorer, and ilFileSelectorGUI.
Definition at line 767 of file class.ilExplorer.php.
Referenced by setOutput().
ilExplorer::formatHeader | ( | $tpl, | |
$a_obj_id, | |||
$a_option | |||
) |
Creates output for header (is empty here but can be overwritten in derived classes)
@access public
integer | obj_id |
integer | array options |
Reimplemented in ilLMMenuObjectSelector, ilContainerSelectionExplorer, ilGlossarySelectorGUI, ilSCORMExplorer, ilWorkspaceFolderExplorer, ilRoleDesktopItemSelector, ilFileSelectorGUI, ilPasteIntoMultipleItemsExplorer, ilWorkspaceExplorer, ilRepositoryExplorer, ilSearchRootSelector, ilECSNodeMappingCmsExplorer, and ilECSNodeMappingLocalExplorer.
Definition at line 970 of file class.ilExplorer.php.
Referenced by getOutput().
ilExplorer::formatObject | ( | $tpl, | |
$a_node_id, | |||
$a_option, | |||
$a_obj_id = 0 |
|||
) |
Creates output recursive method @access private.
integer | |
array |
Reimplemented in ilPasteIntoMultipleItemsExplorer, ilWorkspaceExplorer, ilECSNodeMappingCmsExplorer, and ilECSNodeMappingLocalExplorer.
Definition at line 982 of file class.ilExplorer.php.
References $lng, $target, $tpl, buildDescription(), buildFrameTarget(), buildLinkTarget(), buildOnClick(), buildSelect(), buildTitle(), createTarget(), getAsynchExpanding(), getImage(), getImageAlt(), getNodeStyleClass(), isClickable(), and ilUtil\shortenText().
Referenced by getOutput().
ilExplorer::getAsynchExpanding | ( | ) |
Get asynch expanding.
Definition at line 248 of file class.ilExplorer.php.
Referenced by createTarget(), and formatObject().
ilExplorer::getChildsOfNode | ( | $a_parent_id | ) |
Get childs of node.
int | $a_parent_id | parent id |
Definition at line 590 of file class.ilExplorer.php.
Referenced by setOutput().
ilExplorer::getFilterMode | ( | ) |
get filter mode
Definition at line 558 of file class.ilExplorer.php.
References $filter_mode.
Referenced by checkFilter().
ilExplorer::getId | ( | ) |
Get id.
Definition at line 228 of file class.ilExplorer.php.
References $id.
Referenced by getOutput(), and ilAsyncContainerSelectionExplorer\initJs().
ilExplorer::getImage | ( | $a_name, | |
$a_type = "" , |
|||
$a_obj_id = "" |
|||
) |
get image path (may be overwritten by derived classes)
Reimplemented in ilSurveySkillExplorer, ilAdministrationExplorer, and ilRepositoryExplorer.
Definition at line 1127 of file class.ilExplorer.php.
References ilUtil\getImagePath().
Referenced by formatObject(), ilECSNodeMappingCmsExplorer\formatObject(), and ilECSNodeMappingLocalExplorer\formatObject().
ilExplorer::getImageAlt | ( | $a_default_text, | |
$a_type = "" , |
|||
$a_obj_id = "" |
|||
) |
get image alt text
Reimplemented in ilWorkspaceFolderExplorer.
Definition at line 1135 of file class.ilExplorer.php.
Referenced by formatObject().
ilExplorer::getIndex | ( | $a_data | ) |
get index of format_options array from specific ref_id,parent_id @access private
array | object data |
Definition at line 1326 of file class.ilExplorer.php.
Referenced by ilAICCExplorer\getParentIndex(), ilWorkspaceFolderExplorer\setOutput(), and setOutput().
ilExplorer::getMaximumTreeDepth | ( | ) |
Get maximum tree depth.
return
Definition at line 778 of file class.ilExplorer.php.
Referenced by getOutput().
ilExplorer::getNodeStyleClass | ( | $a_id, | |
$a_type | |||
) |
get style class for node
Definition at line 1143 of file class.ilExplorer.php.
Referenced by ilWorkspaceFolderExplorer\formatHeader(), ilPasteIntoMultipleItemsExplorer\formatObject(), ilWorkspaceExplorer\formatObject(), formatObject(), ilECSNodeMappingCmsExplorer\formatObject(), and ilECSNodeMappingLocalExplorer\formatObject().
ilExplorer::getOutput | ( | ) |
Creates output recursive method @access public.
Reimplemented in ilAsyncContainerSelectionExplorer, and ilWorkspaceFolderExplorer.
Definition at line 790 of file class.ilExplorer.php.
References $_GET, $_POST, $html, $ilBench, $lng, $options, $tpl, createLines(), formatHeader(), formatObject(), getId(), ilUtil\getImagePath(), getMaximumTreeDepth(), ilUtil\getStyleSheetLocation(), getTitle(), getUseStandardFrame(), handleListEndTags(), handleListStartTags(), and ilYuiUtil\initConnection().
ilExplorer::getRoot | ( | ) |
get root id
@access public
Definition at line 324 of file class.ilExplorer.php.
References $root_id.
Referenced by ilECSNodeMappingCmsExplorer\formatHeader(), setExpand(), and setOutput().
ilExplorer::getTitle | ( | ) |
Get title.
Definition at line 299 of file class.ilExplorer.php.
References $title.
Referenced by getOutput().
ilExplorer::getTitleLength | ( | ) |
Get max title length.
Definition at line 289 of file class.ilExplorer.php.
ilExplorer::getTreeLead | ( | ) |
Get tree leading content.
Definition at line 506 of file class.ilExplorer.php.
ilExplorer::getUseStandardFrame | ( | ) |
Get use standard explorer frame.
Definition at line 579 of file class.ilExplorer.php.
References $use_standard_frame.
Referenced by getOutput().
ilExplorer::handleListEndTags | ( | & | $a_tpl_tree, |
$a_cur_depth, | |||
$a_item_depth | |||
) |
handle list end tags ( and )
Definition at line 910 of file class.ilExplorer.php.
Referenced by getOutput().
ilExplorer::handleListStartTags | ( | & | $a_tpl_tree, |
$a_cur_depth, | |||
$a_item_depth | |||
) |
handle list start tags (
)
Definition at line 935 of file class.ilExplorer.php.
Referenced by getOutput().
ilExplorer::highlightNode | ( | $a_id | ) |
set highlighted node
Definition at line 421 of file class.ilExplorer.php.
ilExplorer::initItemCounter | ( | $a_number | ) |
Init item counter.
@access public
int | number |
Definition at line 260 of file class.ilExplorer.php.
ilExplorer::is_in_array | ( | $a_start, | |
$a_depth | |||
) |
DESCRIPTION MISSING @access private.
integer | |
integer |
Definition at line 1303 of file class.ilExplorer.php.
Referenced by createLines().
ilExplorer::isClickable | ( | $a_type, | |
$a_ref_id = 0 |
|||
) |
check if links for certain object type are activated
string | $a_type | object type |
Reimplemented in ilAICCExplorer, ilContainerSelectionExplorer, ilSurveySkillExplorer, ilAdministrationExplorer, ilLMMenuObjectSelector, ilGlossarySelectorGUI, ilSolutionExplorer, ilRoleDesktopItemSelector, ilFileSelectorGUI, and ilSearchRootSelector.
Definition at line 518 of file class.ilExplorer.php.
References $a_type.
Referenced by formatObject().
ilExplorer::isVisible | ( | $a_ref_id, | |
$a_type | |||
) |
Reimplemented in ilSCORMExplorer, ilAdministrationExplorer, ilContainerSelectionExplorer, ilWorkspaceExplorer, and ilRepositoryExplorer.
Definition at line 475 of file class.ilExplorer.php.
References $ilBench.
Referenced by setOutput().
ilExplorer::modifyChilds | ( | $a_parent_id, | |
$a_objects | |||
) |
Reimplemented in ilAdministrationExplorer.
Definition at line 749 of file class.ilExplorer.php.
Referenced by setOutput().
ilExplorer::outputIcons | ( | $a_icons | ) |
output icons
boolean | $a_icons | output icons true/false |
Definition at line 451 of file class.ilExplorer.php.
Referenced by ilAICCExplorer\__construct(), and ilSCORMExplorer\__construct().
ilExplorer::setAsynchExpanding | ( | $a_val | ) |
Set asynch expanding.
boolean |
Definition at line 238 of file class.ilExplorer.php.
ilExplorer::setClickable | ( | $a_type, | |
$a_clickable | |||
) |
(de-)activates links for a certain object type
string | $a_type | object type |
boolean | $a_clickable | true/false |
Definition at line 463 of file class.ilExplorer.php.
References $a_type.
ilExplorer::setExpand | ( | $a_node_id | ) |
set the expand option this value is stored in a SESSION variable to save it different view (lo view, frm view,...) @access private
string | pipe-separated integer |
Reimplemented in ilWorkspaceFolderExplorer.
Definition at line 1430 of file class.ilExplorer.php.
References $_SESSION, $expand_variable, and getRoot().
Referenced by ilAICCExplorer\makeObjectNodeExpandable().
ilExplorer::setExpandTarget | ( | $a_exp_target | ) |
target script for expand icons
string | $a_exp_target | script name of target script(may include parameters) initially set to $_SERVER["PATH_INFO"] |
Definition at line 400 of file class.ilExplorer.php.
ilExplorer::setFiltered | ( | $a_bool | ) |
active/deactivate the filter @access public
boolean |
Definition at line 1469 of file class.ilExplorer.php.
Referenced by ilContainerSelectionExplorer\__construct(), ilSearchRootSelector\__construct(), __construct(), ilECSNodeMappingLocalExplorer\__construct(), ilSolutionExplorer\__construct(), ilRepositoryExplorer\__construct(), ilRoleDesktopItemSelector\__construct(), ilPasteIntoMultipleItemsExplorer\__construct(), and ilWorkspaceExplorer\__construct().
ilExplorer::setFilterMode | ( | $a_mode = IL_FM_NEGATIVE | ) |
set filter mode
int | $a_mode | filter mode IL_FM_NEGATIVE | IL_FM_NEGATIVE |
Definition at line 548 of file class.ilExplorer.php.
Referenced by ilContainerSelectionExplorer\__construct(), ilSearchRootSelector\__construct(), __construct(), ilECSNodeMappingLocalExplorer\__construct(), ilSolutionExplorer\__construct(), ilSurveySkillExplorer\__construct(), ilRepositoryExplorer\__construct(), ilRoleDesktopItemSelector\__construct(), ilPasteIntoMultipleItemsExplorer\__construct(), and ilWorkspaceExplorer\__construct().
ilExplorer::setFrameTarget | ( | $a_target | ) |
set target frame or not frame?
string | @access public |
Definition at line 1253 of file class.ilExplorer.php.
Referenced by ilFileSelectorGUI\__construct().
ilExplorer::setFrameUpdater | ( | $a_up_frame, | |
$a_up_script, | |||
$a_params = "" |
|||
) |
Set Explorer Updater.
object | $a_tree | Tree Object |
Definition at line 410 of file class.ilExplorer.php.
ilExplorer::setId | ( | $a_val | ) |
Set id.
string | $a_val | id |
Definition at line 218 of file class.ilExplorer.php.
Referenced by ilPasteIntoMultipleItemsExplorer\__construct().
ilExplorer::setOrderColumn | ( | $a_column | ) |
set the order column @access public
string | name of order column |
Definition at line 336 of file class.ilExplorer.php.
Referenced by ilECSNodeMappingCmsExplorer\__construct(), ilECSNodeMappingLocalExplorer\__construct(), ilSurveySkillExplorer\__construct(), ilAICCExplorer\__construct(), and ilSCORMExplorer\__construct().
ilExplorer::setOrderDirection | ( | $a_direction | ) |
set the order direction @access public
string | name of order column |
Definition at line 346 of file class.ilExplorer.php.
ilExplorer::setOutput | ( | $a_parent_id, | |
$a_depth = 1 , |
|||
$a_obj_id = 0 , |
|||
$a_highlighted_subtree = false |
|||
) |
Creates output for explorer view in admin menue recursive method @access public.
integer | parent_node_id where to start from (default=0, 'root') |
integer | depth level where to start (default=1) |
Reimplemented in ilWorkspaceFolderExplorer, and ilSCORMExplorer.
Definition at line 604 of file class.ilExplorer.php.
References $counter, $ilBench, $tab, checkFilter(), forceExpanded(), getChildsOfNode(), getIndex(), getRoot(), isVisible(), modifyChilds(), setOutput(), showChilds(), and sortNodes().
Referenced by setOutput().
ilExplorer::setParamsGet | ( | $a_params_get | ) |
set additional params to be passed in Get-string @access public
array |
Definition at line 378 of file class.ilExplorer.php.
ilExplorer::setPostSort | ( | $a_sort | ) |
process post sorting
boolean | $a_sort | true / false |
Definition at line 538 of file class.ilExplorer.php.
Referenced by ilSurveySkillExplorer\__construct().
ilExplorer::setRoot | ( | $a_root_id | ) |
Set root node.
@access public
int | ref id of root node |
Definition at line 311 of file class.ilExplorer.php.
Referenced by ilECSNodeMappingLocalExplorer\__construct().
ilExplorer::setSessionExpandVariable | ( | $a_var_name = "expand" | ) |
set name of expand session variable
string | $a_var_name | variable name |
Definition at line 441 of file class.ilExplorer.php.
Referenced by ilAdministrationExplorer\__construct(), ilContainerSelectionExplorer\__construct(), ilSearchRootSelector\__construct(), ilSolutionExplorer\__construct(), ilSurveySkillExplorer\__construct(), ilRepositoryExplorer\__construct(), ilRoleDesktopItemSelector\__construct(), ilLMMenuObjectSelector\__construct(), ilPasteIntoMultipleItemsExplorer\__construct(), and ilWorkspaceExplorer\__construct().
ilExplorer::setTargetGet | ( | $a_target_get | ) |
set the varname in Get-string @access public
string | varname containing Ids to be used in GET-string |
Definition at line 363 of file class.ilExplorer.php.
ilExplorer::setTitle | ( | $a_val | ) |
Set title.
title |
Definition at line 270 of file class.ilExplorer.php.
Referenced by ilAdministrationExplorer\__construct(), and ilRepositoryExplorer\__construct().
ilExplorer::setTitleLength | ( | $a_length | ) |
Set max title length.
object | $a_length |
Definition at line 280 of file class.ilExplorer.php.
Referenced by ilContainerSelectionExplorer\__construct(), ilSearchRootSelector\__construct(), __construct(), ilECSNodeMappingCmsExplorer\__construct(), ilSurveySkillExplorer\__construct(), and ilRoleDesktopItemSelector\__construct().
ilExplorer::setTreeLead | ( | $a_val | ) |
Set tree leading content.
string | $a_val | tree leading content |
Definition at line 496 of file class.ilExplorer.php.
ilExplorer::setUseStandardFrame | ( | $a_val | ) |
Set use standard frame.
If true, the standard explorer frame (like in the repository) is put around the tree.
boolean | use standard explorer frame |
Definition at line 569 of file class.ilExplorer.php.
ilExplorer::showChilds | ( | $a_parent_id | ) |
determines wether the childs of an object should be shown or not note: this standard implementation always returns true but it could be overwritten by derived classes (e.g.
Reimplemented in ilLMMenuObjectSelector, ilGlossarySelectorGUI, ilSolutionExplorer, ilRoleDesktopItemSelector, ilFileSelectorGUI, and ilSearchRootSelector.
Definition at line 759 of file class.ilExplorer.php.
Referenced by ilSCORMExplorer\createOutputArray(), ilAICCExplorer\setOutput(), and setOutput().
ilExplorer::sortNodes | ( | $a_nodes, | |
$a_parent_obj_id | |||
) |
sort nodes and put adm object to the end of sorted array @access private
array | node list as returned by iltree::getChilds(); |
Reimplemented in ilWorkspaceExplorer, and ilRepositoryExplorer.
Definition at line 1515 of file class.ilExplorer.php.
References ilUtil\sortArray().
Referenced by setOutput().
ilExplorer::$expand_all = false |
Definition at line 152 of file class.ilExplorer.php.
ilExplorer::$expand_target |
Definition at line 95 of file class.ilExplorer.php.
ilExplorer::$expand_variable |
Definition at line 117 of file class.ilExplorer.php.
Referenced by ilWorkspaceFolderExplorer\setExpand(), and setExpand().
ilExplorer::$expanded |
Definition at line 74 of file class.ilExplorer.php.
ilExplorer::$filter_mode |
Definition at line 145 of file class.ilExplorer.php.
Referenced by getFilterMode().
ilExplorer::$filtered = false |
Definition at line 138 of file class.ilExplorer.php.
ilExplorer::$format_options |
Definition at line 39 of file class.ilExplorer.php.
ilExplorer::$id |
Definition at line 18 of file class.ilExplorer.php.
Referenced by ilAsyncContainerSelectionExplorer\addOnLoadCode(), and getId().
ilExplorer::$ilias |
Definition at line 25 of file class.ilExplorer.php.
Referenced by __construct(), ilRepositoryExplorer\buildFrameTarget(), ilContainerSelectionExplorer\formatHeader(), ilGlossarySelectorGUI\formatHeader(), ilSCORMExplorer\formatHeader(), ilFileSelectorGUI\formatHeader(), ilPasteIntoMultipleItemsExplorer\formatHeader(), ilRepositoryExplorer\formatHeader(), ilSearchRootSelector\formatHeader(), ilECSNodeMappingCmsExplorer\formatHeader(), ilECSNodeMappingLocalExplorer\formatHeader(), and ilAdministrationExplorer\formatHeader().
ilExplorer::$is_clickable |
Definition at line 124 of file class.ilExplorer.php.
ilExplorer::$order_column |
Definition at line 81 of file class.ilExplorer.php.
ilExplorer::$order_direction = "asc" |
Definition at line 88 of file class.ilExplorer.php.
ilExplorer::$output |
Definition at line 32 of file class.ilExplorer.php.
Referenced by ilSCORMExplorer\getOutput().
ilExplorer::$output_icons |
Definition at line 110 of file class.ilExplorer.php.
ilExplorer::$params_get |
Definition at line 67 of file class.ilExplorer.php.
ilExplorer::$post_sort |
Definition at line 131 of file class.ilExplorer.php.
ilExplorer::$rbac_check |
Definition at line 102 of file class.ilExplorer.php.
ilExplorer::$root_id = null |
Definition at line 159 of file class.ilExplorer.php.
Referenced by getRoot().
ilExplorer::$target |
Definition at line 53 of file class.ilExplorer.php.
Referenced by buildLinkTarget(), ilAICCExplorer\formatObject(), ilPasteIntoMultipleItemsExplorer\formatObject(), ilWorkspaceExplorer\formatObject(), formatObject(), ilECSNodeMappingCmsExplorer\formatObject(), and ilECSNodeMappingLocalExplorer\formatObject().
ilExplorer::$target_get |
Definition at line 60 of file class.ilExplorer.php.
ilExplorer::$tree |
Definition at line 46 of file class.ilExplorer.php.
Referenced by ilAdministrationExplorer\__construct(), ilContainerSelectionExplorer\__construct(), ilSearchRootSelector\__construct(), ilGlossarySelectorGUI\__construct(), ilFileSelectorGUI\__construct(), ilECSNodeMappingCmsExplorer\__construct(), ilECSNodeMappingLocalExplorer\__construct(), ilSolutionExplorer\__construct(), ilRepositoryExplorer\__construct(), ilRoleDesktopItemSelector\__construct(), ilLMMenuObjectSelector\__construct(), ilPasteIntoMultipleItemsExplorer\__construct(), ilPasteIntoMultipleItemsExplorer\formatHeader(), ilRepositoryExplorer\formatHeader(), ilECSNodeMappingLocalExplorer\formatHeader(), ilRepositoryExplorer\isClickable(), ilRepositoryExplorer\isVisible(), ilECSNodeMappingCmsExplorer\setTree(), and ilRepositoryExplorer\showChilds().
ilExplorer::$use_standard_frame = false |
Definition at line 161 of file class.ilExplorer.php.
Referenced by getUseStandardFrame().