diff options
| author | polo <ordipolo@gmx.fr> | 2023-02-25 17:30:20 +0100 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2023-02-25 17:30:20 +0100 |
| commit | b9c74de6d12ef40ab4baf67303ab22a10fcd5b32 (patch) | |
| tree | dea294f55810471ca2165811515dcd3c8d0e006e /src/model/Model.php | |
| parent | 9d8133643773912d54fb0c7d86ef04e6acffa8c9 (diff) | |
| download | AppliGestionPHP-b9c74de6d12ef40ab4baf67303ab22a10fcd5b32.tar.gz AppliGestionPHP-b9c74de6d12ef40ab4baf67303ab22a10fcd5b32.tar.bz2 AppliGestionPHP-b9c74de6d12ef40ab4baf67303ab22a10fcd5b32.zip | |
document locations, correction de pas mal de problèmes
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 |
