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

This commit is contained in:
rMalie committed 2011-12-05 13:56:03 +00:00
1 parent f820b60c3d
commit d3a24b8622
87 files changed
+394 -214

No files matched your search

+4 -2
View File
@@ -83,8 +83,10 @@ class WarehouseCore extends ObjectModel
'id_currency' => 'isUnsignedId'
);
protected $table = 'warehouse';
protected $identifier = 'id_warehouse';
public static $definition = array(
'table' => 'warehouse',
'primary' => 'id_warehouse',
);
public function getFields()
{