35 include_once
"Services/Object/classes/class.ilObjectListGUI.php";
53 $this->static_link_enabled =
true;
54 $this->delete_enabled =
true;
55 $this->cut_enabled =
true;
56 $this->copy_enabled =
true;
57 $this->subscribe_enabled =
true;
58 $this->link_enabled =
false;
59 $this->payment_enabled =
true;
60 $this->info_screen_enabled =
true;
62 $this->gui_class_name =
"ilobjcoursegui";
64 include_once(
'Services/AdvancedMetaData/classes/class.ilAdvancedMDSubstitution.php');
66 if($this->substitutions->isActive())
68 $this->substitutions_enabled =
true;
72 include_once(
'class.ilObjCourseAccess.php');
87 if($a_cmd !=
'view' and $a_cmd !=
'leave')
103 function initItem($a_ref_id, $a_obj_id, $a_title =
"", $a_description =
"")
110 $ilBench->start(
"ilObjCourseListGUI",
"1000_checkAllConditions");
112 $ilBench->stop(
"ilObjCourseListGUI",
"1000_checkAllConditions");
127 global
$lng, $ilUser;
136 include_once
'Modules/Course/classes/class.ilObjCourseAccess.php';
139 $props[] = array(
"alert" =>
true,
"property" => $lng->txt(
"status"),
140 "value" => $lng->txt(
"offline"));
144 include_once
'Modules/Course/classes/class.ilCourseParticipants.php';
146 if($members->isBlocked($ilUser->getId()) and $members->isAssigned($ilUser->getId()))
148 $props[] = array(
"alert" =>
true,
"property" => $lng->txt(
"member_status"),
149 "value" => $lng->txt(
"crs_status_blocked"));
155 $props[] = array(
"alert" =>
true,
"property" => $lng->txt(
"member_status"),
156 "value" => $lng->txt(
"crs_status_pending"));
159 include_once
'./Modules/Course/classes/class.ilCourseWaitingList.php';
164 "property" => $lng->txt(
'member_status'),
165 "value" => $lng->txt(
'on_waiting_list')