// 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:
tDidierjean committed 2011-11-30 11:06:38 +00:00
1 parent 12261242e3
commit f9c4410e8d
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();
}
}
}