// 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
@@ -110,7 +110,7 @@ class AdminLanguagesControllerCore extends AdminController
parent::__construct();
}
public function initList()
public function renderList()
{
$this->addRowAction('edit');
$this->addRowAction('delete');
@@ -119,10 +119,10 @@ class AdminLanguagesControllerCore extends AdminController
$this->specificConfirmDelete = $this->l('When you delete a language, ALL RELATED TRANSLATIONS IN THE DATABASE WILL BE DELETED, are you sure you want to delete this language?', __CLASS__, true, false);
$this->displayWarning($this->l('When you delete a language, all related translations in the database will be deleted.'));
return parent::initList();
return parent::renderList();
}
public function initForm()
public function renderForm()
{
$this->fields_form = array(
'legend' => array(
@@ -290,7 +290,7 @@ class AdminLanguagesControllerCore extends AdminController
$this->addJS(_PS_JS_DIR_.'checkLangPack.js');
return parent::initForm();
return parent::renderForm();
}
public function postProcess()