ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ 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
{
18
protected
static
$tpl_file_name
=
"tpl.course_list_item.html"
;
19
protected
static
$tpl_component
=
"Modules/StudyProgramme"
;
20
21
protected
$indent
= 0;
22
23
public
function
setIndent
($a_indent)
24
{
25
assert(is_int($a_indent));
26
assert($a_indent > 0);
27
$this->indent = $a_indent;
28
}
29
30
public
function
getIndent
()
31
{
32
return
$this->indent
;
33
}
34
35
// This should be doing something else originally, but i need some
36
// kind of hook in ilObjectListGUI::getListItemHTML and chose this,
37
// as it is called at last.
38
public
function
insertSubItems
()
39
{
40
parent::insertSubItems();
41
for
(
$i
= 0;
$i
< $this->
getIndent
();
$i
++) {
42
$this->tpl->touchBlock(
"indent"
);
43
}
44
}
45
}
ilStudyProgrammeCourseListGUI\$tpl_file_name
static $tpl_file_name
Definition:
class.ilStudyProgrammeCourseListGUI.php:18
ilStudyProgrammeCourseListGUI\$tpl_component
static $tpl_component
Definition:
class.ilStudyProgrammeCourseListGUI.php:19
ilStudyProgrammeCourseListGUI\getIndent
getIndent()
Definition:
class.ilStudyProgrammeCourseListGUI.php:30
ilObjCourseListGUI
Class ilObjCourseListGUI.
Definition:
class.ilObjCourseListGUI.php:15
ilStudyProgrammeCourseListGUI\$indent
$indent
Definition:
class.ilStudyProgrammeCourseListGUI.php:21
ilStudyProgrammeCourseListGUI\setIndent
setIndent($a_indent)
Definition:
class.ilStudyProgrammeCourseListGUI.php:23
ilStudyProgrammeCourseListGUI\insertSubItems
insertSubItems()
Definition:
class.ilStudyProgrammeCourseListGUI.php:38
$i
$i
Definition:
disco.tpl.php:19
php
ilStudyProgrammeCourseListGUI
Class ilStudyProgrammeCourseListGUI.
Definition:
class.ilStudyProgrammeCourseListGUI.php:16
Modules
StudyProgramme
classes
class.ilStudyProgrammeCourseListGUI.php
Generated on Thu Jan 16 2025 19:02:08 for ILIAS by
1.8.13 (using
Doxyfile
)