function index()
 {
     $file = S2Object::locateThemeFile('modules', 'advanced_search');
     $this->fieldTags = $this->extractTags(file_get_contents($file));
     return $this->render('modules', 'advanced_search');
 }
Esempio n. 2
0
 function renderControllerView($controller, $name, $params = array(), $loadHelpers = false)
 {
     // Finds the view file
     $viewPath = S2Object::locateThemeFile($controller, $name, $this->ext);
     if ($viewPath) {
         $params = array_merge_recursive($params, $this->loaded);
         return $this->_render($viewPath, array_merge($this->viewVars, $params), $loadHelpers);
     }
 }