Example #1
0
 protected function build(builder\Router $root)
 {
     $path = $root->getPath($this->readx('@path', false));
     /*
         if ($path == $this->getRoot()->getView()) {
     
           $this->launchException('Recursive call detected', get_defined_vars());
         }
     */
     return $root->callScript($root->getPathFile($path), $this->getWindow(), '\\sylma\\dom\\handler', false);
 }