[*] PROJECT : New Module API (part 1)

This commit is contained in:
fSerny
2011-11-02 10:49:01 +00:00
parent 7f830c2f4e
commit d5e265f75e
53 changed files with 640 additions and 339 deletions
+2 -2
View File
@@ -167,7 +167,7 @@ class CartCore extends ObjectModel
public function add($autodate = true, $nullValues = false)
{
$return = parent::add($autodate);
Module::hookExec('cart');
Hook::exec('cart');
return $return;
}
@@ -179,7 +179,7 @@ class CartCore extends ObjectModel
unset(self::$_totalWeight[$this->id]);
$this->_products = NULL;
$return = parent::update();
Module::hookExec('cart');
Hook::exec('cart');
return $return;
}