aboutsummaryrefslogtreecommitdiff
path: root/app/class/controllertimeline.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2019-01-12 15:52:55 +0100
committervincent-peugnet <v.peugnet@free.fr>2019-01-12 19:51:41 +0100
commit36d878ac00f4df0a4ff54e2ea8355b323f0a87f3 (patch)
tree7f0cc2f2337764618ab43f6cd59e49f4c1ac9c89 /app/class/controllertimeline.php
parent393709dcf84776c760146722560816172167fe98 (diff)
downloadwcms-36d878ac00f4df0a4ff54e2ea8355b323f0a87f3.tar.gz
wcms-36d878ac00f4df0a4ff54e2ea8355b323f0a87f3.zip
add timeline class and event class
Diffstat (limited to 'app/class/controllertimeline.php')
-rw-r--r--app/class/controllertimeline.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/app/class/controllertimeline.php b/app/class/controllertimeline.php
new file mode 100644
index 0000000..5f80fc2
--- /dev/null
+++ b/app/class/controllertimeline.php
@@ -0,0 +1,26 @@
+<?php
+
+class Controllertimeline extends Controller
+{
+ /**@var Modeltimeline */
+ protected $eventmanager;
+
+ public function __construct($render) {
+ parent::__construct($render);
+ $this->eventmanager = new Modeltimeline;
+ }
+
+ public function desktop()
+ {
+ var_dump($this->eventmanager->list());
+ }
+}
+
+
+
+
+
+
+
+
+?> \ No newline at end of file