From 9a552c6b751f25bac9e816cf605fb972da8b9e27 Mon Sep 17 00:00:00 2001 From: polo Date: Fri, 3 Sep 2021 01:16:43 +0200 Subject: albums2 --- model/Classes.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'model') 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 { return(file_get_contents($this->fileName)); } + public static function readOneAlbum($albumCode) + { + return(file_get_contents('data/discographie/html/' . $albumCode . '.html')); + } // pour afficher des dates /*public function getDate($fileNumber) -- cgit v1.2.3