コード例 #1
0
 function getScheduleObject()
 {
     if (is_object($this->schedule_obj)) {
         return $this->schedule_obj;
     } else {
         if ($this->getScheduleID() !== FALSE) {
             $slf = new ScheduleListFactory();
             $slf->getById($this->getScheduleID());
             if ($slf->getRecordCount() > 0) {
                 $this->schedule_obj = $slf->getCurrent();
                 return $this->schedule_obj;
             }
         }
         return FALSE;
     }
 }