// Remove $table and $identifier property from all classes, and add static $definition instead
This commit is contained in:
1 parent
f820b60c3d
commit
d3a24b8622
87 files changed
+394
-214
No files matched your search
@@ -81,8 +81,10 @@ class CombinationCore extends ObjectModel
|
||||
'available_date' => 'isDateFormat',
|
||||
);
|
||||
|
||||
protected $table = 'product_attribute';
|
||||
protected $identifier = 'id_product_attribute';
|
||||
public static $definition = array(
|
||||
'table' => 'product_attribute',
|
||||
'primary' => 'id_product_attribute',
|
||||
);
|
||||
|
||||
protected $webserviceParameters = array(
|
||||
'objectNodeName' => 'combination',
|
||||
|
||||
Reference in new issue
Block a user