예제 #1
0
파일: stream_file.php 프로젝트: kidaa30/yes
 /**
  * Returns the value of property $value.
  *
  * @throws ezcBasePropertyNotFoundException
  *         if the property does not exist.
  * @param string $name
  * @return mixed
  * @ignore
  */
 public function __get($name)
 {
     switch ($name) {
         case 'stream':
             return $this->properties[$name];
             break;
         default:
             return parent::__get($name);
             break;
     }
 }
예제 #2
0
 /**
  * Returns the value of property $value.
  *
  * @throws ezcBasePropertyNotFoundException
  *         if the property does not exist.
  * @param string $name
  * @return mixed
  * @ignore
  */
 public function __get($name)
 {
     switch ($name) {
         default:
             return parent::__get($name);
             break;
     }
 }