示例#1
0
 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));
     }
 }
示例#2
0
 protected function buildChild(core\argument $child)
 {
     if ($child->getName() === 'module') {
         $aResult = $this->buildModule($child);
     } else {
         $aResult = parent::buildChild($child);
     }
     return $aResult;
 }