Exemplo n.º 1
0
 /**
  * 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), '/') . '/';
 }
Exemplo n.º 2
0
Arquivo: fun.php Projeto: 318io/318-io
 function __construct(array $a)
 {
     parent::__construct($a);
 }