2 include_once
'./Services/Calendar/interfaces/interface.ilCalendarAppointmentPresentation.php';
3 include_once
'./Services/Calendar/classes/AppointmentPresentation/class.ilAppointmentPresentationGUI.php';
20 include_once
"./Modules/Group/classes/class.ilObjGroup.php";
27 $this->lng->loadLanguageModule(
"grp");
31 $grp =
new ilObjGroup($cat_info[
'obj_id'],
false);
34 $grp_ref_id = current($refs);
39 if ($app[
'event']->isAutogenerated() && $grp->getInformation()) {
50 if ($settings->isCGRegistrationEnabled()) {
51 if (!$app[
'event']->isAutoGenerated()) {
52 include_once
'./Services/Calendar/classes/class.ilCalendarRegistration.php';
57 $this->ctrl->setParameterByClass(
'ilcalendarappointmentgui',
'app_id', $app[
'event']->getEntryId());
58 $this->ctrl->setParameterByClass(
'ilcalendarappointmentgui',
'dstart', $app[
'dstart']);
59 $this->ctrl->setParameterByClass(
'ilcalendarappointmentgui',
'dend', $app[
'dend']);
61 $this->
addAction($this->lng->txt(
'cal_reg_unregister'), $this->ctrl->getLinkTargetByClass(
'ilcalendarappointmentgui',
'confirmUnregister'));
64 $this->ctrl->setParameterByClass(
'ilcalendarappointmentgui',
'app_id', $app[
'event']->getEntryId());
65 $this->ctrl->setParameterByClass(
'ilcalendarappointmentgui',
'dstart', $app[
'dstart']);
66 $this->ctrl->setParameterByClass(
'ilcalendarappointmentgui',
'dend', $app[
'dend']);
68 $this->
addAction($this->lng->txt(
'cal_reg_register'), $this->ctrl->getLinkTargetByClass(
'ilcalendarappointmentgui',
'confirmRegister'));
70 include_once
'./Services/Link/classes/class.ilLink.php';
addInfoProperty($a_txt, $a_val)
Add info property.
static _getInstance()
get singleton instance
getUserName($a_user_id, $a_force_name=false)
Get (linked if possible) user name.
static _getStaticLink( $a_ref_id, $a_type='', $a_fallback_goto=true, $append="")
Get static link.
static _getAllReferences($a_id)
get all reference ids of object
addCommonSection($a_app, $a_obj_id=0, $cat_info=null, $a_container_info=false)
Add common section.
static makeClickable($a_text, $detectGotoLinks=false)
makeClickable In Texten enthaltene URLs und Mail-Adressen klickbar machen
registration for calendar appointments
collectPropertiesAndActions()
addLastUpdate($a_app)
Add last update.
addAction($a_txt, $a_link)
Add action.
addInfoSection($a_txt)
Add info section.