From 59e670424ef9d7769e4252fe0f83e42d39a5c9b4 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Wed, 21 Aug 2019 15:25:53 +0200 Subject: Fix : get list code moved to selection --- app/class/optlist.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'app/class/optlist.php') diff --git a/app/class/optlist.php b/app/class/optlist.php index 11e6f72..1fed661 100644 --- a/app/class/optlist.php +++ b/app/class/optlist.php @@ -2,6 +2,7 @@ class Optlist extends Opt { + protected $title = 1; protected $description = 0; protected $thumbnail = 0; protected $date = 0; @@ -32,6 +33,11 @@ class Optlist extends Opt // _______________________________________ G E T _____________________________________ + public function title() + { + return $this->title; + } + public function description() { return $this->description; @@ -58,9 +64,13 @@ class Optlist extends Opt } - // _______________________________________ S E T _____________________________________ + public function settitle($title) + { + $this->title = intval($title); + } + public function setdescription($description) { $this->description = intval($description); -- cgit v1.2.3