public static function showSearchForm() { $db = Zend_Registry::get('db'); $themePath = NET_PATH . "widgets/"; $host = self::$host; $view = new Zend_View(); $view->addScriptPath($themePath . "templates/"); $SearchForm['form'] = SearchController::_searchForm(); $SearchForm['host'] = $host; $view->assign($SearchForm); $scriptName = "search-form.phtml"; $partialOutput = $view->render($scriptName); return $partialOutput; }