aboutsummaryrefslogtreecommitdiff
path: root/app/class/controllerfont.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-11-29 00:03:00 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-11-29 00:03:00 +0100
commit6e3ad2f1355e5f474cc02ab3b9eebe881dbb04ee (patch)
treef41a8fcdb5a8ef412a408ae637defb2985f5d3b1 /app/class/controllerfont.php
parentafad95324de8f078e9f3dedc66df66b6c2eebe72 (diff)
downloadwcms-6e3ad2f1355e5f474cc02ab3b9eebe881dbb04ee.tar.gz
wcms-6e3ad2f1355e5f474cc02ab3b9eebe881dbb04ee.zip
fonts
Diffstat (limited to 'app/class/controllerfont.php')
-rw-r--r--app/class/controllerfont.php33
1 files changed, 33 insertions, 0 deletions
diff --git a/app/class/controllerfont.php b/app/class/controllerfont.php
new file mode 100644
index 0000000..29064d2
--- /dev/null
+++ b/app/class/controllerfont.php
@@ -0,0 +1,33 @@
+<?php
+
+class Controllerfont extends Controller
+{
+
+ protected $fontmanager;
+
+ public function __construct($router)
+ {
+ parent::__construct($router);
+ $this->fontmanager = new Modelfont();
+
+ }
+
+ public function desktop()
+ {
+ var_dump($this->fontmanager->getfontlist());
+ }
+
+ public function render()
+ {
+ $this->fontmanager->renderfontface();
+ $this->routedirect('font');
+ }
+
+ public function addfont()
+ {
+
+ }
+}
+
+
+?> \ No newline at end of file