// 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
@@ -79,10 +79,10 @@ class AdminStockManagementControllerCore extends AdminController
}
/**
* AdminController::initList() override
* @see AdminController::initList()
* AdminController::renderList() override
* @see AdminController::renderList()
*/
public function initList()
public function renderList()
{
$this->addRowAction('details');
$this->addRowAction('addstock');
@@ -103,14 +103,14 @@ class AdminStockManagementControllerCore extends AdminController
$this->displayInformation($this->l('Through this interface, you can add and delete products for a given warehouse.'));
$this->displayInformation($this->l('Also, you can transfer products between warehouses, or within one warehouse.'));
return parent::initList();
return parent::renderList();
}
/**
* AdminController::initForm() override
* @see AdminController::initForm()
* AdminController::renderForm() override
* @see AdminController::renderForm()
*/
public function initForm()
public function renderForm()
{
$id_product = (int)Tools::getValue('id_product');
$id_product_attribute = (int)Tools::getValue('id_product_attribute');
@@ -967,7 +967,7 @@ class AdminStockManagementControllerCore extends AdminController
if ($product_is_valid === true && $is_pack == false && $is_virtual == false)
{
// init form
$this->initForm();
$this->renderForm();
$this->getlanguages();
$helper = new HelperForm();