Beispiel #1
0
 /**
  * Save the schedule.
  */
 function saveScheduleLayout($args, &$request)
 {
     $this->validate();
     $this->setupTemplate($request, true);
     $schedConf =& $request->getSchedConf();
     import('classes.manager.form.scheduler.ScheduleLayoutForm');
     $scheduleLayoutForm = new ScheduleLayoutForm();
     $scheduleLayoutForm->readInputData();
     if ($scheduleLayoutForm->validate()) {
         $scheduleLayoutForm->execute();
         $request->redirect(null, null, null, 'scheduler');
     } else {
         $scheduleLayoutForm->display();
     }
 }
Beispiel #2
0
 /**
  * Save the schedule.
  */
 function saveScheduleLayout()
 {
     $this->validate();
     $this->setupTemplate(true);
     $schedConf =& Request::getSchedConf();
     import('manager.form.scheduler.ScheduleLayoutForm');
     $scheduleLayoutForm = new ScheduleLayoutForm();
     $scheduleLayoutForm->readInputData();
     if ($scheduleLayoutForm->validate()) {
         $scheduleLayoutForm->execute();
         Request::redirect(null, null, null, 'scheduler');
     } else {
         $scheduleLayoutForm->display();
     }
 }