2 include_once
'./Services/Calendar/interfaces/interface.ilCalendarAppointmentPresentation.php';
3 include_once
'./Services/Calendar/classes/AppointmentPresentation/class.ilAppointmentPresentationGUI.php';
19 $f = $DIC->ui()->factory();
20 $r = $DIC->ui()->renderer();
24 $users_resp =
$appointment[
'event']->readResponsibleUsers();
45 $users_list =
array();
46 foreach ($users_resp as $user) {
47 $users_list[] = $this->
getUserName($user[
'user_id']);
49 if (count($users_list) > 0) {
50 $this->
addInfoProperty($this->lng->txt(
"cal_responsible"), implode(
"<br>", $users_list));
51 $this->
addListItemProperty($this->lng->txt(
"cal_responsible"), implode(
"<br>", $users_list));
54 $this->
addInfoProperty($this->lng->txt(
"cal_task_completion"), $completion .
" %");
addInfoProperty($a_txt, $a_val)
Add info property.
getUserName($a_user_id, $a_force_name=false)
Get (linked if possible) user name.
addCommonSection($a_app, $a_obj_id=0, $cat_info=null, $a_container_info=false)
Add common section.
addLastUpdate($a_app)
Add last update.
Create styles array
The data for the language used.
ilAppointmentPresentationMilestoneGUI class presents milestones information.
collectPropertiesAndActions()
addListItemProperty($a_txt, $a_val)
Add list item property.
addInfoSection($a_txt)
Add info section.