Exemplo n.º 1
0
 public function __construct($values = array())
 {
     parent::__construct($values);
     if (!count($this)) {
         $this->mergeDefault();
     }
 }
Exemplo n.º 2
0
 public function __construct($currentPage = null, $url = null)
 {
     parent::__construct();
     if (!is_null($currentPage)) {
         $this[CURRENT_PAGE] = $currentPage;
         $p = \PMVC\plug('pagination');
         $copyForm = clone $p['page'];
         unset($copyForm[BEGIN]);
         $p->process($this, $copyForm);
         $this[TYPE] = $copyForm[TYPE];
     }
     if (!is_null($url)) {
         $this[URL] = $url;
     }
 }
Exemplo n.º 3
0
 function __construct($url = null)
 {
     parent::__construct(null);
     $this->set($url);
 }
Exemplo n.º 4
0
 public function __construct($str)
 {
     parent::__construct();
     $this->rawDocBlock = $str;
     $this->parse();
 }