ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct ($a_appointment, $a_info_screen, $a_toolbar, $a_list_item) | |
getObjIdForAppointment () | |
getToolbar () | |
getListItem () | |
Get list item. More... | |
getInfoScreen () | |
getCatId ($a_entry_id) | |
getCatInfo () | |
executeCommand () | |
getHTML () | |
Get HTML. More... | |
addContainerInfo ($a_obj_id) | |
Add course/group container info. More... | |
addInfoSection ($a_txt) | |
Add info section. More... | |
addInfoProperty ($a_txt, $a_val) | |
Add info property. More... | |
addListItemProperty ($a_txt, $a_val) | |
Add list item property. More... | |
addAction ($a_txt, $a_link) | |
Add action. More... | |
collectPropertiesAndActions () | |
Collect properties and actions. More... | |
collectStandardPropertiesAndActions () | |
Collect standard properties and actions. More... | |
addObjectLinks ($obj_id) | |
Add object link. More... | |
getReadableRefIds ($a_obj_id) | |
Get readable ref ids. More... | |
addEventDescription ($a_app) | |
Add event description. More... | |
addEventLocation ($a_app) | |
Add event location. More... | |
addLastUpdate ($a_app) | |
Add last update. More... | |
addCalendarInfo ($cat_info) | |
Add calendar info. More... | |
addCommonSection ($a_app, $a_obj_id=0, $cat_info=null, $a_container_info=false) | |
Add common section. More... | |
addMetaData ($a_obj_type, $a_obj_id, $a_sub_obj_type=null, $a_sub_obj_id=null) | |
Add metadata. More... | |
getUserName ($a_user_id, $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 ($a_appointment, $a_info_screen, $a_toolbar, $a_list_item) |
Protected Member Functions | |
readObjIdForAppointment () | |
read obj_id for appointment More... | |
Protected Attributes | |
$toolbar | |
$appointment | |
$infoscreen | |
$lng | |
$tree | |
$ui | |
$list_item = null | |
$info_items = array() | |
$list_properties = array() | |
$actions = array() | |
$ctrl | |
$access | |
$readable_ref_ids | |
$has_files = false | |
$obj_id = 0 | |
Static Protected Attributes | |
static | $instance |
ilAppointmentPresentationGUI: ilCalendarAppointmentPresentationGUI
Definition at line 13 of file class.ilAppointmentPresentationGUI.php.
ilAppointmentPresentationGUI::__construct | ( | $a_appointment, | |
$a_info_screen, | |||
$a_toolbar, | |||
$a_list_item | |||
) |
Definition at line 98 of file class.ilAppointmentPresentationGUI.php.
References $DIC, readObjIdForAppointment(), and user().
ilAppointmentPresentationGUI::addAction | ( | $a_txt, | |
$a_link | |||
) |
Add action.
string | $a_txt | |
string | $a_link |
Definition at line 340 of file class.ilAppointmentPresentationGUI.php.
References array.
Referenced by ilAppointmentPresentationBookingPoolGUI\collectPropertiesAndActions(), ilAppointmentPresentationConsultationHoursGUI\collectPropertiesAndActions(), ilAppointmentPresentationGroupGUI\collectPropertiesAndActions(), ilAppointmentPresentationExerciseGUI\collectPropertiesAndActions(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), and collectStandardPropertiesAndActions().
ilAppointmentPresentationGUI::addCalendarInfo | ( | $cat_info | ) |
Add calendar info.
array | $cat_info |
Definition at line 477 of file class.ilAppointmentPresentationGUI.php.
References $_GET, addInfoProperty(), addListItemProperty(), and array.
Referenced by addCommonSection(), ilAppointmentPresentationBookingPoolGUI\collectPropertiesAndActions(), ilAppointmentPresentationPublicGUI\collectPropertiesAndActions(), and ilAppointmentPresentationUserGUI\collectPropertiesAndActions().
ilAppointmentPresentationGUI::addCommonSection | ( | $a_app, | |
$a_obj_id = 0 , |
|||
$cat_info = null , |
|||
$a_container_info = false |
|||
) |
Add common section.
array | $a_app | |
int | $a_obj_id |
Definition at line 500 of file class.ilAppointmentPresentationGUI.php.
References addCalendarInfo(), addContainerInfo(), addEventDescription(), addEventLocation(), addInfoSection(), and addObjectLinks().
Referenced by ilAppointmentPresentationMilestoneGUI\collectPropertiesAndActions(), ilAppointmentPresentationGroupGUI\collectPropertiesAndActions(), ilAppointmentPresentationConsultationHoursGUI\collectPropertiesAndActions(), ilAppointmentPresentationExerciseGUI\collectPropertiesAndActions(), and ilAppointmentPresentationCourseGUI\collectPropertiesAndActions().
ilAppointmentPresentationGUI::addContainerInfo | ( | $a_obj_id | ) |
Add course/group container info.
int | $a_ref_id |
Definition at line 276 of file class.ilAppointmentPresentationGUI.php.
References $r, $tree, $type, ilLink\_getStaticLink(), ilObject\_lookupObjectId(), ilObject\_lookupTitle(), ilObject\_lookupType(), addInfoProperty(), addListItemProperty(), and getReadableRefIds().
Referenced by addCommonSection().
ilAppointmentPresentationGUI::addEventDescription | ( | $a_app | ) |
Add event description.
array | $a_app |
Definition at line 441 of file class.ilAppointmentPresentationGUI.php.
References addInfoProperty(), and ilUtil\makeClickable().
Referenced by addCommonSection(), ilAppointmentPresentationUserGUI\collectPropertiesAndActions(), and ilAppointmentPresentationPublicGUI\collectPropertiesAndActions().
ilAppointmentPresentationGUI::addEventLocation | ( | $a_app | ) |
Add event location.
array | $a_app |
Definition at line 453 of file class.ilAppointmentPresentationGUI.php.
References addInfoProperty(), and addListItemProperty().
Referenced by addCommonSection(), ilAppointmentPresentationUserGUI\collectPropertiesAndActions(), and ilAppointmentPresentationPublicGUI\collectPropertiesAndActions().
ilAppointmentPresentationGUI::addInfoProperty | ( | $a_txt, | |
$a_val | |||
) |
Add info property.
string | $a_txt | |
string | $a_val |
Definition at line 317 of file class.ilAppointmentPresentationGUI.php.
References array.
Referenced by addCalendarInfo(), addContainerInfo(), addEventDescription(), addEventLocation(), addMetaData(), addObjectLinks(), ilAppointmentPresentationMilestoneGUI\collectPropertiesAndActions(), ilAppointmentPresentationExerciseGUI\collectPropertiesAndActions(), ilAppointmentPresentationConsultationHoursGUI\collectPropertiesAndActions(), ilAppointmentPresentationGroupGUI\collectPropertiesAndActions(), ilAppointmentPresentationBookingPoolGUI\collectPropertiesAndActions(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), ilAppointmentPresentationUserGUI\collectPropertiesAndActions(), and ilAppointmentPresentationPublicGUI\collectPropertiesAndActions().
ilAppointmentPresentationGUI::addInfoSection | ( | $a_txt | ) |
Add info section.
string | $a_txt |
Definition at line 306 of file class.ilAppointmentPresentationGUI.php.
References array.
Referenced by addCommonSection(), ilAppointmentPresentationMilestoneGUI\collectPropertiesAndActions(), ilAppointmentPresentationBookingPoolGUI\collectPropertiesAndActions(), ilAppointmentPresentationGroupGUI\collectPropertiesAndActions(), ilAppointmentPresentationExerciseGUI\collectPropertiesAndActions(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), ilAppointmentPresentationPublicGUI\collectPropertiesAndActions(), and ilAppointmentPresentationUserGUI\collectPropertiesAndActions().
ilAppointmentPresentationGUI::addLastUpdate | ( | $a_app | ) |
Add last update.
array | $a_app |
Definition at line 466 of file class.ilAppointmentPresentationGUI.php.
References addListItemProperty(), ilDatePresentation\formatDate(), IL_CAL_UNIX, and user().
Referenced by ilAppointmentPresentationMilestoneGUI\collectPropertiesAndActions(), ilAppointmentPresentationGroupGUI\collectPropertiesAndActions(), ilAppointmentPresentationConsultationHoursGUI\collectPropertiesAndActions(), ilAppointmentPresentationExerciseGUI\collectPropertiesAndActions(), and ilAppointmentPresentationCourseGUI\collectPropertiesAndActions().
ilAppointmentPresentationGUI::addListItemProperty | ( | $a_txt, | |
$a_val | |||
) |
Add list item property.
string | $a_txt | |
string | $a_val |
Definition at line 328 of file class.ilAppointmentPresentationGUI.php.
References array.
Referenced by addCalendarInfo(), addContainerInfo(), addEventLocation(), addLastUpdate(), addMetaData(), addObjectLinks(), ilAppointmentPresentationMilestoneGUI\collectPropertiesAndActions(), ilAppointmentPresentationConsultationHoursGUI\collectPropertiesAndActions(), ilAppointmentPresentationExerciseGUI\collectPropertiesAndActions(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), and ilAppointmentPresentationUserGUI\collectPropertiesAndActions().
ilAppointmentPresentationGUI::addMetaData | ( | $a_obj_type, | |
$a_obj_id, | |||
$a_sub_obj_type = null , |
|||
$a_sub_obj_id = null |
|||
) |
Add metadata.
Definition at line 530 of file class.ilAppointmentPresentationGUI.php.
References addInfoProperty(), addListItemProperty(), and ilAdvancedMDRecordGUI\MODE_APP_PRESENTATION.
Referenced by ilAppointmentPresentationBookingPoolGUI\collectPropertiesAndActions(), and ilAppointmentPresentationCourseGUI\collectPropertiesAndActions().
ilAppointmentPresentationGUI::addObjectLinks | ( | $obj_id | ) |
Add object link.
int | $ojb_id |
Definition at line 389 of file class.ilAppointmentPresentationGUI.php.
References $obj_id, $title, ilLink\_getStaticLink(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), addInfoProperty(), addListItemProperty(), array, and getReadableRefIds().
Referenced by addCommonSection(), and ilAppointmentPresentationBookingPoolGUI\collectPropertiesAndActions().
ilAppointmentPresentationGUI::collectPropertiesAndActions | ( | ) |
Collect properties and actions.
Definition at line 349 of file class.ilAppointmentPresentationGUI.php.
Referenced by getHTML().
ilAppointmentPresentationGUI::collectStandardPropertiesAndActions | ( | ) |
Collect standard properties and actions.
Definition at line 356 of file class.ilAppointmentPresentationGUI.php.
References addAction(), array, and getCatInfo().
Referenced by getHTML().
ilAppointmentPresentationGUI::downloadFiles | ( | ) |
Download files from an appointment ( Modals )
Definition at line 582 of file class.ilAppointmentPresentationGUI.php.
References $_GET, $appointment, array, ilUtil\sendFailure(), ilUtil\sendSuccess(), ilDownloadFilesBackgroundTask\setBucketTitle(), and user().
ilAppointmentPresentationGUI::executeCommand | ( | ) |
ilAppointmentPresentationGUI::getCatId | ( | $a_entry_id | ) |
Definition at line 172 of file class.ilAppointmentPresentationGUI.php.
References ilCalendarCategoryAssignments\_lookupCategory().
Referenced by ilAppointmentPresentationConsultationHoursGUI\collectPropertiesAndActions(), getCatInfo(), and readObjIdForAppointment().
ilAppointmentPresentationGUI::getCatInfo | ( | ) |
Definition at line 180 of file class.ilAppointmentPresentationGUI.php.
References ilCalendarCategories\_getInstance(), and getCatId().
Referenced by ilAppointmentPresentationMilestoneGUI\collectPropertiesAndActions(), ilAppointmentPresentationConsultationHoursGUI\collectPropertiesAndActions(), ilAppointmentPresentationGroupGUI\collectPropertiesAndActions(), ilAppointmentPresentationBookingPoolGUI\collectPropertiesAndActions(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), ilAppointmentPresentationUserGUI\collectPropertiesAndActions(), ilAppointmentPresentationPublicGUI\collectPropertiesAndActions(), and collectStandardPropertiesAndActions().
ilAppointmentPresentationGUI::getHTML | ( | ) |
Get HTML.
Definition at line 202 of file class.ilAppointmentPresentationGUI.php.
References $_GET, $actions, $has_files, $i, $infoscreen, $list_item, $toolbar, $ui, ilCalendarSettings\_getInstance(), array, collectPropertiesAndActions(), collectStandardPropertiesAndActions(), getInfoScreen(), ilLinkButton\getInstance(), getListItem(), and getToolbar().
ilAppointmentPresentationGUI::getInfoScreen | ( | ) |
Implements ilCalendarAppointmentPresentation.
Definition at line 167 of file class.ilAppointmentPresentationGUI.php.
References $infoscreen.
Referenced by ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), and getHTML().
|
static |
Definition at line 140 of file class.ilAppointmentPresentationGUI.php.
ilAppointmentPresentationGUI::getListItem | ( | ) |
Get list item.
Definition at line 158 of file class.ilAppointmentPresentationGUI.php.
References $list_item.
Referenced by getHTML().
ilAppointmentPresentationGUI::getObjIdForAppointment | ( | ) |
Definition at line 120 of file class.ilAppointmentPresentationGUI.php.
References $obj_id.
Referenced by ilAppointmentPresentationExerciseGUI\collectPropertiesAndActions().
ilAppointmentPresentationGUI::getReadableRefIds | ( | $a_obj_id | ) |
Get readable ref ids.
Definition at line 422 of file class.ilAppointmentPresentationGUI.php.
References ilObject\_getAllReferences(), and array.
Referenced by addContainerInfo(), addObjectLinks(), ilAppointmentPresentationConsultationHoursGUI\collectPropertiesAndActions(), ilAppointmentPresentationExerciseGUI\collectPropertiesAndActions(), and ilAppointmentPresentationBookingPoolGUI\collectPropertiesAndActions().
ilAppointmentPresentationGUI::getToolbar | ( | ) |
Implements ilCalendarAppointmentPresentation.
Definition at line 148 of file class.ilAppointmentPresentationGUI.php.
References $toolbar.
Referenced by getHTML().
ilAppointmentPresentationGUI::getUserName | ( | $a_user_id, | |
$a_force_name = false |
|||
) |
Get (linked if possible) user name.
int | $a_user_id |
Definition at line 550 of file class.ilAppointmentPresentationGUI.php.
References $_GET, $type, ilObject\_lookupType(), array, and ilUserUtil\getNamePresentation().
Referenced by ilAppointmentPresentationMilestoneGUI\collectPropertiesAndActions(), ilAppointmentPresentationConsultationHoursGUI\collectPropertiesAndActions(), ilAppointmentPresentationGroupGUI\collectPropertiesAndActions(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), ilAppointmentPresentationPublicGUI\collectPropertiesAndActions(), and ilAppointmentPresentationUserGUI\collectPropertiesAndActions().
|
protected |
read obj_id for appointment
Definition at line 128 of file class.ilAppointmentPresentationGUI.php.
References getCatId(), and ilCalendarCategory\getInstanceByCategoryId().
Referenced by __construct().
|
protected |
Definition at line 76 of file class.ilAppointmentPresentationGUI.php.
|
protected |
Definition at line 66 of file class.ilAppointmentPresentationGUI.php.
Referenced by getHTML().
|
protected |
Definition at line 26 of file class.ilAppointmentPresentationGUI.php.
Referenced by ilAppointmentPresentationMilestoneGUI\collectPropertiesAndActions(), ilAppointmentPresentationConsultationHoursGUI\collectPropertiesAndActions(), ilAppointmentPresentationExerciseGUI\collectPropertiesAndActions(), ilAppointmentPresentationGroupGUI\collectPropertiesAndActions(), ilAppointmentPresentationBookingPoolGUI\collectPropertiesAndActions(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), ilAppointmentPresentationUserGUI\collectPropertiesAndActions(), ilAppointmentPresentationPublicGUI\collectPropertiesAndActions(), and downloadFiles().
|
protected |
Definition at line 71 of file class.ilAppointmentPresentationGUI.php.
Referenced by ilAppointmentPresentationExerciseGUI\collectPropertiesAndActions(), and ilAppointmentPresentationUserGUI\collectPropertiesAndActions().
|
protected |
Definition at line 86 of file class.ilAppointmentPresentationGUI.php.
Referenced by getHTML().
|
protected |
Definition at line 56 of file class.ilAppointmentPresentationGUI.php.
|
protected |
Definition at line 31 of file class.ilAppointmentPresentationGUI.php.
Referenced by getHTML(), and getInfoScreen().
|
staticprotected |
Definition at line 15 of file class.ilAppointmentPresentationGUI.php.
|
protected |
Definition at line 51 of file class.ilAppointmentPresentationGUI.php.
Referenced by getHTML(), and getListItem().
|
protected |
Definition at line 61 of file class.ilAppointmentPresentationGUI.php.
|
protected |
Definition at line 36 of file class.ilAppointmentPresentationGUI.php.
|
protected |
|
protected |
Definition at line 81 of file class.ilAppointmentPresentationGUI.php.
|
protected |
Definition at line 20 of file class.ilAppointmentPresentationGUI.php.
Referenced by getHTML(), and getToolbar().
|
protected |
Definition at line 41 of file class.ilAppointmentPresentationGUI.php.
Referenced by addContainerInfo().
|
protected |
Definition at line 46 of file class.ilAppointmentPresentationGUI.php.
Referenced by getHTML().