ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilStudyProgrammeCourseListGUI.php
Go to the documentation of this file.
1
<?
php
2
3
/* Copyright (c) 2015 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
14
require_once(
"Modules/Course/classes/class.ilObjCourseListGUI.php"
);
15
16
class
ilStudyProgrammeCourseListGUI
extends
ilObjCourseListGUI
{
17
static
protected
$tpl_file_name
=
"tpl.course_list_item.html"
;
18
static
protected
$tpl_component
=
"Modules/StudyProgramme"
;
19
20
protected
$indent
= 0;
21
22
public
function
setIndent
($a_indent) {
23
assert(is_int($a_indent));
24
assert($a_indent > 0);
25
$this->indent = $a_indent;
26
}
27
28
public
function
getIndent
() {
29
return
$this->indent
;
30
}
31
32
// This should be doing something else originally, but i need some
33
// kind of hook in ilObjectListGUI::getListItemHTML and chose this,
34
// as it is called at last.
35
function
insertSubItems
() {
36
parent::insertSubItems();
37
for
($i = 0; $i < $this->
getIndent
(); $i++) {
38
$this->tpl->touchBlock(
"indent"
);
39
}
40
}
41
}
ilStudyProgrammeCourseListGUI\$tpl_file_name
static $tpl_file_name
Definition:
class.ilStudyProgrammeCourseListGUI.php:17
ilStudyProgrammeCourseListGUI\$tpl_component
static $tpl_component
Definition:
class.ilStudyProgrammeCourseListGUI.php:18
ilStudyProgrammeCourseListGUI\getIndent
getIndent()
Definition:
class.ilStudyProgrammeCourseListGUI.php:28
ilObjCourseListGUI
Class ilObjCourseListGUI.
Definition:
class.ilObjCourseListGUI.php:15
ilStudyProgrammeCourseListGUI\$indent
$indent
Definition:
class.ilStudyProgrammeCourseListGUI.php:20
ilStudyProgrammeCourseListGUI\setIndent
setIndent($a_indent)
Definition:
class.ilStudyProgrammeCourseListGUI.php:22
ilStudyProgrammeCourseListGUI\insertSubItems
insertSubItems()
Definition:
class.ilStudyProgrammeCourseListGUI.php:35
php
ilStudyProgrammeCourseListGUI
Class ilStudyProgrammeCourseListGUI.
Definition:
class.ilStudyProgrammeCourseListGUI.php:16
Modules
StudyProgramme
classes
class.ilStudyProgrammeCourseListGUI.php
Generated on Fri Jan 17 2025 19:01:02 for ILIAS by
1.8.13 (using
Doxyfile
)