Пример #1
0
 function handleRequest()
 {
     //$request = new Request();
     $request = core\ApplicationRegistry::getRequest();
     $app_c = core\ApplicationRegistry::appController();
     while ($cmd = $app_c->getCommand($request)) {
         $cmd->execute($request);
     }
     //\woo\domain\ObjectWatcher::instance()->performOperations();
     $this->invokeView($app_c->getView($request));
 }
Пример #2
0
 static function getRequest()
 {
     return core\ApplicationRegistry::getRequest();
 }