Beispiel #1
0
 private function _prepare()
 {
     $position = new Uri\Position(0);
     $controller = $position->getSegment();
     $this->controller = self::_getCapitalize($controller);
     return $this;
 }
Beispiel #2
0
 private function _startUri()
 {
     $namespaceController = new Uri\ControllerToNamespaces();
     $action = new Uri\Position(1);
     $this->_controller = $namespaceController->getSegment();
     $this->_action = $action->getSegment();
 }