예제 #1
0
파일: Gear.php 프로젝트: romartyn/cogear
 /**
  * Magic __call method
  *
  * @param   string  $name
  * @param   array   $args
  */
 public function __call($name, $args = array())
 {
     return method_exists($this->current, $name) ? call_user_func_array(array($this->current, $name), $args) : parent::__call($name, $args);
 }