Beispiel #1
0
 public function __get($name)
 {
     switch ($name) {
         case 'videoStats':
             return $this->_videoStats;
         default:
             return parent::__get($name);
     }
 }
Beispiel #2
0
 public function __get($name)
 {
     switch ($name) {
         case 'name':
             return $this->_name;
         default:
             return parent::__get($name);
     }
 }
Beispiel #3
0
 public function __get($key)
 {
     switch ($key) {
         case 'width':
             return $this->_width;
         case 'height':
             return $this->_height;
         default:
             return parent::__get($key);
     }
 }