// 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
+5 -5
View File
@@ -41,10 +41,10 @@ class AdminAccessController extends AdminController
}
/**
* AdminController::initForm() override
* @see AdminController::initForm()
* AdminController::renderForm() override
* @see AdminController::renderForm()
*/
public function initForm()
public function renderForm()
{
$current_profile = (int)$this->getCurrentProfileId();
$profiles = Profile::getProfiles($this->context->language->id);
@@ -83,7 +83,7 @@ class AdminAccessController extends AdminController
'link' => $this->context->link
);
return parent::initForm();
return parent::renderForm();
}
/**
@@ -101,7 +101,7 @@ class AdminAccessController extends AdminController
if (!$this->loadObject(true))
return;
$this->content .= $this->initForm();
$this->content .= $this->renderForm();
$this->context->smarty->assign(array(
'content' => $this->content,