// changing name "available_date_combi" to "available_date" and some features

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8541 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2011-09-13 14:52:42 +00:00
parent 4e85800d20
commit e4a09c5222
11 changed files with 40 additions and 35 deletions
+3 -3
View File
@@ -51,7 +51,7 @@ class CombinationCore extends ObjectModel
public $default_on;
public $available_date_combi;
public $available_date;
protected $fieldsRequired = array(
'id_product',
@@ -78,7 +78,7 @@ class CombinationCore extends ObjectModel
'quantity' => 'isUnsignedInt',
'weight' => 'isFloat',
'default_on' => 'isBool',
'available_date_combi' => 'isDate',
'available_date' => 'isDateFormat',
);
protected $table = 'product_attribute';
@@ -111,7 +111,7 @@ class CombinationCore extends ObjectModel
$fields['quantity'] = (int)($this->quantity);
$fields['weight'] = pSQL($this->weight);
$fields['default_on'] = (int)($this->default_on);
$fields['available_date_combi'] = pSQL($this->available_date_combi);
$fields['available_date'] = pSQL($this->available_date);
return $fields;
}