ILIAS
release_4-3 Revision
|
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 1369 of file class.ilExplorer.php.
Referenced by ilShopRepositoryExplorer\__construct(), ilECSNodeMappingLocalExplorer\__construct(), ilForumMoveTopicsExplorer\__construct(), ilPasteIntoMultipleItemsExplorer\__construct(), ilPersonalSkillExplorer\__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(), ilSkillExplorer\ilSkillExplorer(), 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, ilBookmarkExplorer, and ilIntLinkRepItemExplorer.
Definition at line 1199 of file class.ilExplorer.php.
Referenced by ilForumMoveTopicsExplorer\formatObject(), 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, ilSkillExplorer, ilBookmarkExplorer, ilPersonalSkillExplorer, ilTaxonomyExplorer, ilTableOfContentsExplorer, ilRepositoryExplorer, ilSolutionExplorer, ilSearchRootSelector, ilAdministrationExplorer, ilIntLinkRepItemExplorer, ilMaterialExplorer, ilRepositoryCopySelector, ilRepositoryLinkSelector, ilConditionSelector, ilPaymentObjectSelector, ilLMMenuObjectSelector, ilRoleDesktopItemSelector, ilObjectSelector, and ilShopPublicSectionSelector.
Definition at line 1216 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, ilBookmarkExplorer, ilLMTOCExplorer, ilPersonalSkillExplorer, ilTableOfContentsExplorer, ilSkillExplorer, ilTaxonomyExplorer, ilScorm2004EditorExplorer, ilLMEditorExplorer, ilSearchRootSelector, ilSolutionExplorer, ilMaterialExplorer, ilIntLinkRepItemExplorer, ilRepositoryCopySelector, ilRepositoryLinkSelector, ilRepositoryExplorer, ilAdministrationExplorer, ilConditionSelector, ilShopRepositoryExplorer, ilPoolSelectorGUI, ilShopPublicSectionSelector, ilRoleDesktopItemSelector, ilPaymentObjectSelector, ilLMMenuObjectSelector, ilStyleScopeExplorer, ilObjectSelector, ilFileSelectorGUI, and ilGlossarySelectorGUI.
Definition at line 1172 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 1183 of file class.ilExplorer.php.
Referenced by ilForumMoveTopicsExplorer\formatObject(), 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 1207 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 ilRepositoryExplorer, ilECSNodeMappingLocalExplorer, ilECSNodeMappingCmsExplorer, ilSkillExplorer, ilPersonalSkillExplorer, ilTaxonomyExplorer, ilIntLinkRepItemExplorer, ilTableOfContentsExplorer, ilLMEditorExplorer, and ilLMTOCExplorer.
Definition at line 1191 of file class.ilExplorer.php.
Referenced by formatObject().
ilExplorer::checkFilter | ( | $a_item | ) |
check if item is in filter private
string |
Definition at line 1498 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 ilTaxonomyExplorer\__construct(), ilPersonalSkillExplorer\__construct(), ilContainerSelectionExplorer\__construct(), ilAICCExplorer\ilAICCExplorer(), ilHACPExplorer\ilHACPExplorer(), ilLMExplorer\ilLMExplorer(), ilMediaPoolExplorer\ilMediaPoolExplorer(), ilScorm2004EditorExplorer\ilScorm2004EditorExplorer(), ilSCORMExplorer\ilSCORMExplorer(), and ilSkillExplorer\ilSkillExplorer().
ilExplorer::createLines | ( | $a_depth | ) |
Creates lines for explorer view private.
integer |
Definition at line 1280 of file class.ilExplorer.php.
References is_in_array().
Referenced by ilMailExplorer\getOutput(), 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 1229 of file class.ilExplorer.php.
References getAsynchExpanding().
Referenced by ilForumMoveTopicsExplorer\formatObject(), 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 1404 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 1474 of file class.ilExplorer.php.
Referenced by ilPublicSectionSelector\ilPublicSectionSelector(), and ilObjTaxonomyGUI\moveItems().
ilExplorer::forceExpanded | ( | $a_obj_id | ) |
force expansion of node
Reimplemented in ilRepositoryExplorer, ilShopRepositoryExplorer, ilTableOfContentsExplorer, ilLMTOCExplorer, ilSkillExplorer, ilLMEditorExplorer, ilAdministrationExplorer, ilPersonalSkillExplorer, ilTaxonomyExplorer, ilScorm2004EditorExplorer, ilMaterialExplorer, 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, ilForumMoveTopicsExplorer, ilIntLinkRepItemExplorer, ilPoolSelectorGUI, ilPersonalSkillExplorer, ilFileSelectorGUI, ilGlossarySelectorGUI, ilTaxonomyExplorer, ilScorm2004EditorExplorer, ilSkillExplorer, ilLMEditorExplorer, ilLMExplorer, ilMediaPoolExplorer, 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, ilPersonalSkillExplorer, ilSkillExplorer, ilECSNodeMappingLocalExplorer, ilECSNodeMappingCmsExplorer, ilTaxonomyExplorer, ilForumMoveTopicsExplorer, and ilScorm2004EditorExplorer.
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 ilMailExplorer\getOutput(), 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 |
Reimplemented in ilSkillExplorer, and ilPersonalSkillExplorer.
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, ilPersonalSkillExplorer, ilSkillExplorer, ilMailExplorer, ilTaxonomyExplorer, ilRepositoryExplorer, ilLMEditorExplorer, ilAdministrationExplorer, ilShopRepositoryExplorer, ilLMTOCExplorer, and ilCopyWizardExplorer.
Definition at line 1144 of file class.ilExplorer.php.
References ilUtil\getImagePath().
Referenced by ilScorm2004EditorExplorer\formatObject(), ilECSNodeMappingCmsExplorer\formatObject(), ilECSNodeMappingLocalExplorer\formatObject(), and formatObject().
ilExplorer::getImageAlt | ( | $a_default_text, | |
$a_type = "" , |
|||
$a_obj_id = "" |
|||
) |
get image alt text
Reimplemented in ilWorkspaceFolderExplorer, ilBookmarkExplorer, and ilLMEditorExplorer.
Definition at line 1152 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 1343 of file class.ilExplorer.php.
Referenced by ilBookmarkExplorer\setOutput(), ilWorkspaceFolderExplorer\setOutput(), ilMailExplorer\setOutput(), ilSCORMExplorer\setOutput(), and setOutput().
ilExplorer::getMaximumTreeDepth | ( | ) |
Get maximum tree depth.
@return |
Reimplemented in ilPersonalSkillExplorer.
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 1160 of file class.ilExplorer.php.
Referenced by ilWorkspaceFolderExplorer\formatHeader(), ilForumMoveTopicsExplorer\formatObject(), ilECSNodeMappingCmsExplorer\formatObject(), ilECSNodeMappingLocalExplorer\formatObject(), ilWorkspaceExplorer\formatObject(), ilPasteIntoMultipleItemsExplorer\formatObject(), and formatObject().
ilExplorer::getOutput | ( | ) |
Creates output recursive method public.
Reimplemented in ilWorkspaceFolderExplorer, ilShopExplorer, ilShopPublicSectionSelector, ilPublicSectionSelector, and ilMailExplorer.
Definition at line 790 of file class.ilExplorer.php.
References $_GET, $_POST, $ilBench, $lng, $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.
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 911 of file class.ilExplorer.php.
Referenced by ilMailExplorer\getOutput(), 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 ilMailExplorer\getOutput(), 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(), ilPoolSelectorGUI\__construct(), ilShopRepositoryExplorer\__construct(), ilPersonalSkillExplorer\__construct(), ilCopyWizardExplorer\__construct(), ilPaymentObjectSelector\__construct(), ilAdministrationExplorer\ilAdministrationExplorer(), ilAICCExplorer\ilAICCExplorer(), ilBookmarkExplorer\ilBookmarkExplorer(), ilConditionSelector\ilConditionSelector(), ilHACPExplorer\ilHACPExplorer(), ilLMExplorer\ilLMExplorer(), ilLMMenuObjectSelector\ilLMMenuObjectSelector(), ilIntLinkRepItemExplorer\ilLMMenuObjectSelector(), ilMaterialExplorer\ilMaterialExplorer(), ilMediaPoolExplorer\ilMediaPoolExplorer(), ilObjectSelector\ilObjectSelector(), ilRepositoryCopySelector\ilRepositoryCopySelector(), ilRepositoryExplorer\ilRepositoryExplorer(), ilRepositoryLinkSelector\ilRepositoryLinkSelector(), ilRoleDesktopItemSelector\ilRoleDesktopItemSelector(), ilScorm2004EditorExplorer\ilScorm2004EditorExplorer(), ilSCORMExplorer\ilSCORMExplorer(), ilSearchRootSelector\ilSearchRootSelector(), ilSkillExplorer\ilSkillExplorer(), 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 1320 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, ilPersonalSkillExplorer, ilSkillExplorer, ilTaxonomyExplorer, ilAdministrationExplorer, ilSolutionExplorer, ilScorm2004EditorExplorer, ilLMTOCExplorer, ilIntLinkRepItemExplorer, 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, ilPasteIntoMultipleItemsExplorer, 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 ilScorm2004EditorExplorer\formatObject(), 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 ilMailExplorer, ilWorkspaceFolderExplorer, and ilBookmarkExplorer.
Definition at line 1447 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(), ilRepositorySelectorInputGUI\showRepositorySelection(), 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 1486 of file class.ilExplorer.php.
Referenced by ilShopRepositoryExplorer\__construct(), ilECSNodeMappingLocalExplorer\__construct(), ilForumMoveTopicsExplorer\__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(), ilForumMoveTopicsExplorer\__construct(), ilPasteIntoMultipleItemsExplorer\__construct(), ilPersonalSkillExplorer\__construct(), ilWorkspaceExplorer\__construct(), ilPaymentObjectSelector\__construct(), ilContainerSelectionExplorer\__construct(), ilConditionSelector\ilConditionSelector(), ilExplorer(), ilMaterialExplorer\ilMaterialExplorer(), ilRepositoryCopySelector\ilRepositoryCopySelector(), ilRepositoryExplorer\ilRepositoryExplorer(), ilRepositoryLinkSelector\ilRepositoryLinkSelector(), ilRoleDesktopItemSelector\ilRoleDesktopItemSelector(), ilSearchRootSelector\ilSearchRootSelector(), ilShopExplorer\ilShopExplorer(), ilSkillExplorer\ilSkillExplorer(), ilSolutionExplorer\ilSolutionExplorer(), and ilTableOfContentsExplorer\ilTableOfContentsExplorer().
ilExplorer::setFrameTarget | ( | $a_target | ) |
set target frame or not frame?
string | public |
Definition at line 1270 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(), ilPersonalSkillExplorer\__construct(), ilAICCExplorer\ilAICCExplorer(), ilHACPExplorer\ilHACPExplorer(), ilSCORMExplorer\ilSCORMExplorer(), and ilSkillExplorer\ilSkillExplorer().
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 ilTaxonomyExplorer\__construct(), ilPersonalSkillExplorer\__construct(), ilLMExplorer\ilLMExplorer(), ilMediaPoolExplorer\ilMediaPoolExplorer(), ilScorm2004EditorExplorer\ilScorm2004EditorExplorer(), and ilSkillExplorer\ilSkillExplorer().
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(), ilTaxonomyExplorer\__construct(), ilForumMoveTopicsExplorer\__construct(), ilPasteIntoMultipleItemsExplorer\__construct(), ilPersonalSkillExplorer\__construct(), ilWorkspaceExplorer\__construct(), ilPaymentObjectSelector\__construct(), ilContainerSelectionExplorer\__construct(), ilShopPublicSectionSelector\__construct(), ilAdministrationExplorer\ilAdministrationExplorer(), ilConditionSelector\ilConditionSelector(), ilLMExplorer\ilLMExplorer(), ilLMMenuObjectSelector\ilLMMenuObjectSelector(), ilMaterialExplorer\ilMaterialExplorer(), ilMediaPoolExplorer\ilMediaPoolExplorer(), ilObjectSelector\ilObjectSelector(), ilPublicSectionSelector\ilPublicSectionSelector(), ilRepositoryCopySelector\ilRepositoryCopySelector(), ilRepositoryExplorer\ilRepositoryExplorer(), ilRepositoryLinkSelector\ilRepositoryLinkSelector(), ilRoleDesktopItemSelector\ilRoleDesktopItemSelector(), ilScorm2004EditorExplorer\ilScorm2004EditorExplorer(), ilSearchRootSelector\ilSearchRootSelector(), ilSkillExplorer\ilSkillExplorer(), 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(), ilObjContentObjectGUI\explorer(), ilObjTaxonomyGUI\getTreeHTML(), ilPersonalSkillsGUI\listSkillsForAdd(), ilObjWorkspaceFolderGUI\render(), ilShopPurchaseGUI\showDemoVersion(), ilMailGUI\showMenu(), ilObjWorkspaceFolderGUI\showMoveIntoObjectTree(), ilObjTaxonomyGUI\showTree(), and ilObjSkillManagementGUI\showTree().
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(), ilPersonalSkillExplorer\__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.
Referenced by ilObjMediaPoolGUI\explorer().
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.
ilRepositoryExplorerGUI)
Reimplemented in ilIntLinkRepItemExplorer, ilPaymentObjectSelector, ilSolutionExplorer, ilSearchRootSelector, 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, ilTaxonomyExplorer, and ilWorkspaceExplorer.
Definition at line 1532 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(), ilMediaPoolExplorer\formatHeader(), ilLMExplorer\formatHeader(), ilLMEditorExplorer\formatHeader(), ilPublicSectionSelector\formatHeader(), ilScorm2004EditorExplorer\formatHeader(), ilSCORMExplorer\formatHeader(), ilSkillExplorer\formatHeader(), ilTaxonomyExplorer\formatHeader(), ilGlossarySelectorGUI\formatHeader(), ilRoleDesktopItemSelector\formatHeader(), ilFileSelectorGUI\formatHeader(), ilPersonalSkillExplorer\formatHeader(), ilLMMenuObjectSelector\formatHeader(), ilContainerSelectionExplorer\formatHeader(), ilPoolSelectorGUI\formatHeader(), ilConditionSelector\formatHeader(), ilRepositoryCopySelector\formatHeader(), ilMaterialExplorer\formatHeader(), ilRepositoryLinkSelector\formatHeader(), ilSearchRootSelector\formatHeader(), ilSolutionExplorer\formatHeader(), ilBookmarkExplorer\formatHeader(), ilIntLinkRepItemExplorer\formatHeader(), ilForumMoveTopicsExplorer\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 ilBookmarkExplorer\buildLinkTarget(), buildLinkTarget(), ilHACPExplorer\formatObject(), ilForumMoveTopicsExplorer\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(), ilForumMoveTopicsExplorer\__construct(), ilPasteIntoMultipleItemsExplorer\__construct(), ilPaymentObjectSelector\__construct(), ilContainerSelectionExplorer\__construct(), ilForumMoveTopicsExplorer\formatHeader(), 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().