/** * Set class name of view to use * * @param string $className Class name of View * @return void */ public function setViewClass($className) { if ($className == 'ViewSmarty') { $curryPath = PathManager::getFrameworkRoot(); if (file_exists($curryPath . '/Smarty/libs/Smarty.class.php')) { require_once $curryPath . '/Smarty/libs/Smarty.class.php'; } } $this->_viewClassName = $className; }