From 0d863868d69d9e2c9ae3f6f0b22b4d3a1be73ee2 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Sat, 17 Aug 2019 00:02:21 +0200 Subject: Feature : list is going to work soon --- app/class/modelhome.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'app/class/modelhome.php') diff --git a/app/class/modelhome.php b/app/class/modelhome.php index 5b3b5a5..3347edf 100644 --- a/app/class/modelhome.php +++ b/app/class/modelhome.php @@ -19,6 +19,22 @@ class Modelhome extends Modelart return $opt; } + /** + * Initialise Optlist object using + * + * @param array $table the list of all pages objects + * + * @return Optlist Object initialized + */ + public function Optlistinit(array $table) + { + $optlist = new Optlist(Art2::classvarlist()); + $optlist->settaglist($table); + $optlist->setauthorlist($table); + + return $optlist; + } + -- cgit v1.2.3