diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2019-08-21 11:35:40 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2019-08-21 11:35:40 +0200 |
commit | 63202efc75a63ef30e58c12d602ea95a960a0976 (patch) | |
tree | 1c8bc40941ab8abdb18f68066d6ab64674f465d5 /app/class/optlist.php | |
parent | 388bd7c3aff8b440febd83598003f96d5a746505 (diff) | |
download | wcms-63202efc75a63ef30e58c12d602ea95a960a0976.tar.gz wcms-63202efc75a63ef30e58c12d602ea95a960a0976.zip |
New feature : bookmarks
- public bookmarks stored in config.json
- personnal bookmarks stored in user data
Diffstat (limited to 'app/class/optlist.php')
-rw-r--r-- | app/class/optlist.php | 29 |
1 files changed, 6 insertions, 23 deletions
diff --git a/app/class/optlist.php b/app/class/optlist.php index 5190596..11e6f72 100644 --- a/app/class/optlist.php +++ b/app/class/optlist.php @@ -2,11 +2,11 @@ class Optlist extends Opt { - private $description = 0; - private $thumbnail = 0; - private $date = 0; - private $author = 0; - private $style = 0; + protected $description = 0; + protected $thumbnail = 0; + protected $date = 0; + protected $author = 0; + protected $style = 0; @@ -18,24 +18,6 @@ class Optlist extends Opt } } - - /** - * Get the query as http string - * - * @return string The resulted query - */ - public function getquery() : string - { - $class = get_class_vars(get_class($this)); - $object = get_object_vars($this); - $class['artvarlist'] = $object['artvarlist']; - $class['taglist'] = $object['taglist']; - $class['authorlist'] = $object['authorlist']; - $query = array_diff_assoc_recursive($object, $class); - - return urldecode(http_build_query($query)); - } - /** * Get the code to insert directly */ @@ -46,6 +28,7 @@ class Optlist extends Opt + // _______________________________________ G E T _____________________________________ |