ILIAS
release_8 Revision v8.23
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (string $a_target, ilObjSCORMLearningModule &$a_slm_obj) | |
getItem (int $a_node_id) | |
getIconImagePathPrefix () | |
getNodesToSkip () | |
formatHeader (ilTemplate $tpl, $a_obj_id, array $a_option) | |
overwritten method from base class More... | |
createTarget (string $a_type, $a_node_id, bool $a_highlighted_subtree=false, bool $a_append_anch=true) | |
Creates Get Parameter. More... | |
setOutput ($a_parent_id, int $a_depth=1, int $a_obj_id=0, $a_highlighted_subtree=false) | |
isVisible ($a_ref_id, string $a_type) | |
getOutput (bool $jsApi=false) | |
Creates output template. More... | |
createOutput (array $option, bool $jsApi) | |
recursive creation of output templates More... | |
isClickable (string $type, int $ref_id=0) | |
can i click on the module name More... | |
getOutputIcons (\ilTemplate $tpl, array $a_option, int $a_node_id, string $scormtype="sco") | |
tpl is filled with option state More... | |
![]() | |
setId (string $a_val) | |
getId () | |
setAsynchExpanding (bool $a_val) | |
getAsynchExpanding () | |
initItemCounter (int $a_number) | |
setTitle (string $a_val) | |
setTitleLength (int $a_length) | |
getTitleLength () | |
getTitle () | |
setRoot ($a_root_id) | |
getRoot () | |
setOrderColumn (string $a_column) | |
setOrderDirection (string $a_direction) | |
setTargetGet (string $a_target_get) | |
setParamsGet (array $a_params_get) | |
setExpandTarget (string $a_exp_target) | |
target script for expand icons More... | |
setFrameUpdater (string $a_up_frame, string $a_up_script, string $a_params="") | |
highlightNode (string $a_id) | |
checkPermissions (bool $a_check) | |
setSessionExpandVariable (string $a_var_name="expand") | |
outputIcons (bool $a_icons) | |
setClickable (string $a_type, bool $a_clickable) | |
isVisible ( $a_ref_id, string $a_type) | |
setTreeLead (string $a_val) | |
getTreeLead () | |
isClickable (string $type, int $ref_id=0) | |
setPostSort (bool $a_sort) | |
setFilterMode (int $a_mode=IL_FM_NEGATIVE) | |
getFilterMode () | |
setUseStandardFrame (bool $a_val) | |
Set use standard frame. More... | |
getUseStandardFrame () | |
getChildsOfNode ($a_parent_id) | |
setOutput ( $a_parent_id, int $a_depth=1, int $a_obj_id=0, bool $a_highlighted_subtree=false) | |
Creates output for explorer view in admin menue recursive method. More... | |
modifyChilds ( $a_parent_id, array $a_objects) | |
showChilds ($a_parent_id) | |
determines wether the childs of an object should be shown or not note: this standard implementation always returns true but it could be overwritten by derived classes (e.g. More... | |
forceExpanded ($a_obj_id) | |
force expansion of node More... | |
getMaximumTreeDepth () | |
getOutput () | |
handleListEndTags (ilTemplate $a_tpl_tree, int $a_cur_depth, int $a_item_depth) | |
handle list end tags ( and ) More... | |
handleListStartTags (ilTemplate $a_tpl_tree, int $a_cur_depth, int $a_item_depth) | |
handle list start tags ( More... | |
formatHeader (ilTemplate $tpl, $a_obj_id, array $a_option) | |
formatObject (ilTemplate $tpl, $a_node_id, array $a_option, $a_obj_id=0) | |
getImage (string $a_name, string $a_type="", $a_obj_id="") | |
getImageAlt (string $a_default_text, string $a_type="", $a_obj_id="") | |
getNodeStyleClass ( $a_id, string $a_type) | |
buildLinkTarget ( $a_node_id, string $a_type) | |
buildOnClick ( $a_node_id, string $a_type, string $a_title) | |
buildTitle (string $a_title, $a_id, string $a_type) | |
buildDescription (string $a_desc, $a_id, string $a_type) | |
buildSelect ($a_node_id, string $a_type) | |
standard implementation for adding an option select box between image and title More... | |
buildFrameTarget (string $a_type, $a_child=0, $a_obj_id=0) | |
createTarget (string $a_type, $a_node_id, bool $a_highlighted_subtree=false, bool $a_append_anch=true) | |
setFrameTarget (string $a_target) | |
createLines (int $a_depth) | |
is_in_array (int $a_start, int $a_depth) | |
getIndex (array $a_data) | |
addFilter (string $a_item) | |
delFilter (string $a_item) | |
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,...) More... | |
forceExpandAll (bool $a_mode, bool $a_show_minus=true) | |
force expandAll. More... | |
setFiltered (bool $a_bool) | |
checkFilter (string $a_item) | |
sortNodes (array $a_nodes, $a_parent_obj_id) | |
sort nodes and put adm object to the end of sorted array More... | |
Data Fields | |
ilObjSCORMLearningModule | $slm_obj |
id of root folder More... | |
![]() | |
string | $id = "" |
string | $output = "" |
array | $format_options = [] |
ilTree | $tree |
string | $target = "" |
string | $target_get = "" |
string | $params_get = "" |
array | $expanded = [] |
string | $order_column = "" |
string | $order_direction = "asc" |
string | $expand_target = null |
bool | $rbac_check = false |
bool | $output_icons = false |
string | $expand_variable = "" |
array | $is_clickable = [] |
bool | $post_sort = false |
bool | $filtered = false |
bool | $filter_mode |
bool | $expand_all = false |
$root_id = null | |
bool | $use_standard_frame = false |
Protected Member Functions | |
createOutputArray (int $a_parent_id, array $options=array()) | |
recursive creating of outputs More... | |
insertObject (array $option, ilTemplate $tpl, bool $jsApi) | |
insert the option data in $tpl More... | |
![]() | |
requestStr (string $key) | |
Additional Inherited Members | |
![]() | |
ilObjectDefinition | $obj_definition |
ilErrorHandling | $error |
ilRbacSystem | $rbacsystem |
ilGlobalTemplateInterface | $tpl |
ilLanguage | $lng |
$filter = [] | |
string | $highlighted = "" |
bool | $show_minus = true |
int | $counter = 0 |
bool | $asnch_expanding = false |
int | $textwidth = 0 |
string | $title = "" |
string | $up_frame = "" |
string | $a_up_script = "" |
string | $up_params = "" |
string | $frame_target = "" |
string | $up_script = "" |
string | $tree_lead = "" |
array | $iconList = [] |
ILIAS Refinery Factory | $refinery |
ILIAS HTTP Wrapper WrapperFactory | $wrapper |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 20 of file class.ilSCORMExplorer.php.
ilSCORMExplorer::__construct | ( | string | $a_target, |
ilObjSCORMLearningModule & | $a_slm_obj | ||
) |
Definition at line 27 of file class.ilSCORMExplorer.php.
References ILIAS\GlobalScreen\Provider\__construct(), ilExplorer\checkPermissions(), ilObject\getId(), ilExplorer\outputIcons(), ilTree\readRootId(), and ilExplorer\setOrderColumn().
ilSCORMExplorer::createOutput | ( | array | $option, |
bool | $jsApi | ||
) |
recursive creation of output templates
ilTemplateException |
Definition at line 155 of file class.ilSCORMExplorer.php.
References $DIC, ILIAS\LTI\ToolProvider\$key, ilExplorer\$tpl, insertObject(), ilGlobalTemplateInterface\parseCurrentBlock(), ilGlobalTemplateInterface\setCurrentBlock(), and ilGlobalTemplateInterface\setVariable().
Referenced by getOutput().
|
protected |
recursive creating of outputs
Definition at line 98 of file class.ilSCORMExplorer.php.
References $ilErr, ILIAS\LTI\ToolProvider\$key, and ilExplorer\showChilds().
Referenced by setOutput().
ilSCORMExplorer::createTarget | ( | string | $a_type, |
$a_node_id, | |||
bool | $a_highlighted_subtree = false , |
||
bool | $a_append_anch = true |
||
) |
Creates Get Parameter.
Definition at line 76 of file class.ilSCORMExplorer.php.
References $_SERVER.
ilSCORMExplorer::formatHeader | ( | ilTemplate | $tpl, |
$a_obj_id, | |||
array | $a_option | ||
) |
overwritten method from base class
ilTemplateException |
Definition at line 57 of file class.ilSCORMExplorer.php.
References $DIC, ilExplorer\$lng, ilTemplate\get(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), HTML_Template_IT\setVariable(), and ilLanguage\txt().
ilSCORMExplorer::getIconImagePathPrefix | ( | ) |
Definition at line 43 of file class.ilSCORMExplorer.php.
Referenced by getOutputIcons().
ilSCORMExplorer::getItem | ( | int | $a_node_id | ) |
Definition at line 38 of file class.ilSCORMExplorer.php.
ilSCORMExplorer::getNodesToSkip | ( | ) |
Definition at line 48 of file class.ilSCORMExplorer.php.
ilSCORMExplorer::getOutput | ( | bool | $jsApi = false | ) |
Creates output template.
ilTemplateException |
Definition at line 146 of file class.ilSCORMExplorer.php.
References createOutput().
ilSCORMExplorer::getOutputIcons | ( | \ilTemplate | $tpl, |
array | $a_option, | ||
int | $a_node_id, | ||
string | $scormtype = "sco" |
||
) |
tpl is filled with option state
ilTemplateException |
Definition at line 252 of file class.ilSCORMExplorer.php.
References $DIC, ilExplorer\$lng, ilSCORMItem\_lookupTrackingDataOfUser(), getIconImagePathPrefix(), ilUtil\getImagePath(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), HTML_Template_IT\setVariable(), and ilLanguage\txt().
Referenced by insertObject().
|
protected |
insert the option data in $tpl
ilTemplateException |
Definition at line 195 of file class.ilSCORMExplorer.php.
References ilExplorer\$frame_target, $ilErr, ilExplorer\$tpl, ilSCORMResource\_lookupIdByIdRef(), ilSCORMResource\_lookupScormType(), ilExplorer\buildFrameTarget(), getOutputIcons(), isClickable(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), HTML_Template_IT\setVariable(), and ilStr\shortenTextExtended().
Referenced by createOutput().
ilSCORMExplorer::isClickable | ( | string | $type, |
int | $ref_id = 0 |
||
) |
can i click on the module name
Definition at line 181 of file class.ilSCORMExplorer.php.
References $ref_id.
Referenced by insertObject().
ilSCORMExplorer::isVisible | ( | $a_ref_id, | |
string | $a_type | ||
) |
Definition at line 137 of file class.ilSCORMExplorer.php.
ilSCORMExplorer::setOutput | ( | $a_parent_id, | |
int | $a_depth = 1 , |
||
int | $a_obj_id = 0 , |
||
$a_highlighted_subtree = false |
|||
) |
Definition at line 88 of file class.ilSCORMExplorer.php.
References createOutputArray().
ilObjSCORMLearningModule ilSCORMExplorer::$slm_obj |
id of root folder
Definition at line 25 of file class.ilSCORMExplorer.php.