Example #1
0
 /**
  * Check router for requested uri path
  *
  * @access private
  * @return void
  */
 private function checkRouter()
 {
     /*
     		check path handler from router
     */
     if (!empty($this->uriPath)) {
         $this->handlerName = ucfirst(strtolower($this->router->getPathHandler($this->uriPath)));
     }
     /*
     		if handler not defined, then manually search for handler based on path
     */
     if (!$this->handlerName) {
         $this->manualSetupHandler();
     }
 }