24 include_once(
'Services/Object/classes/class.ilObjectListGUI.php');
49 $lng->loadLanguageModule(
'crs');
61 $this->delete_enabled =
true;
62 $this->cut_enabled =
false;
63 $this->copy_enabled =
true;
64 $this->subscribe_enabled =
true;
65 $this->link_enabled =
false;
66 $this->payment_enabled =
false;
67 $this->info_screen_enabled =
true;
68 $this->subitems_enabled =
true;
70 $this->gui_class_name =
"ilobjsessiongui";
73 include_once(
'./Modules/Session/classes/class.ilObjSessionAccess.php');
89 $title = strlen($this->title) ? (
': '.$this->title) :
'';
105 return "repository.php?ref_id=".$this->ref_id.
"&cmd=$a_cmd";
119 if($a_cmd !=
'register' and $a_cmd !=
'unregister')
147 if($items = self::lookupAssignedMaterials($this->obj_id))
151 'property' => $this->lng->txt(
'event_ass_materials_prop'),
152 'value' => count($items)
159 include_once
'./Modules/Session/classes/class.ilObjSession.php';
162 if(strlen($session_data[
'location']))
166 'property' => $this->lng->txt(
'event_location'),
167 'value' => $session_data[
'location']
170 if(strlen($session_data[
'details']))
174 'property' => $this->lng->txt(
'event_details_workflow'),
175 'value' => nl2br($session_data[
'details']),
179 $has_new_line =
false;
180 if(strlen($session_data[
'name']))
184 'property' => $this->lng->txt(
'event_lecturer'),
185 'value' => $session_data[
'name'],
188 $has_new_line =
true;
190 if(strlen($session_data[
'email']))
194 'property' => $this->lng->txt(
'tutor_email'),
195 'value' => $session_data[
'email'],
196 'newline' => $has_new_line ?
false : true
198 $has_new_line =
true;
200 if(strlen($session_data[
'phone']))
204 'property' => $this->lng->txt(
'tutor_phone'),
205 'value' => $session_data[
'phone'],
206 'newline' => $has_new_line ?
false : true
208 $has_new_line =
true;
224 if(isset($this->app_info[$this->obj_id]))
226 return $this->app_info[$this->obj_id];
228 include_once(
'./Modules/Session/classes/class.ilSessionAppointment.php');
241 $query =
'SELECT * FROM event_items '.
242 'WHERE event_id = '.$ilDB->quote($a_sess_id).
' ';
244 while(
$row =
$res->fetchRow(FETCHMODE_OBJECT))
246 $items[] =
$row[
'item_id'];
248 return $items ? $items : array();