diff options
Diffstat (limited to 'src/model/Model.php')
| -rw-r--r-- | src/model/Model.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/model/Model.php b/src/model/Model.php index 6a7907c..9039aa6 100644 --- a/src/model/Model.php +++ b/src/model/Model.php | |||
| @@ -7,11 +7,11 @@ abstract class Model extends DB | |||
| 7 | protected $table; // <= enfant | 7 | protected $table; // <= enfant |
| 8 | //static protected $tableStructure; | 8 | //static protected $tableStructure; |
| 9 | 9 | ||
| 10 | public function __construct() // à surcharger | 10 | //~ public function __construct() // à surcharger |
| 11 | { | 11 | //~ { |
| 12 | //~ $this->table = strtolower(__CLASS__); | 12 | //~ $this->table = strtolower(__CLASS__); |
| 13 | //~ echo "TABLE = " . $this->table . "\n"; | 13 | //~ echo "TABLE = " . $this->table . "\n"; |
| 14 | } | 14 | //~ } |
| 15 | 15 | ||
| 16 | // getters | 16 | // getters |
| 17 | public function getTable(): string | 17 | public function getTable(): string |
