Example #1
0
 /**
  * Pass unrecognized method calls on to the original data object
  *
  * @param string $method 
  * @param string $args
  * @return mixed
  */
 public function __call($method, $args)
 {
     if (parent::hasMethod($method)) {
         return parent::__call($method, $args);
     } else {
         return call_user_func_array(array($this->copyContentFrom(), $method), $args);
     }
 }