// 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
@@ -219,7 +219,7 @@ class AdminModulesPositionsControllerCore extends AdminController
if (array_key_exists('addToHook', $_GET) OR array_key_exists('editGraft', $_GET) OR (Tools::isSubmit('submitAddToHook') AND $this->_errors))
{
$this->display = 'edit';
$this->content .= $this->initForm();
$this->content .= $this->renderForm();
}
else
$this->content .= $this->initMain();
@@ -287,7 +287,7 @@ class AdminModulesPositionsControllerCore extends AdminController
return $this->context->smarty->fetch('modules_positions/list_modules.tpl');
}
public function initForm()
public function renderForm()
{
// Init toolbar
$this->initToolbarTitle();