Example #1
0
 public function setParser(reflector\domed $parent)
 {
     parent::setParser($parent);
     if ($this->main) {
         $this->main->setParser($parent);
     }
     if ($this->sub) {
         $this->sub->setParser($parent);
     }
     if ($this->local) {
         $this->local->setParser($parent);
     }
 }
Example #2
0
 public function getPathFile(crud\Pathed $path)
 {
     $file = $this->getFile();
     $sMode = $path->getAlias();
     if ($sMode) {
         $result = $this->getManager()->getCachedFile($file, ".{$sMode}.php");
     } else {
         $result = $this->loadSelfTarget($file);
     }
     return $result;
 }
Example #3
0
 protected function addPath(crud\Pathed $path)
 {
     if (!$path->getName()) {
         $this->setDefault($path);
     }
     $this->importComponent($path);
     $this->aPaths[$path->getName()] = $path;
 }