private function _setView($view) { $path = App::getPathApp() . 'View' . DIRECTORY_SEPARATOR; $file = Ds::getFile($view); $this->_view = $path . $file; return $this; }
public function __construct($file, $dirApp = NULL) { $path = App::getPathApp(); if ($dirApp) { $path = '' . App::getPathRoot() . Ds::getFilterSeparator($dirApp) . DIRECTORY_SEPARATOR . ''; } self::$_file = new FileVo(); self::$_file->setPath($path . 'Config'); self::$_file->setName($file); }