* complete task #234:Unified way to adjust the view assignment.

This commit is contained in:
fujia
2010-07-04 03:25:36 +00:00
parent 168808c9e9
commit e5736447ec
13 changed files with 211 additions and 211 deletions
+5 -5
View File
@@ -27,11 +27,11 @@ class search extends control
{
$this->search->initSession($module, $searchFields, $fieldParams);
$this->assign('module', $module);
$this->assign('groupItems', $this->config->search->groupItems);
$this->assign('searchFields', $searchFields);
$this->assign('actionURL', $actionURL);
$this->assign('fieldParams', $this->search->setDefaultParams($searchFields, $fieldParams));
$this->view->module = $module;
$this->view->groupItems = $this->config->search->groupItems;
$this->view->searchFields = $searchFields;
$this->view->actionURL = $actionURL;
$this->view->fieldParams = $this->search->setDefaultParams($searchFields, $fieldParams);
$this->display();
}