ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.ilStudyProgrammeCourseListGUI.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
26
class
ilStudyProgrammeCourseListGUI
extends
ilObjCourseListGUI
27
{
28
protected
static
string
$tpl_file_name
=
"tpl.course_list_item.html"
;
29
protected
static
string
$tpl_component
=
"components/ILIAS/StudyProgramme"
;
30
31
protected
int
$indent
= 0;
32
33
public
function
setIndent
(
int
$a_indent): void
34
{
35
assert($a_indent > 0);
36
$this->indent = $a_indent;
37
}
38
39
public
function
getIndent
():
int
40
{
41
return
$this->indent
;
42
}
43
44
// This should be doing something else originally, but i need some
45
// kind of hook in ilObjectListGUI::getListItemHTML and chose this,
46
// as it is called at last.
47
public
function
insertSubItems
(): void
48
{
49
parent::insertSubItems();
50
for
($i = 0; $i < $this->
getIndent
(); $i++) {
51
$this->tpl->touchBlock(
"indent"
);
52
}
53
}
54
}
ilStudyProgrammeCourseListGUI\$tpl_file_name
static string $tpl_file_name
Definition:
class.ilStudyProgrammeCourseListGUI.php:28
ilStudyProgrammeCourseListGUI\setIndent
setIndent(int $a_indent)
Definition:
class.ilStudyProgrammeCourseListGUI.php:33
ilStudyProgrammeCourseListGUI\$tpl_component
static string $tpl_component
Definition:
class.ilStudyProgrammeCourseListGUI.php:29
ilStudyProgrammeCourseListGUI\getIndent
getIndent()
Definition:
class.ilStudyProgrammeCourseListGUI.php:39
ilObjCourseListGUI
Class ilObjCourseListGUI.
Definition:
class.ilObjCourseListGUI.php:27
ilStudyProgrammeCourseListGUI\$indent
int $indent
Definition:
class.ilStudyProgrammeCourseListGUI.php:31
ilStudyProgrammeCourseListGUI\insertSubItems
insertSubItems()
Definition:
class.ilStudyProgrammeCourseListGUI.php:47
ilStudyProgrammeCourseListGUI
Class ilStudyProgrammeCourseListGUI.
Definition:
class.ilStudyProgrammeCourseListGUI.php:26
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
components
ILIAS
StudyProgramme
classes
class.ilStudyProgrammeCourseListGUI.php
Generated on Sun Aug 31 2025 23:03:47 for ILIAS by
1.8.13 (using
Doxyfile
)