57 $this->ctrl = $DIC->ctrl();
58 $this->lng = $DIC->language();
59 $this->tree = $DIC->repositoryTree();
67 $next_class = $this->ctrl->getNextClass($this);
68 $cmd = $this->ctrl->getCmd();
71 switch ($next_class) {
86 "tpl.container_link_help.html",
92 $type_ordering = array(
93 "cat",
"fold",
"crs",
"grp",
"chat",
"frm",
"lres",
94 "glo",
"webr",
"file",
"exc",
95 "tst",
"svy",
"mep",
"qpl",
"spl");
98 foreach ($childs as $child) {
99 if (in_array($child[
"type"], array(
"lm",
"sahs",
"htlm"))) {
102 $cnt[$child[
"type"]]++;
107 $tpl->setVariable(
"TXT_HELP_HEADER",
$lng->txt(
"help"));
108 foreach ($type_ordering as
$type) {
109 $tpl->setCurrentBlock(
"row");
110 $tpl->setVariable(
"ROWCOL",
"tblrow" . (((
$i++) % 2) + 1));
111 if ($type !=
"lres") {
112 $tpl->setVariable(
"TYPE",
$lng->txt(
"objs_" . $type) .
113 " (" . ((int) $cnt[$type]) .
")");
115 $tpl->setVariable(
"TYPE",
$lng->txt(
"obj_lrss") .
116 " (" . ((int) $cnt[
"lres"]) .
")");
118 $tpl->setVariable(
"TXT_LINK",
"[list-" . $type .
"]");
119 $tpl->parseCurrentBlock();
Class ilContainerLinkListGUI.
static getStyleSheetLocation($mode="output", $a_css_name="", $a_css_location="")
get full style sheet file name (path inclusive) of current user
__construct()
Constructor public.
special template class to simplify handling of ITX/PEAR