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

This commit is contained in:
tDidierjean
2011-11-30 11:06:38 +00:00
parent ef2c7480ec
commit aefa581603
70 changed files with 328 additions and 327 deletions
+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();
}
}
}