// Renaming options to fields_options

This commit is contained in:
tDidierjean
2012-03-29 16:14:14 +00:00
parent 69afa5719d
commit e0664df6f8
31 changed files with 47 additions and 48 deletions
@@ -62,7 +62,7 @@ class AdminWebserviceControllerCore extends AdminController
);
if (file_exists(_PS_ROOT_DIR_.'/.htaccess'))
$this->options = array(
$this->fields_options = array(
'general' => array(
'title' => $this->l('Configuration'),
'fields' => array(
@@ -182,7 +182,7 @@ class AdminWebserviceControllerCore extends AdminController
*/
public function renderOptions()
{
if ($this->options && is_array($this->options))
if ($this->fields_options && is_array($this->fields_options))
{
$helper = new HelperOptions($this);
$this->setHelperDisplay($helper);
@@ -193,7 +193,7 @@ class AdminWebserviceControllerCore extends AdminController
));
$helper->id = $this->id;
$helper->tpl_vars = $this->tpl_option_vars;
$options = $helper->generateOptions($this->options);
$options = $helper->generateOptions($this->fields_options);
return $options;
}
@@ -207,7 +207,6 @@ class AdminWebserviceControllerCore extends AdminController
$this->display = '';
}
public function postProcess()
{
if (Tools::getValue('key') && strlen(Tools::getValue('key')) < 32)