Jump to content

Stéphane Dessaint

Members
  • Posts

    1
  • Joined

  • Last visited

Profile Information

  • First Name
    Stéphane
  • Last Name
    Dessaint

Stéphane Dessaint's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. public function getContent() { $output = null; if ( Tools::isSubmit('delete'.$this->name) ) { $this->deleteLine(); } if (Tools::isSubmit('submit'.$this->name)) { $my_module_name = strval(Tools::getValue('PRESTA_MODULE_BETA')); if (!$my_module_name || empty($my_module_name) || !Validate::isGenericName($my_module_name)) $output .= $this->displayError($this->l('Invalid Configuration value')); else { Configuration::updateValue('PRESTA_MODULE_BETA', $my_module_name); $output .= $this->displayConfirmation($this->l('Settings updated')); } } return $output.$this->initList(); } When you delete line, he will call function ''deleteLine()" with param in $_REQUEST
×
×
  • Create New...