// 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
@@ -96,16 +96,16 @@ class AdminEmployeesControllerCore extends AdminController
parent::__construct();
}
public function initList()
public function renderList()
{
$this->_select = 'pl.`name` AS profile';
$this->_join = 'LEFT JOIN `'._DB_PREFIX_.'profile` p ON a.`id_profile` = p.`id_profile`
LEFT JOIN `'._DB_PREFIX_.'profile_lang` pl ON (pl.`id_profile` = p.`id_profile` AND pl.`id_lang` = '.(int)$this->context->language->id.')';
return parent::initList();
return parent::renderList();
}
public function initForm()
public function renderForm()
{
if (!($obj = $this->loadObject(true)))
return;
@@ -262,7 +262,7 @@ class AdminEmployeesControllerCore extends AdminController
$this->fields_value['passwd'] = false;
return parent::initForm();
return parent::renderForm();
}
protected function _childValidation()