示例#1
0
 protected function action_editView()
 {
     $this->view = 'edit';
     require_once "modules/Calendar/CalendarUtils.php";
     $editAllRecurrences = isset($_REQUEST['edit_all_recurrences']) ? $_REQUEST['edit_all_recurrences'] : false;
     $this->view_object_map['repeatData'] = CalendarUtils::getRepeatData($this->bean, $editAllRecurrences);
     return true;
 }
示例#2
0
 /**
  * Action QuickEdit
  */
 protected function action_quickedit()
 {
     $this->view = 'quickedit';
     if (!$this->retrieveCurrentBean('Detail')) {
         return;
     }
     $this->view_object_map['currentModule'] = $this->currentBean->module_dir;
     $this->view_object_map['currentBean'] = $this->currentBean;
     $editAllRecurrences = isset($_REQUEST['edit_all_recurrences']) ? $_REQUEST['edit_all_recurrences'] : false;
     $dateStart = isset($_REQUEST['date_start']) ? $_REQUEST['date_start'] : false;
     $this->view_object_map['repeatData'] = CalendarUtils::getRepeatData($this->currentBean, $editAllRecurrences, $dateStart);
 }