// Remove $table and $identifier property from all classes, and add static $definition instead
This commit is contained in:
+4
-3
@@ -68,9 +68,10 @@ abstract class ModuleCore
|
||||
|
||||
protected $_errors = false;
|
||||
|
||||
protected $table = 'module';
|
||||
|
||||
protected $identifier = 'id_module';
|
||||
public static $definition = array(
|
||||
'table' => 'module',
|
||||
'primary' => 'id_module',
|
||||
);
|
||||
|
||||
public static $_db;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user