// Rename AdminController methods initForm() initList() etc. to renderForm() renderList()

This commit is contained in:
tDidierjean
2011-11-30 11:06:38 +00:00
parent ef2c7480ec
commit aefa581603
70 changed files with 328 additions and 327 deletions
@@ -50,7 +50,7 @@ class AdminRangeWeightControllerCore extends AdminController
parent::__construct();
}
public function initForm()
public function renderForm()
{
$carriers = Carrier::getCarriers($this->context->language->id, true , false, false, NULL, Carrier::PS_CARRIERS_AND_CARRIER_MODULES_NEED_RANGE);
foreach ($carriers AS $key => $carrier)
@@ -101,7 +101,7 @@ class AdminRangeWeightControllerCore extends AdminController
)
);
return parent::initForm();
return parent::renderForm();
}
public function getList($id_lang, $order_by = null, $order_way = null, $start = 0, $limit = null, $id_lang_shop = false)