ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct (array $a_appointment, ?ilInfoScreenGUI $a_info_screen, ?ilToolbarGUI $a_toolbar, ?Item $a_list_item) | |
getObjIdForAppointment () | |
getToolbar () | |
getListItem () | |
Get list item. More... | |
getInfoScreen () | |
getCatId (int $a_entry_id) | |
getCatInfo () | |
executeCommand () | |
getHTML () | |
addContainerInfo (int $a_obj_id) | |
Add course/group container info. More... | |
addInfoSection (string $a_txt) | |
Add info section. More... | |
addInfoProperty (string $a_txt, string $a_val) | |
Add info property. More... | |
addListItemProperty (string $a_txt, string $a_val) | |
Add list item property. More... | |
addAction (string $a_txt, string $a_link) | |
Add action. More... | |
collectPropertiesAndActions () | |
Collect properties and actions. More... | |
collectStandardPropertiesAndActions () | |
Collect standard properties and actions. More... | |
addObjectLinks (int $obj_id, ?array $a_appointment=null) | |
Add object link. More... | |
getReadableRefIds (int $a_obj_id) | |
addEventDescription (array $a_app) | |
Add event description. More... | |
addEventLocation (array $a_app) | |
Add event location. More... | |
addLastUpdate (array $a_app) | |
Add last update. More... | |
addCalendarInfo (array $cat_info) | |
addCommonSection (array $a_app, int $a_obj_id=0, ?array $cat_info=null, bool $a_container_info=false) | |
addMetaData (string $a_obj_type, int $a_obj_id, ?string $a_sub_obj_type=null, ?int $a_sub_obj_id=null) | |
getUserName (int $a_user_id, bool $a_force_name=false) | |
Get (linked if possible) user name. More... | |
downloadFiles () | |
Download files from an appointment ( Modals ) More... | |
Static Public Member Functions | |
static | getInstance (array $a_appointment, ?ilInfoScreenGUI $a_info_screen, ?ilToolbarGUI $a_toolbar, ?Item $a_list_item) |
Protected Member Functions | |
readObjIdForAppointment () | |
read obj_id for appointment More... | |
buildDirectLinkForAppointment (int $a_ref_id, ?array $a_appointment=null) | |
Build direct link for appointment. More... | |
Protected Attributes | |
array | $appointment |
ilToolbarGUI | $toolbar |
ilInfoScreenGUI | $infoscreen |
ilLanguage | $lng |
ilTree | $tree |
UIServices | $ui |
ilCtrlInterface | $ctrl |
ilAccessHandler | $access |
ilRbacSystem | $rbacsystem |
ilObjUser | $user |
RefineryFactory | $refinery |
HttpServices | $http |
Item | $list_item = null |
array | $info_items = [] |
array | $list_properties = [] |
array | $actions = [] |
array | $readable_ref_ids |
bool | $has_files = false |
int | $obj_id = 0 |
Static Protected Attributes | |
static self | $instance |
Private Attributes | |
ilGlobalTemplateInterface | $main_tpl |
Definition at line 32 of file class.ilAppointmentPresentationGUI.php.
ilAppointmentPresentationGUI::__construct | ( | array | $a_appointment, |
?ilInfoScreenGUI | $a_info_screen, | ||
?ilToolbarGUI | $a_toolbar, | ||
?Item | $a_list_item | ||
) |
Definition at line 66 of file class.ilAppointmentPresentationGUI.php.
References $DIC, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), readObjIdForAppointment(), ILIAS\Repository\refinery(), ILIAS\Repository\toolbar(), ILIAS\Repository\ui(), and ILIAS\Repository\user().
ilAppointmentPresentationGUI::addAction | ( | string | $a_txt, |
string | $a_link | ||
) |
Add action.
Definition at line 297 of file class.ilAppointmentPresentationGUI.php.
Referenced by ilAppointmentPresentationBookingPoolGUI\collectPropertiesAndActions(), ilAppointmentPresentationConsultationHoursGUI\collectPropertiesAndActions(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), ilAppointmentPresentationExerciseGUI\collectPropertiesAndActions(), ilAppointmentPresentationGroupGUI\collectPropertiesAndActions(), ilAppointmentPresentationSessionGUI\collectPropertiesAndActions(), ilAppointmentPresentationEmployeeTalkGUI\collectPropertiesAndActions(), and collectStandardPropertiesAndActions().
ilAppointmentPresentationGUI::addCalendarInfo | ( | array | $cat_info | ) |
Definition at line 444 of file class.ilAppointmentPresentationGUI.php.
References addInfoProperty(), addListItemProperty(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\ui().
Referenced by addCommonSection(), ilAppointmentPresentationUserGUI\collectPropertiesAndActions(), ilAppointmentPresentationBookingPoolGUI\collectPropertiesAndActions(), and ilAppointmentPresentationPublicGUI\collectPropertiesAndActions().
ilAppointmentPresentationGUI::addCommonSection | ( | array | $a_app, |
int | $a_obj_id = 0 , |
||
?array | $cat_info = null , |
||
bool | $a_container_info = false |
||
) |
Definition at line 460 of file class.ilAppointmentPresentationGUI.php.
References addCalendarInfo(), addContainerInfo(), addEventDescription(), addEventLocation(), addInfoSection(), addObjectLinks(), and null.
Referenced by ilAppointmentPresentationConsultationHoursGUI\collectPropertiesAndActions(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), ilAppointmentPresentationExerciseGUI\collectPropertiesAndActions(), and ilAppointmentPresentationGroupGUI\collectPropertiesAndActions().
ilAppointmentPresentationGUI::addContainerInfo | ( | int | $a_obj_id | ) |
Add course/group container info.
Definition at line 238 of file class.ilAppointmentPresentationGUI.php.
References Vendor\Package\$f, $r, $ref_id, $tree, ilLink\_getStaticLink(), ilObject\_lookupObjectId(), ilObject\_lookupTitle(), ilObject\_lookupType(), addInfoProperty(), addListItemProperty(), ilTree\checkForParentType(), getReadableRefIds(), ILIAS\Repository\lng(), and ILIAS\Repository\ui().
Referenced by addCommonSection(), and ilAppointmentPresentationSessionGUI\collectPropertiesAndActions().
ilAppointmentPresentationGUI::addEventDescription | ( | array | $a_app | ) |
Add event description.
Definition at line 410 of file class.ilAppointmentPresentationGUI.php.
References addInfoProperty(), ILIAS\Repository\lng(), and ilUtil\makeClickable().
Referenced by addCommonSection(), ilAppointmentPresentationUserGUI\collectPropertiesAndActions(), ilAppointmentPresentationSessionGUI\collectPropertiesAndActions(), ilAppointmentPresentationPublicGUI\collectPropertiesAndActions(), and ilAppointmentPresentationEmployeeTalkGUI\collectPropertiesAndActions().
ilAppointmentPresentationGUI::addEventLocation | ( | array | $a_app | ) |
Add event location.
Definition at line 423 of file class.ilAppointmentPresentationGUI.php.
References addInfoProperty(), addListItemProperty(), and ILIAS\Repository\lng().
Referenced by addCommonSection(), ilAppointmentPresentationUserGUI\collectPropertiesAndActions(), ilAppointmentPresentationPublicGUI\collectPropertiesAndActions(), and ilAppointmentPresentationEmployeeTalkGUI\collectPropertiesAndActions().
ilAppointmentPresentationGUI::addInfoProperty | ( | string | $a_txt, |
string | $a_val | ||
) |
Add info property.
Definition at line 280 of file class.ilAppointmentPresentationGUI.php.
Referenced by addCalendarInfo(), addContainerInfo(), addEventDescription(), addEventLocation(), addMetaData(), addObjectLinks(), ilAppointmentPresentationConsultationHoursGUI\collectPropertiesAndActions(), ilAppointmentPresentationUserGUI\collectPropertiesAndActions(), ilAppointmentPresentationBookingPoolGUI\collectPropertiesAndActions(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), ilAppointmentPresentationExerciseGUI\collectPropertiesAndActions(), ilAppointmentPresentationGroupGUI\collectPropertiesAndActions(), ilAppointmentPresentationSessionGUI\collectPropertiesAndActions(), ilAppointmentPresentationPublicGUI\collectPropertiesAndActions(), and ilAppointmentPresentationEmployeeTalkGUI\collectPropertiesAndActions().
ilAppointmentPresentationGUI::addInfoSection | ( | string | $a_txt | ) |
Add info section.
Definition at line 272 of file class.ilAppointmentPresentationGUI.php.
Referenced by addCommonSection(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), ilAppointmentPresentationUserGUI\collectPropertiesAndActions(), ilAppointmentPresentationBookingPoolGUI\collectPropertiesAndActions(), ilAppointmentPresentationExerciseGUI\collectPropertiesAndActions(), ilAppointmentPresentationGroupGUI\collectPropertiesAndActions(), ilAppointmentPresentationSessionGUI\collectPropertiesAndActions(), ilAppointmentPresentationPublicGUI\collectPropertiesAndActions(), and ilAppointmentPresentationEmployeeTalkGUI\collectPropertiesAndActions().
ilAppointmentPresentationGUI::addLastUpdate | ( | array | $a_app | ) |
Add last update.
Definition at line 434 of file class.ilAppointmentPresentationGUI.php.
References addListItemProperty(), ilDatePresentation\formatDate(), IL_CAL_UNIX, ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), ilAppointmentPresentationGroupGUI\collectPropertiesAndActions(), ilAppointmentPresentationExerciseGUI\collectPropertiesAndActions(), and ilAppointmentPresentationEmployeeTalkGUI\collectPropertiesAndActions().
ilAppointmentPresentationGUI::addListItemProperty | ( | string | $a_txt, |
string | $a_val | ||
) |
Add list item property.
Definition at line 288 of file class.ilAppointmentPresentationGUI.php.
Referenced by addCalendarInfo(), addContainerInfo(), addEventLocation(), addLastUpdate(), addMetaData(), addObjectLinks(), ilAppointmentPresentationConsultationHoursGUI\collectPropertiesAndActions(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), ilAppointmentPresentationUserGUI\collectPropertiesAndActions(), ilAppointmentPresentationExerciseGUI\collectPropertiesAndActions(), ilAppointmentPresentationSessionGUI\collectPropertiesAndActions(), and ilAppointmentPresentationEmployeeTalkGUI\collectPropertiesAndActions().
ilAppointmentPresentationGUI::addMetaData | ( | string | $a_obj_type, |
int | $a_obj_id, | ||
?string | $a_sub_obj_type = null , |
||
?int | $a_sub_obj_id = null |
||
) |
Definition at line 491 of file class.ilAppointmentPresentationGUI.php.
References addInfoProperty(), addListItemProperty(), and ilAdvancedMDRecordGUI\MODE_APP_PRESENTATION.
Referenced by ilAppointmentPresentationBookingPoolGUI\collectPropertiesAndActions(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), and ilAppointmentPresentationSessionGUI\collectPropertiesAndActions().
ilAppointmentPresentationGUI::addObjectLinks | ( | int | $obj_id, |
?array | $a_appointment = null |
||
) |
Add object link.
Definition at line 351 of file class.ilAppointmentPresentationGUI.php.
References $ref_id, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), addInfoProperty(), addListItemProperty(), buildDirectLinkForAppointment(), getReadableRefIds(), ILIAS\Repository\lng(), and ILIAS\Repository\ui().
Referenced by addCommonSection(), ilAppointmentPresentationBookingPoolGUI\collectPropertiesAndActions(), and ilAppointmentPresentationEmployeeTalkGUI\collectPropertiesAndActions().
|
protected |
Build direct link for appointment.
Definition at line 384 of file class.ilAppointmentPresentationGUI.php.
References ilLink\_getStaticLink().
Referenced by addObjectLinks().
ilAppointmentPresentationGUI::collectPropertiesAndActions | ( | ) |
Collect properties and actions.
Definition at line 305 of file class.ilAppointmentPresentationGUI.php.
Referenced by getHTML().
ilAppointmentPresentationGUI::collectStandardPropertiesAndActions | ( | ) |
Collect standard properties and actions.
Definition at line 312 of file class.ilAppointmentPresentationGUI.php.
References addAction(), ILIAS\Repository\ctrl(), getCatInfo(), and ILIAS\Repository\lng().
Referenced by getHTML().
ilAppointmentPresentationGUI::downloadFiles | ( | ) |
Download files from an appointment ( Modals )
Definition at line 563 of file class.ilAppointmentPresentationGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ilDownloadFilesBackgroundTask\setBucketTitle(), and ILIAS\Repository\user().
ilAppointmentPresentationGUI::executeCommand | ( | ) |
Definition at line 150 of file class.ilAppointmentPresentationGUI.php.
References ILIAS\Repository\ctrl().
ilAppointmentPresentationGUI::getCatId | ( | int | $a_entry_id | ) |
Definition at line 139 of file class.ilAppointmentPresentationGUI.php.
References ilCalendarCategoryAssignments\_lookupCategory().
Referenced by ilAppointmentPresentationConsultationHoursGUI\collectPropertiesAndActions(), getCatInfo(), and readObjIdForAppointment().
ilAppointmentPresentationGUI::getCatInfo | ( | ) |
Definition at line 144 of file class.ilAppointmentPresentationGUI.php.
References ilCalendarCategories\_getInstance(), and getCatId().
Referenced by ilAppointmentPresentationBookingPoolGUI\collectPropertiesAndActions(), ilAppointmentPresentationConsultationHoursGUI\collectPropertiesAndActions(), ilAppointmentPresentationUserGUI\collectPropertiesAndActions(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), ilAppointmentPresentationGroupGUI\collectPropertiesAndActions(), ilAppointmentPresentationSessionGUI\collectPropertiesAndActions(), ilAppointmentPresentationPublicGUI\collectPropertiesAndActions(), and collectStandardPropertiesAndActions().
ilAppointmentPresentationGUI::getHTML | ( | ) |
Definition at line 160 of file class.ilAppointmentPresentationGUI.php.
References Vendor\Package\$a, $has_files, $ui, ilCalendarSettings\_getInstance(), ilToolbarGUI\addComponent(), ilInfoScreenGUI\addProperty(), ilInfoScreenGUI\addSection(), ilToolbarGUI\addSeparator(), ilToolbarGUI\addStickyItem(), collectPropertiesAndActions(), collectStandardPropertiesAndActions(), ILIAS\Repository\ctrl(), ILIAS\DI\UIServices\factory(), getInfoScreen(), getListItem(), ILIAS\UI\Component\Item\Item\getProperties(), getToolbar(), ILIAS\Repository\lng(), null, ILIAS\Repository\ui(), and ILIAS\UI\Component\Item\Item\withProperties().
ilAppointmentPresentationGUI::getInfoScreen | ( | ) |
Implements ilCalendarAppointmentPresentation.
Definition at line 134 of file class.ilAppointmentPresentationGUI.php.
References $infoscreen.
Referenced by ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), and getHTML().
|
static |
Definition at line 108 of file class.ilAppointmentPresentationGUI.php.
ilAppointmentPresentationGUI::getListItem | ( | ) |
Get list item.
Definition at line 126 of file class.ilAppointmentPresentationGUI.php.
References $list_item.
Referenced by getHTML().
ilAppointmentPresentationGUI::getObjIdForAppointment | ( | ) |
Definition at line 93 of file class.ilAppointmentPresentationGUI.php.
References $obj_id.
Referenced by ilAppointmentPresentationExerciseGUI\collectPropertiesAndActions(), ilAppointmentPresentationSessionGUI\collectPropertiesAndActions(), ilAppointmentPresentationEmployeeTalkGUI\collectPropertiesAndActions(), and ilAppointmentPresentationSessionGUI\getOtherMaterials().
ilAppointmentPresentationGUI::getReadableRefIds | ( | int | $a_obj_id | ) |
int | $a_obj_id |
Definition at line 393 of file class.ilAppointmentPresentationGUI.php.
References $ref_id, ilObject\_getAllReferences(), and ILIAS\Repository\access().
Referenced by addContainerInfo(), addObjectLinks(), ilAppointmentPresentationBookingPoolGUI\collectPropertiesAndActions(), ilAppointmentPresentationConsultationHoursGUI\collectPropertiesAndActions(), ilAppointmentPresentationExerciseGUI\collectPropertiesAndActions(), and ilAppointmentPresentationSessionGUI\collectPropertiesAndActions().
ilAppointmentPresentationGUI::getToolbar | ( | ) |
Implements ilCalendarAppointmentPresentation.
Definition at line 117 of file class.ilAppointmentPresentationGUI.php.
References $toolbar.
Referenced by getHTML().
ilAppointmentPresentationGUI::getUserName | ( | int | $a_user_id, |
bool | $a_force_name = false |
||
) |
Get (linked if possible) user name.
Definition at line 517 of file class.ilAppointmentPresentationGUI.php.
References $ref_id, ilObject\_lookupType(), ILIAS\Repository\ctrl(), ilUserUtil\getNamePresentation(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by ilAppointmentPresentationConsultationHoursGUI\collectPropertiesAndActions(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), ilAppointmentPresentationUserGUI\collectPropertiesAndActions(), ilAppointmentPresentationGroupGUI\collectPropertiesAndActions(), ilAppointmentPresentationPublicGUI\collectPropertiesAndActions(), and ilAppointmentPresentationEmployeeTalkGUI\collectPropertiesAndActions().
|
protected |
read obj_id for appointment
Definition at line 101 of file class.ilAppointmentPresentationGUI.php.
References getCatId(), and ilCalendarCategory\getInstanceByCategoryId().
Referenced by __construct().
|
protected |
Definition at line 44 of file class.ilAppointmentPresentationGUI.php.
|
protected |
Definition at line 55 of file class.ilAppointmentPresentationGUI.php.
|
protected |
Definition at line 36 of file class.ilAppointmentPresentationGUI.php.
Referenced by ilAppointmentPresentationBookingPoolGUI\collectPropertiesAndActions(), ilAppointmentPresentationConsultationHoursGUI\collectPropertiesAndActions(), ilAppointmentPresentationUserGUI\collectPropertiesAndActions(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), ilAppointmentPresentationExerciseGUI\collectPropertiesAndActions(), ilAppointmentPresentationGroupGUI\collectPropertiesAndActions(), ilAppointmentPresentationSessionGUI\collectPropertiesAndActions(), ilAppointmentPresentationPublicGUI\collectPropertiesAndActions(), and ilAppointmentPresentationEmployeeTalkGUI\collectPropertiesAndActions().
|
protected |
Definition at line 43 of file class.ilAppointmentPresentationGUI.php.
|
protected |
Definition at line 62 of file class.ilAppointmentPresentationGUI.php.
Referenced by getHTML().
|
protected |
Definition at line 48 of file class.ilAppointmentPresentationGUI.php.
|
protected |
Definition at line 53 of file class.ilAppointmentPresentationGUI.php.
|
protected |
Definition at line 39 of file class.ilAppointmentPresentationGUI.php.
Referenced by getInfoScreen().
|
staticprotected |
Definition at line 34 of file class.ilAppointmentPresentationGUI.php.
Definition at line 51 of file class.ilAppointmentPresentationGUI.php.
Referenced by getListItem().
|
protected |
Definition at line 54 of file class.ilAppointmentPresentationGUI.php.
|
protected |
Definition at line 40 of file class.ilAppointmentPresentationGUI.php.
|
private |
Definition at line 64 of file class.ilAppointmentPresentationGUI.php.
|
protected |
Definition at line 63 of file class.ilAppointmentPresentationGUI.php.
Referenced by ilAppointmentPresentationBookingPoolGUI\collectPropertiesAndActions(), ilAppointmentPresentationConsultationHoursGUI\collectPropertiesAndActions(), and getObjIdForAppointment().
|
protected |
Definition at line 45 of file class.ilAppointmentPresentationGUI.php.
|
protected |
Definition at line 60 of file class.ilAppointmentPresentationGUI.php.
|
protected |
Definition at line 47 of file class.ilAppointmentPresentationGUI.php.
|
protected |
Definition at line 38 of file class.ilAppointmentPresentationGUI.php.
Referenced by getToolbar().
|
protected |
Definition at line 41 of file class.ilAppointmentPresentationGUI.php.
Referenced by addContainerInfo().
|
protected |
Definition at line 42 of file class.ilAppointmentPresentationGUI.php.
Referenced by getHTML().
|
protected |
Definition at line 46 of file class.ilAppointmentPresentationGUI.php.
Referenced by ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), and ilAppointmentPresentationGroupGUI\collectPropertiesAndActions().