Example #1
0
 /**
  * Get information about all schedules for project
  *
  * @param int $page
  * @param int $per_page
  * @return mixed
  * @throws CException
  */
 public function workerGetSchedules($page = 0, $per_page = 30)
 {
     try {
         return $this->_worker->getSchedules($page, $per_page);
     } catch (Exception $e) {
         Yii::log('Error in IronWorker: ' . $e->getMessage(), 'error', 'ext.yiiron');
         throw new CException($e->getMessage());
     }
 }