aboutsummaryrefslogtreecommitdiff
path: root/app/class/Page.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-04-08 16:38:38 +0200
committervincent-peugnet <v.peugnet@free.fr>2020-04-08 16:38:38 +0200
commitc3e62c500b38104acaecc987621cfc03058729c0 (patch)
tree8e71178b383055eb5bc659b04bb2da59dad6b778 /app/class/Page.php
parentb49830232096951202688bd775193424880bbd11 (diff)
downloadwcms-c3e62c500b38104acaecc987621cfc03058729c0.tar.gz
wcms-c3e62c500b38104acaecc987621cfc03058729c0.zip
fix and clean Opt
Diffstat (limited to 'app/class/Page.php')
-rw-r--r--app/class/Page.php5
1 files changed, 5 insertions, 0 deletions
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"));