diff options
| author | polo <ordipolo@gmx.fr> | 2021-09-03 01:16:43 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2021-09-03 01:16:43 +0200 |
| commit | 9a552c6b751f25bac9e816cf605fb972da8b9e27 (patch) | |
| tree | 846d8b29fbf035305700a1aa91c7f20d2502136f /model | |
| parent | 10954c386cacb270e4ae16837483120ca3406259 (diff) | |
| download | melaine-9a552c6b751f25bac9e816cf605fb972da8b9e27.tar.gz melaine-9a552c6b751f25bac9e816cf605fb972da8b9e27.tar.bz2 melaine-9a552c6b751f25bac9e816cf605fb972da8b9e27.zip | |
albums2
Diffstat (limited to 'model')
| -rw-r--r-- | model/Classes.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/model/Classes.php b/model/Classes.php index 1349cd7..1846ce3 100644 --- a/model/Classes.php +++ b/model/Classes.php | |||
| @@ -119,6 +119,10 @@ class OneArticle extends AllArticles | |||
| 119 | { | 119 | { |
| 120 | return(file_get_contents($this->fileName)); | 120 | return(file_get_contents($this->fileName)); |
| 121 | } | 121 | } |
| 122 | public static function readOneAlbum($albumCode) | ||
| 123 | { | ||
| 124 | return(file_get_contents('data/discographie/html/' . $albumCode . '.html')); | ||
| 125 | } | ||
| 122 | 126 | ||
| 123 | // pour afficher des dates | 127 | // pour afficher des dates |
| 124 | /*public function getDate($fileNumber) | 128 | /*public function getDate($fileNumber) |
