// Remove $table and $identifier property from all classes, and add static $definition instead

This commit is contained in:
rMalie
2011-12-05 13:56:03 +00:00
parent e501530475
commit b59ddba454
87 changed files with 394 additions and 214 deletions
+5 -2
View File
@@ -42,8 +42,11 @@ class AttributeGroupCore extends ObjectModel
protected $fieldsSizeLang = array('name' => 64, 'public_name' => 64);
protected $fieldsValidateLang = array('name' => 'isGenericName', 'public_name' => 'isGenericName', 'position' => 'isInt');
protected $table = 'attribute_group';
protected $identifier = 'id_attribute_group';
public static $definition = array(
'table' => 'attribute_group',
'primary' => 'id_attribute_group',
'multilang' => true,
);
protected $webserviceParameters = array(
'objectsNodeName' => 'product_options',