_beforeInit() 공개 메소드

Finds out which page is requested. We don't need this method for CLI, but others might need it.
public _beforeInit ( )
예제 #1
0
파일: Web.php 프로젝트: 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();
 }
예제 #2
0
파일: Web.php 프로젝트: samratcis/atk4
 /**
  * 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();
 }