ILIAS
Release_4_2_x_branch Revision 61807
|
Class ilExplorer class for explorer view in admin frame. More...
Public Member Functions | |
ilExplorer ($a_target) | |
Constructor public. | |
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 | |
$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 1339 of file class.ilExplorer.php.
Referenced by ilForumMoveTopicsExplorer\__construct(), ilPasteIntoMultipleItemsExplorer\__construct(), ilPersonalSkillExplorer\__construct(), ilWorkspaceExplorer\__construct(), ilContainerSelectionExplorer\__construct(), ilConditionSelector\ilConditionSelector(), ilExplorer(), ilLMMenuObjectSelector\ilLMMenuObjectSelector(), ilMaterialExplorer\ilMaterialExplorer(), ilPaymentObjectSelector\ilPaymentObjectSelector(), ilRepositoryCopySelector\ilRepositoryCopySelector(), ilRepositoryExplorer\ilRepositoryExplorer(), ilRepositoryLinkSelector\ilRepositoryLinkSelector(), ilRoleDesktopItemSelector\ilRoleDesktopItemSelector(), ilSearchRootSelector\ilSearchRootSelector(), ilShopExplorer\ilShopExplorer(), ilShopRepositoryExplorer\ilShopRepositoryExplorer(), 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 ilBookmarkExplorer, ilWorkspaceFolderExplorer, and ilIntLinkRepItemExplorer.
Definition at line 1169 of file class.ilExplorer.php.
Referenced by ilPasteIntoMultipleItemsExplorer\formatObject(), ilForumMoveTopicsExplorer\formatObject(), ilWorkspaceExplorer\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, ilBookmarkExplorer, ilSkillExplorer, ilPersonalSkillExplorer, ilRepositoryExplorer, ilTableOfContentsExplorer, ilSolutionExplorer, ilSearchRootSelector, ilAdministrationExplorer, ilIntLinkRepItemExplorer, ilMaterialExplorer, ilRepositoryCopySelector, ilRepositoryLinkSelector, ilConditionSelector, ilLMMenuObjectSelector, ilPaymentObjectSelector, ilRoleDesktopItemSelector, ilObjectSelector, and ilShopPublicSectionSelector.
Definition at line 1186 of file class.ilExplorer.php.
Referenced by ilHACPExplorer\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, ilPersonalSkillExplorer, ilTableOfContentsExplorer, ilSkillExplorer, ilLMTOCExplorer, ilScorm2004EditorExplorer, ilLMEditorExplorer, ilSearchRootSelector, ilSolutionExplorer, ilMaterialExplorer, ilIntLinkRepItemExplorer, ilRepositoryCopySelector, ilRepositoryLinkSelector, ilAdministrationExplorer, ilRepositoryExplorer, ilShopRepositoryExplorer, ilLMMenuObjectSelector, ilConditionSelector, ilPoolSelectorGUI, ilShopPublicSectionSelector, ilRoleDesktopItemSelector, ilPaymentObjectSelector, ilStyleScopeExplorer, ilObjectSelector, ilFileSelectorGUI, and ilGlossarySelectorGUI.
Definition at line 1142 of file class.ilExplorer.php.
References $target.
Referenced by ilLMExplorer\formatHeader(), ilHACPExplorer\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 1153 of file class.ilExplorer.php.
Referenced by ilPasteIntoMultipleItemsExplorer\formatObject(), ilForumMoveTopicsExplorer\formatObject(), ilWorkspaceExplorer\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 1177 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 ilSkillExplorer, ilPersonalSkillExplorer, ilIntLinkRepItemExplorer, ilTableOfContentsExplorer, ilLMEditorExplorer, and ilLMTOCExplorer.
Definition at line 1161 of file class.ilExplorer.php.
Referenced by ilPasteIntoMultipleItemsExplorer\formatObject(), ilForumMoveTopicsExplorer\formatObject(), ilWorkspaceExplorer\formatObject(), and formatObject().
ilExplorer::checkFilter | ( | $a_item | ) |
check if item is in filter private
string |
Definition at line 1468 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 409 of file class.ilExplorer.php.
Referenced by 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 1250 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 1199 of file class.ilExplorer.php.
References getAsynchExpanding().
Referenced by ilPasteIntoMultipleItemsExplorer\formatObject(), ilForumMoveTopicsExplorer\formatObject(), ilWorkspaceExplorer\formatObject(), and formatObject().
ilExplorer::delFilter | ( | $a_item | ) |
removes item from the filter public
string | object type to remove |
Definition at line 1374 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 1444 of file class.ilExplorer.php.
Referenced by ilPublicSectionSelector\ilPublicSectionSelector().
ilExplorer::forceExpanded | ( | $a_obj_id | ) |
force expansion of node
Reimplemented in ilRepositoryExplorer, ilShopRepositoryExplorer, ilTableOfContentsExplorer, ilAdministrationExplorer, ilSkillExplorer, ilLMEditorExplorer, ilPersonalSkillExplorer, ilLMTOCExplorer, ilScorm2004EditorExplorer, ilMaterialExplorer, ilPoolSelectorGUI, and ilFileSelectorGUI.
Definition at line 745 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, ilWorkspaceExplorer, ilForumMoveTopicsExplorer, ilPasteIntoMultipleItemsExplorer, ilIntLinkRepItemExplorer, ilPoolSelectorGUI, ilPersonalSkillExplorer, ilFileSelectorGUI, ilGlossarySelectorGUI, ilScorm2004EditorExplorer, ilSkillExplorer, ilLMEditorExplorer, ilLMExplorer, ilMediaPoolExplorer, ilAdministrationExplorer, and ilStyleScopeExplorer.
Definition at line 941 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, ilWorkspaceExplorer, ilPersonalSkillExplorer, ilSkillExplorer, ilForumMoveTopicsExplorer, ilPasteIntoMultipleItemsExplorer, and ilScorm2004EditorExplorer.
Definition at line 953 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 226 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 568 of file class.ilExplorer.php.
Referenced by setOutput().
ilExplorer::getFilterMode | ( | ) |
get filter mode
Definition at line 536 of file class.ilExplorer.php.
References $filter_mode.
Referenced by checkFilter().
ilExplorer::getImage | ( | $a_name, | |
$a_type = "" , |
|||
$a_obj_id = "" |
|||
) |
get image path (may be overwritten by derived classes)
Reimplemented in ilPersonalSkillExplorer, ilMailExplorer, ilRepositoryExplorer, ilSkillExplorer, ilShopRepositoryExplorer, ilLMEditorExplorer, ilAdministrationExplorer, and ilCopyWizardExplorer.
Definition at line 1114 of file class.ilExplorer.php.
References ilUtil\getImagePath().
Referenced by ilScorm2004EditorExplorer\formatObject(), and formatObject().
ilExplorer::getImageAlt | ( | $a_default_text, | |
$a_type = "" , |
|||
$a_obj_id = "" |
|||
) |
get image alt text
Reimplemented in ilBookmarkExplorer, ilWorkspaceFolderExplorer, and ilLMEditorExplorer.
Definition at line 1122 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 1313 of file class.ilExplorer.php.
Referenced by ilWorkspaceFolderExplorer\setOutput(), ilBookmarkExplorer\setOutput(), ilSCORMExplorer\setOutput(), ilMailExplorer\setOutput(), and setOutput().
ilExplorer::getMaximumTreeDepth | ( | ) |
Get maximum tree depth.
@return |
Reimplemented in ilPersonalSkillExplorer.
Definition at line 756 of file class.ilExplorer.php.
Referenced by getOutput().
ilExplorer::getNodeStyleClass | ( | $a_id, | |
$a_type | |||
) |
get style class for node
Definition at line 1130 of file class.ilExplorer.php.
Referenced by ilWorkspaceFolderExplorer\formatHeader(), ilPasteIntoMultipleItemsExplorer\formatObject(), ilForumMoveTopicsExplorer\formatObject(), ilWorkspaceExplorer\formatObject(), and formatObject().
ilExplorer::getOutput | ( | ) |
Creates output recursive method public.
Reimplemented in ilWorkspaceFolderExplorer, ilShopExplorer, ilShopPublicSectionSelector, ilPublicSectionSelector, and ilMailExplorer.
Definition at line 768 of file class.ilExplorer.php.
References $_GET, $_POST, $ilBench, $lng, $tpl, createLines(), formatHeader(), formatObject(), ilUtil\getImagePath(), getMaximumTreeDepth(), ilUtil\getStyleSheetLocation(), getTitle(), getUseStandardFrame(), handleListEndTags(), handleListStartTags(), and ilYuiUtil\initConnection().
ilExplorer::getRoot | ( | ) |
get root id
public
Definition at line 302 of file class.ilExplorer.php.
References $root_id.
Referenced by setExpand(), and setOutput().
ilExplorer::getTitle | ( | ) |
Get title.
Definition at line 277 of file class.ilExplorer.php.
References $title.
Referenced by getOutput().
ilExplorer::getTitleLength | ( | ) |
Get max title length.
Definition at line 267 of file class.ilExplorer.php.
ilExplorer::getTreeLead | ( | ) |
Get tree leading content.
Definition at line 484 of file class.ilExplorer.php.
ilExplorer::getUseStandardFrame | ( | ) |
Get use standard explorer frame.
Definition at line 557 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 881 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 906 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 399 of file class.ilExplorer.php.
ilExplorer::ilExplorer | ( | $a_target | ) |
Constructor public.
string | scriptname |
Definition at line 166 of file class.ilExplorer.php.
References $ilias, addFilter(), IL_FM_NEGATIVE, setFiltered(), setFilterMode(), and setTitleLength().
Referenced by ilGlossarySelectorGUI\__construct(), ilFileSelectorGUI\__construct(), ilPoolSelectorGUI\__construct(), ilPersonalSkillExplorer\__construct(), ilCopyWizardExplorer\__construct(), ilAdministrationExplorer\ilAdministrationExplorer(), ilAICCExplorer\ilAICCExplorer(), ilBookmarkExplorer\ilBookmarkExplorer(), ilConditionSelector\ilConditionSelector(), ilHACPExplorer\ilHACPExplorer(), ilLMExplorer\ilLMExplorer(), ilIntLinkRepItemExplorer\ilLMMenuObjectSelector(), ilLMMenuObjectSelector\ilLMMenuObjectSelector(), ilMailExplorer\ilMailExplorer(), ilMaterialExplorer\ilMaterialExplorer(), ilMediaPoolExplorer\ilMediaPoolExplorer(), ilObjectSelector\ilObjectSelector(), ilPaymentObjectSelector\ilPaymentObjectSelector(), ilRepositoryCopySelector\ilRepositoryCopySelector(), ilRepositoryExplorer\ilRepositoryExplorer(), ilRepositoryLinkSelector\ilRepositoryLinkSelector(), ilRoleDesktopItemSelector\ilRoleDesktopItemSelector(), ilScorm2004EditorExplorer\ilScorm2004EditorExplorer(), ilSCORMExplorer\ilSCORMExplorer(), ilSearchRootSelector\ilSearchRootSelector(), ilShopRepositoryExplorer\ilShopRepositoryExplorer(), ilSkillExplorer\ilSkillExplorer(), ilSolutionExplorer\ilSolutionExplorer(), and ilStyleScopeExplorer\ilStyleScopeExplorer().
ilExplorer::initItemCounter | ( | $a_number | ) |
Init item counter.
public
int | number |
Definition at line 238 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 1290 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, ilAdministrationExplorer, ilSolutionExplorer, ilScorm2004EditorExplorer, ilIntLinkRepItemExplorer, ilMaterialExplorer, ilRepositoryCopySelector, ilRepositoryLinkSelector, ilConditionSelector, ilShopPublicSectionSelector, ilLMMenuObjectSelector, ilLMTOCExplorer, ilContainerSelectionExplorer, ilPoolSelectorGUI, ilPaymentObjectSelector, ilSearchRootSelector, ilLMExplorer, ilRoleDesktopItemSelector, ilObjectSelector, ilAICCExplorer, ilFileSelectorGUI, ilCopyWizardExplorer, and ilGlossarySelectorGUI.
Definition at line 496 of file class.ilExplorer.php.
Referenced by formatObject().
ilExplorer::isVisible | ( | $a_ref_id, | |
$a_type | |||
) |
Reimplemented in ilRepositoryExplorer, ilShopRepositoryExplorer, ilTableOfContentsExplorer, ilSCORMExplorer, ilLMTOCExplorer, ilAdministrationExplorer, ilContainerSelectionExplorer, and ilWorkspaceExplorer.
Definition at line 453 of file class.ilExplorer.php.
References $ilBench.
Referenced by setOutput().
ilExplorer::modifyChilds | ( | $a_parent_id, | |
$a_objects | |||
) |
Reimplemented in ilAdministrationExplorer.
Definition at line 727 of file class.ilExplorer.php.
Referenced by setOutput().
ilExplorer::outputIcons | ( | $a_icons | ) |
output icons
boolean | $a_icons | output icons true/false |
Definition at line 429 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 216 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 441 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 1417 of file class.ilExplorer.php.
References $_SESSION, $expand_variable, and getRoot().
Referenced by ilShopPublicSectionSelector\__construct(), assQuestionGUI\outSolutionExplorer(), ilBasicSkillGUI\selectLevelTrigger(), ilConditionHandlerInterface\selector(), ilSCORMExplorer\setOutput(), ilObjContentObjectGUI\showEntrySelector(), ilPaymentStatisticGUI\showObjectSelector(), ilPaymentObjectGUI\showObjectSelector(), ilObjPaymentSettingsGUI\showObjectSelectorObject(), ilRepositorySelectorInputGUI\showRepositorySelection(), ilSearchGUI\showSelectRoot(), 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 378 of file class.ilExplorer.php.
Referenced by ilShopPublicSectionSelector\__construct(), ilObjForumGUI\moveThreadsObject(), and ilLMPresentationGUI\showTableOfContents().
ilExplorer::setFiltered | ( | $a_bool | ) |
active/deactivate the filter public
boolean |
Definition at line 1456 of file class.ilExplorer.php.
Referenced by ilForumMoveTopicsExplorer\__construct(), ilPasteIntoMultipleItemsExplorer\__construct(), ilWorkspaceExplorer\__construct(), ilContainerSelectionExplorer\__construct(), ilConditionSelector\ilConditionSelector(), ilExplorer(), ilMaterialExplorer\ilMaterialExplorer(), ilObjectSelector\ilObjectSelector(), ilPaymentObjectSelector\ilPaymentObjectSelector(), ilRepositoryCopySelector\ilRepositoryCopySelector(), ilRepositoryExplorer\ilRepositoryExplorer(), ilRepositoryLinkSelector\ilRepositoryLinkSelector(), ilRoleDesktopItemSelector\ilRoleDesktopItemSelector(), ilSearchRootSelector\ilSearchRootSelector(), ilShopExplorer\ilShopExplorer(), ilShopRepositoryExplorer\ilShopRepositoryExplorer(), 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 526 of file class.ilExplorer.php.
Referenced by ilForumMoveTopicsExplorer\__construct(), ilPasteIntoMultipleItemsExplorer\__construct(), ilPersonalSkillExplorer\__construct(), ilWorkspaceExplorer\__construct(), ilContainerSelectionExplorer\__construct(), ilConditionSelector\ilConditionSelector(), ilExplorer(), ilMaterialExplorer\ilMaterialExplorer(), ilPaymentObjectSelector\ilPaymentObjectSelector(), ilRepositoryCopySelector\ilRepositoryCopySelector(), ilRepositoryExplorer\ilRepositoryExplorer(), ilRepositoryLinkSelector\ilRepositoryLinkSelector(), ilRoleDesktopItemSelector\ilRoleDesktopItemSelector(), ilSearchRootSelector\ilSearchRootSelector(), ilShopExplorer\ilShopExplorer(), ilShopRepositoryExplorer\ilShopRepositoryExplorer(), ilSkillExplorer\ilSkillExplorer(), ilSolutionExplorer\ilSolutionExplorer(), and ilTableOfContentsExplorer\ilTableOfContentsExplorer().
ilExplorer::setFrameTarget | ( | $a_target | ) |
set target frame or not frame?
string | public |
Definition at line 1240 of file class.ilExplorer.php.
Referenced by 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 388 of file class.ilExplorer.php.
ilExplorer::setOrderColumn | ( | $a_column | ) |
set the order column public
string | name of order column |
Definition at line 314 of file class.ilExplorer.php.
Referenced by 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 324 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 582 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 356 of file class.ilExplorer.php.
ilExplorer::setPostSort | ( | $a_sort | ) |
process post sorting
boolean | $a_sort | true / false |
Definition at line 516 of file class.ilExplorer.php.
Referenced by 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 289 of file class.ilExplorer.php.
ilExplorer::setSessionExpandVariable | ( | $a_var_name = "expand" | ) |
set name of expand session variable
string | $a_var_name | variable name |
Definition at line 419 of file class.ilExplorer.php.
Referenced by ilForumMoveTopicsExplorer\__construct(), ilPasteIntoMultipleItemsExplorer\__construct(), ilPersonalSkillExplorer\__construct(), ilWorkspaceExplorer\__construct(), ilContainerSelectionExplorer\__construct(), ilShopPublicSectionSelector\__construct(), ilAdministrationExplorer\ilAdministrationExplorer(), ilConditionSelector\ilConditionSelector(), ilLMExplorer\ilLMExplorer(), ilLMMenuObjectSelector\ilLMMenuObjectSelector(), ilMaterialExplorer\ilMaterialExplorer(), ilMediaPoolExplorer\ilMediaPoolExplorer(), ilObjectSelector\ilObjectSelector(), ilPaymentObjectSelector\ilPaymentObjectSelector(), ilPublicSectionSelector\ilPublicSectionSelector(), ilRepositoryCopySelector\ilRepositoryCopySelector(), ilRepositoryExplorer\ilRepositoryExplorer(), ilRepositoryLinkSelector\ilRepositoryLinkSelector(), ilRoleDesktopItemSelector\ilRoleDesktopItemSelector(), ilScorm2004EditorExplorer\ilScorm2004EditorExplorer(), ilSearchRootSelector\ilSearchRootSelector(), ilShopRepositoryExplorer\ilShopRepositoryExplorer(), 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 341 of file class.ilExplorer.php.
Referenced by ilObjContentObjectGUI\editPublicSection(), ilHACPPresentationGUI\explorer(), ilAICCPresentationGUI\explorer(), ilSAHSPresentationGUI\explorer(), ilSCORMPresentationGUI\explorer(), ilObjContentObjectGUI\explorer(), ilPersonalSkillsGUI\listSkillsForAdd(), ilObjWorkspaceFolderGUI\render(), ilShopPurchaseGUI\showDemoVersion(), ilMailGUI\showMenu(), ilObjWorkspaceFolderGUI\showMoveIntoObjectTree(), and ilObjSkillManagementGUI\showTree().
ilExplorer::setTitle | ( | $a_val | ) |
Set title.
title |
Definition at line 248 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 258 of file class.ilExplorer.php.
Referenced by 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 474 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 547 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, ilObjectSelector, ilFileSelectorGUI, and ilGlossarySelectorGUI.
Definition at line 737 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 1502 of file class.ilExplorer.php.
References ilUtil\sortArray().
Referenced by setOutput().
ilExplorer::$expand_all = false |
Definition at line 150 of file class.ilExplorer.php.
ilExplorer::$expand_target |
Definition at line 93 of file class.ilExplorer.php.
ilExplorer::$expand_variable |
Definition at line 115 of file class.ilExplorer.php.
Referenced by ilWorkspaceFolderExplorer\setExpand(), and setExpand().
ilExplorer::$expanded |
Definition at line 72 of file class.ilExplorer.php.
ilExplorer::$filter_mode |
Definition at line 143 of file class.ilExplorer.php.
Referenced by getFilterMode().
ilExplorer::$filtered = false |
Definition at line 136 of file class.ilExplorer.php.
ilExplorer::$format_options |
Definition at line 37 of file class.ilExplorer.php.
ilExplorer::$ilias |
Definition at line 23 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(), ilGlossarySelectorGUI\formatHeader(), ilRoleDesktopItemSelector\formatHeader(), ilFileSelectorGUI\formatHeader(), ilObjectSelector\formatHeader(), ilPersonalSkillExplorer\formatHeader(), ilContainerSelectionExplorer\formatHeader(), ilLMMenuObjectSelector\formatHeader(), ilPoolSelectorGUI\formatHeader(), ilConditionSelector\formatHeader(), ilRepositoryCopySelector\formatHeader(), ilMaterialExplorer\formatHeader(), ilRepositoryLinkSelector\formatHeader(), ilSearchRootSelector\formatHeader(), ilSolutionExplorer\formatHeader(), ilBookmarkExplorer\formatHeader(), ilPaymentObjectSelector\formatHeader(), ilIntLinkRepItemExplorer\formatHeader(), ilPasteIntoMultipleItemsExplorer\formatHeader(), ilForumMoveTopicsExplorer\formatHeader(), ilShopRepositoryExplorer\formatHeader(), ilRepositoryExplorer\formatHeader(), and ilExplorer().
ilExplorer::$is_clickable |
Definition at line 122 of file class.ilExplorer.php.
ilExplorer::$order_column |
Definition at line 79 of file class.ilExplorer.php.
ilExplorer::$order_direction = "asc" |
Definition at line 86 of file class.ilExplorer.php.
ilExplorer::$output |
Definition at line 30 of file class.ilExplorer.php.
ilExplorer::$output_icons |
Definition at line 108 of file class.ilExplorer.php.
ilExplorer::$params_get |
Definition at line 65 of file class.ilExplorer.php.
ilExplorer::$post_sort |
Definition at line 129 of file class.ilExplorer.php.
ilExplorer::$rbac_check |
Definition at line 100 of file class.ilExplorer.php.
ilExplorer::$root_id = null |
Definition at line 157 of file class.ilExplorer.php.
Referenced by getRoot().
ilExplorer::$target |
Definition at line 51 of file class.ilExplorer.php.
Referenced by ilBookmarkExplorer\buildLinkTarget(), buildLinkTarget(), ilHACPExplorer\formatObject(), ilPasteIntoMultipleItemsExplorer\formatObject(), ilForumMoveTopicsExplorer\formatObject(), ilAICCExplorer\formatObject(), ilWorkspaceExplorer\formatObject(), ilSCORMExplorer\formatObject(), and formatObject().
ilExplorer::$target_get |
Definition at line 58 of file class.ilExplorer.php.
ilExplorer::$tree |
Definition at line 44 of file class.ilExplorer.php.
Referenced by ilGlossarySelectorGUI\__construct(), ilFileSelectorGUI\__construct(), ilPoolSelectorGUI\__construct(), ilForumMoveTopicsExplorer\__construct(), ilPasteIntoMultipleItemsExplorer\__construct(), ilContainerSelectionExplorer\__construct(), ilPasteIntoMultipleItemsExplorer\formatHeader(), ilForumMoveTopicsExplorer\formatHeader(), ilShopRepositoryExplorer\formatHeader(), ilRepositoryExplorer\formatHeader(), ilAdministrationExplorer\ilAdministrationExplorer(), ilConditionSelector\ilConditionSelector(), ilIntLinkRepItemExplorer\ilLMMenuObjectSelector(), ilLMMenuObjectSelector\ilLMMenuObjectSelector(), ilMaterialExplorer\ilMaterialExplorer(), ilObjectSelector\ilObjectSelector(), ilPaymentObjectSelector\ilPaymentObjectSelector(), ilRepositoryCopySelector\ilRepositoryCopySelector(), ilRepositoryExplorer\ilRepositoryExplorer(), ilRepositoryLinkSelector\ilRepositoryLinkSelector(), ilRoleDesktopItemSelector\ilRoleDesktopItemSelector(), ilSearchRootSelector\ilSearchRootSelector(), ilShopExplorer\ilShopExplorer(), ilShopRepositoryExplorer\ilShopRepositoryExplorer(), ilSolutionExplorer\ilSolutionExplorer(), ilShopRepositoryExplorer\isClickable(), ilRepositoryExplorer\isClickable(), ilShopRepositoryExplorer\isVisible(), ilRepositoryExplorer\isVisible(), ilShopExplorer\setOutput(), ilShopRepositoryExplorer\showChilds(), and ilRepositoryExplorer\showChilds().
ilExplorer::$use_standard_frame = false |
Definition at line 159 of file class.ilExplorer.php.
Referenced by getUseStandardFrame().