aboutsummaryrefslogtreecommitdiff
path: root/app/class/Page.php
diff options
context:
space:
mode:
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"));