// 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:
@@ -46,7 +46,7 @@ class AdminRequestSqlControllerCore extends AdminController
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function initList()
|
||||
public function renderList()
|
||||
{
|
||||
$this->displayWarning($this->l('When saving the query, only the request type "SELECT" are allowed.'));
|
||||
$this->displayInformation('
|
||||
@@ -73,10 +73,10 @@ class AdminRequestSqlControllerCore extends AdminController
|
||||
)
|
||||
);
|
||||
|
||||
return parent::initList();
|
||||
return parent::renderList();
|
||||
}
|
||||
|
||||
public function initForm()
|
||||
public function renderForm()
|
||||
{
|
||||
$this->fields_form = array(
|
||||
'legend' => array(
|
||||
@@ -105,10 +105,10 @@ class AdminRequestSqlControllerCore extends AdminController
|
||||
)
|
||||
);
|
||||
|
||||
return parent::initForm();
|
||||
return parent::renderForm();
|
||||
}
|
||||
|
||||
public function initView()
|
||||
public function renderView()
|
||||
{
|
||||
if (!($obj = $this->loadObject(true)))
|
||||
return;
|
||||
@@ -133,7 +133,7 @@ class AdminRequestSqlControllerCore extends AdminController
|
||||
$this->tpl_view_vars = array(
|
||||
'view' => $view
|
||||
);
|
||||
return parent::initView();
|
||||
return parent::renderView();
|
||||
}
|
||||
|
||||
public function _childValidation()
|
||||
|
||||
Reference in New Issue
Block a user