ILIAS
Release_4_4_x_branch Revision 61816
|
Class ilExplorer class for explorer view in admin frame. More...
Public Member Functions | |
ilExplorer ($a_target) | |
Constructor public. | |
setId ($a_val) | |
Set id. | |
getId () | |
Get id. | |
setAsynchExpanding ($a_val) | |
Set asynch expanding. | |
getAsynchExpanding () | |
Get asynch expanding. | |
initItemCounter ($a_number) | |
Init item counter. | |
setTitle ($a_val) | |
Set title. | |
setTitleLength ($a_length) | |
Set max title length. | |
getTitleLength () | |
Get max title length. | |
getTitle () | |
Get title. | |
setRoot ($a_root_id) | |
Set root node. | |
getRoot () | |
get root id | |
setOrderColumn ($a_column) | |
set the order column public | |
setOrderDirection ($a_direction) | |
set the order direction public | |
setTargetGet ($a_target_get) | |
set the varname in Get-string public | |
setParamsGet ($a_params_get) | |
set additional params to be passed in Get-string public | |
setExpandTarget ($a_exp_target) | |
target script for expand icons | |
setFrameUpdater ($a_up_frame, $a_up_script, $a_params="") | |
Set Explorer Updater. | |
highlightNode ($a_id) | |
set highlighted node | |
checkPermissions ($a_check) | |
check permissions via rbac | |
setSessionExpandVariable ($a_var_name="expand") | |
set name of expand session variable | |
outputIcons ($a_icons) | |
output icons | |
setClickable ($a_type, $a_clickable) | |
(de-)activates links for a certain object type | |
isVisible ($a_ref_id, $a_type) | |
setTreeLead ($a_val) | |
Set tree leading content. | |
getTreeLead () | |
Get tree leading content. | |
isClickable ($a_type, $a_ref_id=0) | |
check if links for certain object type are activated | |
setPostSort ($a_sort) | |
process post sorting | |
setFilterMode ($a_mode=IL_FM_NEGATIVE) | |
set filter mode | |
getFilterMode () | |
get filter mode | |
setUseStandardFrame ($a_val) | |
Set use standard frame. | |
getUseStandardFrame () | |
Get use standard explorer frame. | |
getChildsOfNode ($a_parent_id) | |
Get childs of node. | |
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 public. | |
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. | |
forceExpanded ($a_obj_id) | |
force expansion of node | |
getMaximumTreeDepth () | |
Get maximum tree depth. | |
getOutput () | |
Creates output recursive method public. | |
handleListEndTags (&$a_tpl_tree, $a_cur_depth, $a_item_depth) | |
handle list end tags ( and ) | |
handleListStartTags (&$a_tpl_tree, $a_cur_depth, $a_item_depth) | |
handle list start tags ( | |
formatHeader (&$tpl, $a_obj_id, $a_option) | |
Creates output for header (is empty here but can be overwritten in derived classes) | |
formatObject (&$tpl, $a_node_id, $a_option, $a_obj_id=0) | |
Creates output recursive method private. | |
getImage ($a_name, $a_type="", $a_obj_id="") | |
get image path (may be overwritten by derived classes) | |
getImageAlt ($a_default_text, $a_type="", $a_obj_id="") | |
get image alt text | |
getNodeStyleClass ($a_id, $a_type) | |
get style class for node | |
buildLinkTarget ($a_node_id, $a_type) | |
get link target (may be overwritten by derived classes) | |
buildOnClick ($a_node_id, $a_type, $a_title) | |
get onclick event handling (may be overwritten by derived classes) | |
buildTitle ($a_title, $a_id, $a_type) | |
standard implementation for title, may be overwritten by derived classes | |
buildDescription ($a_desc, $a_id, $a_type) | |
standard implementation for description, may be overwritten by derived classes | |
buildSelect ($a_node_id, $a_type) | |
standard implementation for adding an option select box between image and title | |
buildFrameTarget ($a_type, $a_child=0, $a_obj_id=0) | |
get frame target (may be overwritten by derived classes) | |
createTarget ($a_type, $a_node_id, $a_highlighted_subtree=false, $a_append_anch=true) | |
Creates Get Parameter private. | |
setFrameTarget ($a_target) | |
set target frame or not frame? | |
createLines ($a_depth) | |
Creates lines for explorer view private. | |
is_in_array ($a_start, $a_depth) | |
DESCRIPTION MISSING private. | |
getIndex ($a_data) | |
get index of format_options array from specific ref_id,parent_id private | |
addFilter ($a_item) | |
adds item to the filter public | |
delFilter ($a_item) | |
removes item from the filter public | |
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,...) private | |
forceExpandAll ($a_mode, $a_show_minus=true) | |
force expandAll. | |
setFiltered ($a_bool) | |
active/deactivate the filter public | |
checkFilter ($a_item) | |
check if item is in filter private | |
sortNodes ($a_nodes, $a_parent_obj_id) | |
sort nodes and put adm object to the end of sorted array private |
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::addFilter | ( | $a_item | ) |
adds item to the filter public
string | object type to add |
Definition at line 1363 of file class.ilExplorer.php.
Referenced by ilShopRepositoryExplorer\__construct(), ilECSNodeMappingLocalExplorer\__construct(), ilPasteIntoMultipleItemsExplorer\__construct(), ilSurveySkillExplorer\__construct(), ilWorkspaceExplorer\__construct(), ilPaymentObjectSelector\__construct(), ilContainerSelectionExplorer\__construct(), ilConditionSelector\ilConditionSelector(), ilExplorer(), ilLMMenuObjectSelector\ilLMMenuObjectSelector(), ilMaterialExplorer\ilMaterialExplorer(), ilRepositoryCopySelector\ilRepositoryCopySelector(), ilRepositoryExplorer\ilRepositoryExplorer(), ilRepositoryLinkSelector\ilRepositoryLinkSelector(), ilRoleDesktopItemSelector\ilRoleDesktopItemSelector(), ilSearchRootSelector\ilSearchRootSelector(), ilShopExplorer\ilShopExplorer(), ilSolutionExplorer\ilSolutionExplorer(), and ilTableOfContentsExplorer\ilTableOfContentsExplorer().
ilExplorer::buildDescription | ( | $a_desc, | |
$a_id, | |||
$a_type | |||
) |
standard implementation for description, may be overwritten by derived classes
Reimplemented in ilWorkspaceFolderExplorer, and ilIntLinkRepItemExplorer.
Definition at line 1193 of file class.ilExplorer.php.
Referenced by ilECSNodeMappingCmsExplorer\formatObject(), ilECSNodeMappingLocalExplorer\formatObject(), ilWorkspaceExplorer\formatObject(), ilPasteIntoMultipleItemsExplorer\formatObject(), and formatObject().
ilExplorer::buildFrameTarget | ( | $a_type, | |
$a_child = 0 , |
|||
$a_obj_id = 0 |
|||
) |
get frame target (may be overwritten by derived classes)
Reimplemented in ilWorkspaceFolderExplorer, ilSurveySkillExplorer, ilTableOfContentsExplorer, ilRepositoryExplorer, ilSearchRootSelector, ilAdministrationExplorer, ilSolutionExplorer, ilIntLinkRepItemExplorer, ilMaterialExplorer, ilRepositoryCopySelector, ilRepositoryLinkSelector, ilConditionSelector, ilPaymentObjectSelector, ilLMMenuObjectSelector, ilRoleDesktopItemSelector, ilObjectSelector, and ilShopPublicSectionSelector.
Definition at line 1210 of file class.ilExplorer.php.
Referenced by ilHACPExplorer\formatObject(), ilECSNodeMappingCmsExplorer\formatObject(), ilECSNodeMappingLocalExplorer\formatObject(), ilAICCExplorer\formatObject(), ilSCORMExplorer\formatObject(), and formatObject().
ilExplorer::buildLinkTarget | ( | $a_node_id, | |
$a_type | |||
) |
get link target (may be overwritten by derived classes)
Reimplemented in ilWorkspaceExplorer, ilWorkspaceFolderExplorer, ilLMTOCExplorer, ilTableOfContentsExplorer, ilSurveySkillExplorer, ilSearchRootSelector, ilSolutionExplorer, ilMaterialExplorer, ilIntLinkRepItemExplorer, ilRepositoryCopySelector, ilRepositoryLinkSelector, ilRepositoryExplorer, ilAdministrationExplorer, ilConditionSelector, ilShopRepositoryExplorer, ilPoolSelectorGUI, ilShopPublicSectionSelector, ilRoleDesktopItemSelector, ilPaymentObjectSelector, ilLMMenuObjectSelector, ilStyleScopeExplorer, ilObjectSelector, ilFileSelectorGUI, and ilGlossarySelectorGUI.
Definition at line 1166 of file class.ilExplorer.php.
References $target.
Referenced by ilLMExplorer\formatHeader(), ilHACPExplorer\formatObject(), ilECSNodeMappingCmsExplorer\formatObject(), ilECSNodeMappingLocalExplorer\formatObject(), ilAICCExplorer\formatObject(), and formatObject().
ilExplorer::buildOnClick | ( | $a_node_id, | |
$a_type, | |||
$a_title | |||
) |
get onclick event handling (may be overwritten by derived classes)
Reimplemented in ilIntLinkRepItemExplorer, and ilLinkTargetObjectExplorer.
Definition at line 1177 of file class.ilExplorer.php.
Referenced by ilECSNodeMappingCmsExplorer\formatObject(), ilECSNodeMappingLocalExplorer\formatObject(), ilWorkspaceExplorer\formatObject(), ilPasteIntoMultipleItemsExplorer\formatObject(), and formatObject().
ilExplorer::buildSelect | ( | $a_node_id, | |
$a_type | |||
) |
standard implementation for adding an option select box between image and title
Reimplemented in ilCopyWizardExplorer.
Definition at line 1201 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 ilECSNodeMappingLocalExplorer, ilECSNodeMappingCmsExplorer, ilIntLinkRepItemExplorer, ilSurveySkillExplorer, ilTableOfContentsExplorer, and ilLMTOCExplorer.
Definition at line 1185 of file class.ilExplorer.php.
Referenced by ilWorkspaceExplorer\formatObject(), ilPasteIntoMultipleItemsExplorer\formatObject(), and formatObject().
ilExplorer::checkFilter | ( | $a_item | ) |
check if item is in filter private
string |
Definition at line 1492 of file class.ilExplorer.php.
References $ret, getFilterMode(), and IL_FM_NEGATIVE.
Referenced by ilShopExplorer\setOutput(), ilSCORMExplorer\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 ilSurveySkillExplorer\__construct(), ilContainerSelectionExplorer\__construct(), ilAICCExplorer\ilAICCExplorer(), ilHACPExplorer\ilHACPExplorer(), ilLMExplorer\ilLMExplorer(), and ilSCORMExplorer\ilSCORMExplorer().
ilExplorer::createLines | ( | $a_depth | ) |
Creates lines for explorer view private.
integer |
Definition at line 1274 of file class.ilExplorer.php.
References is_in_array().
Referenced by ilPublicSectionSelector\getOutput(), ilShopPublicSectionSelector\getOutput(), ilSCORMExplorer\getOutput(), and getOutput().
ilExplorer::createTarget | ( | $a_type, | |
$a_node_id, | |||
$a_highlighted_subtree = false , |
|||
$a_append_anch = true |
|||
) |
Creates Get Parameter private.
string | |
integer |
Definition at line 1223 of file class.ilExplorer.php.
References getAsynchExpanding().
Referenced by ilECSNodeMappingCmsExplorer\formatObject(), ilECSNodeMappingLocalExplorer\formatObject(), ilWorkspaceExplorer\formatObject(), ilPasteIntoMultipleItemsExplorer\formatObject(), and formatObject().
ilExplorer::delFilter | ( | $a_item | ) |
removes item from the filter public
string | object type to remove |
Definition at line 1398 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) public
boolean |
Definition at line 1468 of file class.ilExplorer.php.
Referenced by ilPublicSectionSelector\ilPublicSectionSelector().
ilExplorer::forceExpanded | ( | $a_obj_id | ) |
force expansion of node
Reimplemented in ilRepositoryExplorer, ilShopRepositoryExplorer, ilTableOfContentsExplorer, ilLMTOCExplorer, ilAdministrationExplorer, ilMaterialExplorer, ilSurveySkillExplorer, ilPoolSelectorGUI, 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)
public
integer | obj_id |
integer | array options |
Reimplemented in ilRepositoryExplorer, ilShopRepositoryExplorer, ilPasteIntoMultipleItemsExplorer, ilWorkspaceExplorer, ilECSNodeMappingLocalExplorer, ilECSNodeMappingCmsExplorer, ilIntLinkRepItemExplorer, ilPoolSelectorGUI, ilFileSelectorGUI, ilGlossarySelectorGUI, ilLMExplorer, ilAdministrationExplorer, and ilStyleScopeExplorer.
Definition at line 971 of file class.ilExplorer.php.
Referenced by getOutput().
ilExplorer::formatObject | ( | & | $tpl, |
$a_node_id, | |||
$a_option, | |||
$a_obj_id = 0 |
|||
) |
Creates output recursive method private.
integer | |
array |
Reimplemented in ilPublicSectionSelector, ilPasteIntoMultipleItemsExplorer, ilWorkspaceExplorer, ilECSNodeMappingLocalExplorer, and ilECSNodeMappingCmsExplorer.
Definition at line 983 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 ilShopPublicSectionSelector\getOutput(), and 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().
ilExplorer::getImage | ( | $a_name, | |
$a_type = "" , |
|||
$a_obj_id = "" |
|||
) |
get image path (may be overwritten by derived classes)
Reimplemented in ilTableOfContentsExplorer, ilSurveySkillExplorer, ilRepositoryExplorer, ilAdministrationExplorer, ilShopRepositoryExplorer, ilLMTOCExplorer, and ilCopyWizardExplorer.
Definition at line 1138 of file class.ilExplorer.php.
References ilUtil\getImagePath().
Referenced by ilECSNodeMappingCmsExplorer\formatObject(), ilECSNodeMappingLocalExplorer\formatObject(), and formatObject().
ilExplorer::getImageAlt | ( | $a_default_text, | |
$a_type = "" , |
|||
$a_obj_id = "" |
|||
) |
get image alt text
Reimplemented in ilWorkspaceFolderExplorer.
Definition at line 1146 of file class.ilExplorer.php.
Referenced by formatObject().
ilExplorer::getIndex | ( | $a_data | ) |
get index of format_options array from specific ref_id,parent_id private
array | object data |
Definition at line 1337 of file class.ilExplorer.php.
Referenced by ilWorkspaceFolderExplorer\setOutput(), ilSCORMExplorer\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 1154 of file class.ilExplorer.php.
Referenced by ilWorkspaceFolderExplorer\formatHeader(), ilECSNodeMappingCmsExplorer\formatObject(), ilECSNodeMappingLocalExplorer\formatObject(), ilWorkspaceExplorer\formatObject(), ilPasteIntoMultipleItemsExplorer\formatObject(), and formatObject().
ilExplorer::getOutput | ( | ) |
Creates output recursive method public.
Reimplemented in ilWorkspaceFolderExplorer, ilShopExplorer, ilShopPublicSectionSelector, and ilPublicSectionSelector.
Definition at line 790 of file class.ilExplorer.php.
References $_GET, $_POST, $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
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.
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 911 of file class.ilExplorer.php.
Referenced by ilPublicSectionSelector\getOutput(), ilShopPublicSectionSelector\getOutput(), and getOutput().
ilExplorer::handleListStartTags | ( | & | $a_tpl_tree, |
$a_cur_depth, | |||
$a_item_depth | |||
) |
handle list start tags (
)
Definition at line 936 of file class.ilExplorer.php.
Referenced by ilPublicSectionSelector\getOutput(), ilShopPublicSectionSelector\getOutput(), and getOutput().
ilExplorer::highlightNode | ( | $a_id | ) |
set highlighted node
Definition at line 421 of file class.ilExplorer.php.
ilExplorer::ilExplorer | ( | $a_target | ) |
Constructor public.
string | scriptname |
Definition at line 168 of file class.ilExplorer.php.
References $ilias, addFilter(), IL_FM_NEGATIVE, setFiltered(), setFilterMode(), and setTitleLength().
Referenced by ilGlossarySelectorGUI\__construct(), ilFileSelectorGUI\__construct(), ilShopRepositoryExplorer\__construct(), ilPoolSelectorGUI\__construct(), ilSurveySkillExplorer\__construct(), ilCopyWizardExplorer\__construct(), ilPaymentObjectSelector\__construct(), ilAdministrationExplorer\ilAdministrationExplorer(), ilAICCExplorer\ilAICCExplorer(), ilConditionSelector\ilConditionSelector(), ilHACPExplorer\ilHACPExplorer(), ilLMExplorer\ilLMExplorer(), ilLMMenuObjectSelector\ilLMMenuObjectSelector(), ilIntLinkRepItemExplorer\ilLMMenuObjectSelector(), ilMaterialExplorer\ilMaterialExplorer(), ilObjectSelector\ilObjectSelector(), ilRepositoryCopySelector\ilRepositoryCopySelector(), ilRepositoryExplorer\ilRepositoryExplorer(), ilRepositoryLinkSelector\ilRepositoryLinkSelector(), ilRoleDesktopItemSelector\ilRoleDesktopItemSelector(), ilSCORMExplorer\ilSCORMExplorer(), ilSearchRootSelector\ilSearchRootSelector(), ilSolutionExplorer\ilSolutionExplorer(), and ilStyleScopeExplorer\ilStyleScopeExplorer().
ilExplorer::initItemCounter | ( | $a_number | ) |
Init item counter.
public
int | number |
Definition at line 260 of file class.ilExplorer.php.
Referenced by ilCopyWizardExplorer\__construct().
ilExplorer::is_in_array | ( | $a_start, | |
$a_depth | |||
) |
DESCRIPTION MISSING private.
integer | |
integer |
Definition at line 1314 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 ilTableOfContentsExplorer, ilAdministrationExplorer, ilLMTOCExplorer, ilIntLinkRepItemExplorer, ilSolutionExplorer, ilSurveySkillExplorer, ilMaterialExplorer, ilRepositoryCopySelector, ilRepositoryLinkSelector, ilConditionSelector, ilShopPublicSectionSelector, ilContainerSelectionExplorer, ilPoolSelectorGUI, ilPaymentObjectSelector, ilSearchRootSelector, ilLMMenuObjectSelector, ilLMExplorer, ilRoleDesktopItemSelector, ilObjectSelector, ilAICCExplorer, ilFileSelectorGUI, ilCopyWizardExplorer, and ilGlossarySelectorGUI.
Definition at line 518 of file class.ilExplorer.php.
Referenced by formatObject().
ilExplorer::isVisible | ( | $a_ref_id, | |
$a_type | |||
) |
Reimplemented in ilTableOfContentsExplorer, ilRepositoryExplorer, ilShopRepositoryExplorer, ilLMTOCExplorer, ilSCORMExplorer, ilAdministrationExplorer, ilContainerSelectionExplorer, and ilWorkspaceExplorer.
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\ilAICCExplorer(), ilHACPExplorer\ilHACPExplorer(), and ilSCORMExplorer\ilSCORMExplorer().
ilExplorer::setAsynchExpanding | ( | $a_val | ) |
Set asynch expanding.
boolean |
Definition at line 238 of file class.ilExplorer.php.
Referenced by ilIntLinkRepItemExplorer\setMode().
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.
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,...) private
string | pipe-separated integer |
Reimplemented in ilWorkspaceFolderExplorer.
Definition at line 1441 of file class.ilExplorer.php.
References $_SESSION, $expand_variable, and getRoot().
Referenced by ilShopPublicSectionSelector\__construct(), ilObjStyleSettingsGUI\addStyleCatAssignmentObject(), assQuestionGUI\outSolutionExplorer(), ilBasicSkillGUI\selectLevelTrigger(), ilConditionHandlerInterface\selector(), ilSCORMExplorer\setOutput(), ilObjContentObjectGUI\showEntrySelector(), ilObjContentObjectGUI\showLMGlossarySelector(), and ilContainerReferenceGUI\showTargetSelectionTreeObject().
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.
Referenced by ilShopPublicSectionSelector\__construct(), and ilLMPresentationGUI\showTableOfContents().
ilExplorer::setFiltered | ( | $a_bool | ) |
active/deactivate the filter public
boolean |
Definition at line 1480 of file class.ilExplorer.php.
Referenced by ilShopRepositoryExplorer\__construct(), ilECSNodeMappingLocalExplorer\__construct(), ilPasteIntoMultipleItemsExplorer\__construct(), ilWorkspaceExplorer\__construct(), ilPaymentObjectSelector\__construct(), ilContainerSelectionExplorer\__construct(), ilConditionSelector\ilConditionSelector(), ilExplorer(), ilMaterialExplorer\ilMaterialExplorer(), ilObjectSelector\ilObjectSelector(), ilRepositoryCopySelector\ilRepositoryCopySelector(), ilRepositoryExplorer\ilRepositoryExplorer(), ilRepositoryLinkSelector\ilRepositoryLinkSelector(), ilRoleDesktopItemSelector\ilRoleDesktopItemSelector(), ilSearchRootSelector\ilSearchRootSelector(), ilShopExplorer\ilShopExplorer(), ilSolutionExplorer\ilSolutionExplorer(), and ilTableOfContentsExplorer\ilTableOfContentsExplorer().
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 ilShopRepositoryExplorer\__construct(), ilECSNodeMappingLocalExplorer\__construct(), ilPasteIntoMultipleItemsExplorer\__construct(), ilSurveySkillExplorer\__construct(), ilWorkspaceExplorer\__construct(), ilPaymentObjectSelector\__construct(), ilContainerSelectionExplorer\__construct(), ilConditionSelector\ilConditionSelector(), ilExplorer(), ilMaterialExplorer\ilMaterialExplorer(), ilRepositoryCopySelector\ilRepositoryCopySelector(), ilRepositoryExplorer\ilRepositoryExplorer(), ilRepositoryLinkSelector\ilRepositoryLinkSelector(), ilRoleDesktopItemSelector\ilRoleDesktopItemSelector(), ilSearchRootSelector\ilSearchRootSelector(), ilShopExplorer\ilShopExplorer(), ilSolutionExplorer\ilSolutionExplorer(), and ilTableOfContentsExplorer\ilTableOfContentsExplorer().
ilExplorer::setFrameTarget | ( | $a_target | ) |
set target frame or not frame?
string | public |
Definition at line 1264 of file class.ilExplorer.php.
Referenced by ilFileSelectorGUI\__construct(), ilPoolSelectorGUI\__construct(), ilTableOfContentsExplorer\ilTableOfContentsExplorer(), and ilTableOfContentsExplorer\setOfflineMode().
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 public
string | name of order column |
Definition at line 336 of file class.ilExplorer.php.
Referenced by ilECSNodeMappingCmsExplorer\__construct(), ilECSNodeMappingLocalExplorer\__construct(), ilSurveySkillExplorer\__construct(), ilAICCExplorer\ilAICCExplorer(), ilHACPExplorer\ilHACPExplorer(), and ilSCORMExplorer\ilSCORMExplorer().
ilExplorer::setOrderDirection | ( | $a_direction | ) |
set the order direction 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 public.
integer | parent_node_id where to start from (default=0, 'root') |
integer | depth level where to start (default=1) |
Definition at line 604 of file class.ilExplorer.php.
References $ilBench, $tab, checkFilter(), forceExpanded(), getChildsOfNode(), getIndex(), getRoot(), isVisible(), modifyChilds(), showChilds(), and sortNodes().
ilExplorer::setParamsGet | ( | $a_params_get | ) |
set additional params to be passed in Get-string 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(), and ilLMExplorer\ilLMExplorer().
ilExplorer::setRoot | ( | $a_root_id | ) |
Set root node.
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 ilShopRepositoryExplorer\__construct(), ilPasteIntoMultipleItemsExplorer\__construct(), ilSurveySkillExplorer\__construct(), ilWorkspaceExplorer\__construct(), ilPaymentObjectSelector\__construct(), ilContainerSelectionExplorer\__construct(), ilShopPublicSectionSelector\__construct(), ilAdministrationExplorer\ilAdministrationExplorer(), ilConditionSelector\ilConditionSelector(), ilLMExplorer\ilLMExplorer(), ilLMMenuObjectSelector\ilLMMenuObjectSelector(), ilMaterialExplorer\ilMaterialExplorer(), ilObjectSelector\ilObjectSelector(), ilPublicSectionSelector\ilPublicSectionSelector(), ilRepositoryCopySelector\ilRepositoryCopySelector(), ilRepositoryExplorer\ilRepositoryExplorer(), ilRepositoryLinkSelector\ilRepositoryLinkSelector(), ilRoleDesktopItemSelector\ilRoleDesktopItemSelector(), ilSearchRootSelector\ilSearchRootSelector(), ilSolutionExplorer\ilSolutionExplorer(), and ilTableOfContentsExplorer\ilTableOfContentsExplorer().
ilExplorer::setTargetGet | ( | $a_target_get | ) |
set the varname in Get-string public
string | varname containing Ids to be used in GET-string |
Definition at line 363 of file class.ilExplorer.php.
Referenced by ilObjContentObjectGUI\editPublicSection(), ilHACPPresentationGUI\explorer(), ilAICCPresentationGUI\explorer(), ilSAHSPresentationGUI\explorer(), ilSCORMPresentationGUI\explorer(), ilObjWorkspaceFolderGUI\render(), ilShopPurchaseGUI\showDemoVersion(), and ilObjWorkspaceFolderGUI\showMoveIntoObjectTree().
ilExplorer::setTitle | ( | $a_val | ) |
Set title.
title |
Definition at line 270 of file class.ilExplorer.php.
Referenced by ilAdministrationExplorer\ilAdministrationExplorer(), and ilRepositoryExplorer\ilRepositoryExplorer().
ilExplorer::setTitleLength | ( | $a_length | ) |
Set max title length.
object | $a_length |
Definition at line 280 of file class.ilExplorer.php.
Referenced by ilECSNodeMappingCmsExplorer\__construct(), ilSurveySkillExplorer\__construct(), ilCopyWizardExplorer\__construct(), ilContainerSelectionExplorer\__construct(), ilConditionSelector\ilConditionSelector(), ilExplorer(), ilRepositoryCopySelector\ilRepositoryCopySelector(), ilRepositoryLinkSelector\ilRepositoryLinkSelector(), ilRoleDesktopItemSelector\ilRoleDesktopItemSelector(), and ilSearchRootSelector\ilSearchRootSelector().
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 ilIntLinkRepItemExplorer, ilPaymentObjectSelector, ilSearchRootSelector, ilSolutionExplorer, ilRepositoryLinkSelector, ilMaterialExplorer, ilRepositoryCopySelector, ilConditionSelector, ilPoolSelectorGUI, ilLMMenuObjectSelector, ilRoleDesktopItemSelector, ilFileSelectorGUI, ilObjectSelector, and ilGlossarySelectorGUI.
Definition at line 759 of file class.ilExplorer.php.
Referenced by ilSCORMExplorer\setOutput(), and setOutput().
ilExplorer::sortNodes | ( | $a_nodes, | |
$a_parent_obj_id | |||
) |
sort nodes and put adm object to the end of sorted array private
array | node list as returned by iltree::getChilds(); |
Reimplemented in ilRepositoryExplorer, ilShopRepositoryExplorer, and ilWorkspaceExplorer.
Definition at line 1526 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 getId().
ilExplorer::$ilias |
Definition at line 25 of file class.ilExplorer.php.
Referenced by ilRepositoryExplorer\buildFrameTarget(), ilStyleScopeExplorer\formatHeader(), ilAdministrationExplorer\formatHeader(), ilLMExplorer\formatHeader(), ilPublicSectionSelector\formatHeader(), ilSCORMExplorer\formatHeader(), ilGlossarySelectorGUI\formatHeader(), ilRoleDesktopItemSelector\formatHeader(), ilFileSelectorGUI\formatHeader(), ilLMMenuObjectSelector\formatHeader(), ilContainerSelectionExplorer\formatHeader(), ilPoolSelectorGUI\formatHeader(), ilConditionSelector\formatHeader(), ilRepositoryCopySelector\formatHeader(), ilMaterialExplorer\formatHeader(), ilRepositoryLinkSelector\formatHeader(), ilSearchRootSelector\formatHeader(), ilIntLinkRepItemExplorer\formatHeader(), ilECSNodeMappingCmsExplorer\formatHeader(), ilECSNodeMappingLocalExplorer\formatHeader(), ilPasteIntoMultipleItemsExplorer\formatHeader(), ilRepositoryExplorer\formatHeader(), and ilExplorer().
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.
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(), ilHACPExplorer\formatObject(), ilECSNodeMappingCmsExplorer\formatObject(), ilECSNodeMappingLocalExplorer\formatObject(), ilAICCExplorer\formatObject(), ilWorkspaceExplorer\formatObject(), ilPasteIntoMultipleItemsExplorer\formatObject(), ilSCORMExplorer\formatObject(), and 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 ilGlossarySelectorGUI\__construct(), ilFileSelectorGUI\__construct(), ilShopRepositoryExplorer\__construct(), ilPoolSelectorGUI\__construct(), ilECSNodeMappingCmsExplorer\__construct(), ilECSNodeMappingLocalExplorer\__construct(), ilPasteIntoMultipleItemsExplorer\__construct(), ilPaymentObjectSelector\__construct(), ilContainerSelectionExplorer\__construct(), ilECSNodeMappingLocalExplorer\formatHeader(), ilPasteIntoMultipleItemsExplorer\formatHeader(), ilShopRepositoryExplorer\formatHeader(), ilRepositoryExplorer\formatHeader(), ilAdministrationExplorer\ilAdministrationExplorer(), ilConditionSelector\ilConditionSelector(), ilLMMenuObjectSelector\ilLMMenuObjectSelector(), ilIntLinkRepItemExplorer\ilLMMenuObjectSelector(), ilMaterialExplorer\ilMaterialExplorer(), ilObjectSelector\ilObjectSelector(), ilRepositoryCopySelector\ilRepositoryCopySelector(), ilRepositoryExplorer\ilRepositoryExplorer(), ilRepositoryLinkSelector\ilRepositoryLinkSelector(), ilRoleDesktopItemSelector\ilRoleDesktopItemSelector(), ilSearchRootSelector\ilSearchRootSelector(), ilShopExplorer\ilShopExplorer(), ilSolutionExplorer\ilSolutionExplorer(), ilRepositoryExplorer\isClickable(), ilShopRepositoryExplorer\isVisible(), ilRepositoryExplorer\isVisible(), ilShopExplorer\setOutput(), ilECSNodeMappingCmsExplorer\setTree(), and ilRepositoryExplorer\showChilds().
ilExplorer::$use_standard_frame = false |
Definition at line 161 of file class.ilExplorer.php.
Referenced by getUseStandardFrame().