3 declare(strict_types=0);
    31         $this->
lng->loadLanguageModule(
'crs');
    36         $this->
addColumn($this->
lng->txt(
'description'), 
'description');
    39         if ($a_parent_cmd != 
'listStructure') {
    40             $this->
setTitle($this->
lng->txt(
'crs_select_starter'));
    45             $this->
setTitle($this->
lng->txt(
'crs_start_objects'));
    50         $this->
setRowTemplate(
"tpl.crs_add_starter.html", 
"Modules/Course");
    62         if ($a_parent_cmd != 
'listStructure') {
    78             $data[$item_ref_id][
'id'] = $item_ref_id;
    79             $data[$item_ref_id][
'title'] = $tmp_obj->getTitle();
    80             $data[$item_ref_id][
'type'] = $this->
lng->txt(
'obj_' . $tmp_obj->getType());
    83             if (strlen($tmp_obj->getDescription())) {
    84                 $data[$item_ref_id][
'description'] = $tmp_obj->getDescription();
    94         foreach ($starters as $start_id => $item) {
    97             $data[$item[
'item_ref_id']][
'id'] = $start_id;
    98             $data[$item[
'item_ref_id']][
'title'] = $tmp_obj->getTitle();
    99             $data[$item[
'item_ref_id']][
'type'] = $this->
lng->txt(
'obj_' . $tmp_obj->getType());
   102             if (strlen($tmp_obj->getDescription())) {
   103                 $data[$item[
'item_ref_id']][
'description'] = $tmp_obj->getDescription();
   110     protected function fillRow(array $a_set): void
   112         $this->tpl->setVariable(
"ID", (
string) $a_set[
"id"]);
   113         $this->tpl->setVariable(
"TXT_TITLE", (
string) $a_set[
"title"]);
   114         $this->tpl->setVariable(
"TXT_DESCRIPTION", (
string) $a_set[
"description"]);
   115         $this->tpl->setVariable(
"ICON_SRC", (
string) $a_set[
"icon"]);
   116         $this->tpl->setVariable(
"ICON_ALT", (
string) $a_set[
"type"]);
 
static _getIcon(int $obj_id=0, string $size="big", string $type="", bool $offline=false)
Get icon for repository item. 
 
setFormAction(string $a_form_action, bool $a_multipart=false)
 
setSelectAllCheckbox(string $a_select_all_checkbox, bool $a_select_all_on_top=false)
 
getStartObjects(ilObject $a_obj_course, ilCourseStart $crs_start)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
__construct(object $a_parent_obj, string $a_parent_cmd, ilObject $a_obj_course)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
setDefaultOrderField(string $a_defaultorderfield)
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
static getInstanceByRefId(int $ref_id, bool $stop_on_error=true)
get an instance of an Ilias object by reference id 
 
setDefaultOrderDirection(string $a_defaultorderdirection)
 
getPossibleObjects(ilObject $a_obj_course, ilCourseStart $crs_start)
 
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
 
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
 
addMultiCommand(string $a_cmd, string $a_text)