// 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
2011-11-30 11:06:38 +00:00
parent 12261242e3
commit f9c4410e8d
70 changed files with 328 additions and 327 deletions
+4 -4
View File
@@ -58,7 +58,7 @@ class AdminCmsControllerCore extends AdminController
parent::__construct();
}
public function initForm()
public function renderForm()
{
$this->display = 'edit';
$this->toolbar_btn['save-and-preview'] = array(
@@ -170,10 +170,10 @@ class AdminCmsControllerCore extends AdminController
'active' => $this->object->active
);
return parent::initForm();
return parent::renderForm();
}
public function initList()
public function renderList()
{
$this->toolbar_title = $this->l('Pages in this category');
$this->toolbar_btn['new'] = array(
@@ -181,7 +181,7 @@ class AdminCmsControllerCore extends AdminController
'desc' => $this->l('Add new')
);
return parent::initList();
return parent::renderList();
}
public function displayList($token = NULL)