// Rename AdminController methods initForm() initList() etc. to renderForm() renderList()

This commit is contained in:
tDidierjean committed 2011-11-30 11:06:38 +00:00
1 parent ef2c7480ec
commit aefa581603
70 files changed
+328 -327

No files matched your search

+3 -3
View File
@@ -225,13 +225,13 @@ class AdminSearchControllerCore extends AdminController
$this->toolbar_title = $this->l('Search results');
}
public function initView()
public function renderView()
{
$this->tpl_view_vars['query'] = $this->query;
$this->tpl_view_vars['show_toolbar'] = true;
if (sizeof($this->_errors))
return parent::initView();
return parent::renderView();
else
{
$helper = new HelperList();
@@ -274,7 +274,7 @@ class AdminSearchControllerCore extends AdminController
}
$this->tpl_view_vars['customers'] = $view;
}
return parent::initView();
return parent::renderView();
}
}
}