コード例 #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
ファイル: webfont.php プロジェクト: shads196770/cbox-theme
 /**
  */
 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
ファイル: export.php プロジェクト: nathan929/infinity
 /**
  */
 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
ファイル: script.php プロジェクト: shads196770/cbox-theme
 /**
  */
 public function get_property($name)
 {
     switch ($name) {
         case 'alias':
         case 'ready':
         case 'function':
             return $this->{$name};
         default:
             return parent::get_property($name);
     }
 }