Exemplo n.º 1
0
 protected function process_data(&$signal)
 {
     $result = parent::process_data($signal);
     if ($result === false) {
         return false;
     }
     if (!isset($this->group)) {
         $this->log('object $group property not set - cannot work!', LL_PANIC);
         die;
     }
     if (!isset($this->name)) {
         $this->log('object $name property not set - cannot work!', LL_PANIC);
         die;
     }
     $result = $this->new_param($signal);
     if (is_null($result)) {
         return false;
     }
     $this->set_jobdata($result);
     return $result;
 }
Exemplo n.º 2
0
 protected function set_params($params)
 {
     $this->_set_param($params, 'name');
     $this->_set_param($params, 'group');
     return parent::set_params($params);
 }