コード例 #1
0
ファイル: Object.php プロジェクト: romartyn/cogear
 /**
  * Constructor
  *  
  * @param string $template 
  */
 public function __construct($name, $template = NULL, $base_uri = NULL)
 {
     parent::__construct($name);
     cogear()->menu->register($name, $this);
     $template && ($this->template = $template);
     $this->base_uri = rtrim(parse_url($base_uri ? $base_uri : Url::link(), PHP_URL_PATH), '/') . '/';
 }
コード例 #2
0
ファイル: fun.php プロジェクト: 318io/318-io
 function __construct(array $a)
 {
     parent::__construct($a);
 }