// Comment useless line in order to clean this

// Add table and identifier to CartRule class
This commit is contained in:
aFolletete
2011-12-03 09:56:38 +00:00
parent d26a41caaf
commit a0f787ea32
2 changed files with 6 additions and 2 deletions
+3
View File
@@ -62,6 +62,9 @@ class CartRuleCore extends ObjectModel
'identifier' => 'id_cart_rule',
);
protected $table = 'cart_rule';
protected $identifier = 'id_cart_rule';
protected $fieldsRequired = array('date_from', 'date_to');
protected $fieldsSize = array('code' => 254, 'description' => 65534);
protected $fieldsValidate = array(