Exemple #1
0
 /**
  * Делегирование не найденых методов union маппера.
  * В основном используется для map_ методов union мапперов
  */
 public function __call($method, $args)
 {
     try {
         return parent::__call($method, $args);
     } catch (Core_MissingMethodException $e) {
     }
     foreach ($this->options['union'] as $key => $mapper) {
         $mapper = call_user_func_array(array($mapper, $method), $args);
         $this->union($mapper, $key);
     }
     return $this;
 }