_beforeInit() public method

Finds out which page is requested. We don't need this method for CLI, but others might need it.
public _beforeInit ( )
Esempio n. 1
0
File: Web.php Progetto: atk4/atk4
 /**
  * Executed before init, this method will initialize PageManager and
  * pathfinder.
  */
 public function _beforeInit()
 {
     $this->pm = $this->add($this->pagemanager_class, $this->pagemanager_options);
     /** @type Controller_PageManager $this->pm */
     $this->pm->parseRequestedURL();
     parent::_beforeInit();
 }
Esempio n. 2
0
 /**
  * Executed before init, this method will initialize PageManager and
  * pathfinder
  */
 function _beforeInit()
 {
     $this->pm = $this->add($this->pagemanager_class, $this->pagemanager_options);
     $this->pm->parseRequestedURL();
     parent::_beforeInit();
 }