Пример #1
0
 /**
  * Create experiment -- the collection of levers for this group
  *
  * Using parent method to do the creation then set levers for group
  *
  * @since 0.4.0
  *
  * @access protected
  */
 protected function create_experiment()
 {
     parent::create_experiment();
     if (is_object($this->experiment)) {
         $levers[$this->get_ID()] = $this->experiment->getLevers();
         $this->obj->update_levers($levers);
     } else {
         //@todo
     }
 }
Пример #2
0
 protected function create_experiment()
 {
     parent::create_experiment();
     $levers[$this->get_ID()] = $this->experiment->getLevers();
     $this->obj->update_levers($levers);
 }