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); } }
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; }
protected function addPath(crud\Pathed $path) { if (!$path->getName()) { $this->setDefault($path); } $this->importComponent($path); $this->aPaths[$path->getName()] = $path; }