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