public function __construct(core\argument $args, core\argument $post) { parent::__construct($args, $post); if (!$this->getDirectory('', false)) { $this->setDirectory($this->getManager(self::FILE_MANAGER)->getDirectory(self::DIRECTORY)); } }
protected function buildChild(core\argument $child) { if ($child->getName() === 'module') { $aResult = $this->buildModule($child); } else { $aResult = parent::buildChild($child); } return $aResult; }