示例#1
0
文件: Render.php 项目: 4app/zuniphp
 private function _setView($view)
 {
     $path = App::getPathApp() . 'View' . DIRECTORY_SEPARATOR;
     $file = Ds::getFile($view);
     $this->_view = $path . $file;
     return $this;
 }
示例#2
0
 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);
 }