// Comment useless line in order to clean this

// Add table and identifier to CartRule class

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10889 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
aFolletete
2011-12-03 09:56:38 +00:00
parent cdb5de9dd3
commit 911c8ad6c4
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(