From c3e62c500b38104acaecc987621cfc03058729c0 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Wed, 8 Apr 2020 16:38:38 +0200 Subject: fix and clean Opt --- app/class/Page.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'app/class/Page.php') diff --git a/app/class/Page.php b/app/class/Page.php index eefbca7..da19f61 100644 --- a/app/class/Page.php +++ b/app/class/Page.php @@ -64,6 +64,11 @@ class Page extends Dbitem $this->hydrate($datas); } + public function getobjectvars() : array + { + return get_object_vars($this); + } + public function reset() { $now = new DateTimeImmutable(null, timezone_open("Europe/Paris")); -- cgit v1.2.3