// 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
@@ -68,7 +68,7 @@ class AdminGroupsController extends AdminController
$this->addJqueryUi('ui.sortable');
}
public function initView()
public function renderView()
{
$this->context = Context::getContext();
if (!($group = $this->loadObject(true)))
@@ -80,7 +80,7 @@ class AdminGroupsController extends AdminController
'categorieReductions' => $this->formatCategoryDiscountList($group->id)
);
return parent::initView();
return parent::renderView();
}
protected function initCustomersList($group)
@@ -116,7 +116,7 @@ class AdminGroupsController extends AdminController
return $helper->generateList($customer_list, $customer_fields_display);
}
public function initForm()
public function renderForm()
{
if (!($group = $this->loadObject(true)))
return;
@@ -194,7 +194,7 @@ class AdminGroupsController extends AdminController
);
$this->tpl_form_vars['categoryTreeView'] = Helper::renderAdminCategorieTree($trads, array(), 'id_category', true);
return parent::initForm();
return parent::renderForm();
}