예제 #1
0
파일: Gear.php 프로젝트: romartyn/cogear
 /**
  * Magic __get method
  *
  * @param string $name
  * @return mixed
  */
 public function __get($name)
 {
     $parent = parent::__get($name);
     return $parent !== NULL ? $parent : (isset($this->current->{$name}) ? $this->current->{$name} : NULL);
 }