[*] PROJECT : New Module API (part 1)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9790 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -84,7 +84,7 @@ class AdminFeaturesValues extends AdminTab
|
||||
echo '
|
||||
</select><sup> *</sup>
|
||||
</div>
|
||||
'.Module::hookExec('featureValueForm', array('id_feature_value' => $obj->id)).'
|
||||
'.Hook::exec('featureValueForm', array('id_feature_value' => $obj->id)).'
|
||||
<div class="margin-form">
|
||||
<input type="submit" value="'.$this->l(' Save ').'" name="submitAdd'.$this->table.'" class="button" />
|
||||
</div>
|
||||
@@ -98,7 +98,7 @@ class AdminFeaturesValues extends AdminTab
|
||||
*/
|
||||
public function postProcess($token = NULL)
|
||||
{
|
||||
Module::hookExec('postProcessFeatureValue',
|
||||
Hook::exec('postProcessFeatureValue',
|
||||
array('errors' => &$this->_errors)); // send _errors as reference to allow postProcessFeatureValue to stop saving process
|
||||
|
||||
if(Tools::getValue('submitDel'.$this->table))
|
||||
@@ -121,4 +121,4 @@ class AdminFeaturesValues extends AdminTab
|
||||
else
|
||||
parent::postProcess();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user