// 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
@@ -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()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user