// Rename AdminController methods initForm() initList() etc. to renderForm() renderList()
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10799 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user