예제 #1
0
파일: icon.php 프로젝트: nathan929/infinity
 /**
  */
 public function get_property($name)
 {
     switch ($name) {
         case 'primary':
         case 'secondary':
             return $this->{$name};
         default:
             return parent::get_property($name);
     }
 }
예제 #2
0
 /**
  */
 public function get_property($name)
 {
     switch ($name) {
         case 'path':
             return $this->export->get_property('path');
         case 'url':
             return $this->export->get_property('url');
         default:
             return parent::get_property($name);
     }
 }
예제 #3
0
 /**
  */
 public function get_property($name)
 {
     switch ($name) {
         case 'name':
         case 'ext':
         case 'path':
         case 'url':
             return $this->{$name};
         default:
             return parent::get_property($name);
     }
 }
예제 #4
0
 /**
  */
 public function get_property($name)
 {
     switch ($name) {
         case 'alias':
         case 'ready':
         case 'function':
             return $this->{$name};
         default:
             return parent::get_property($name);
     }
 }