diff options
Diffstat (limited to 'w/class/controllerhome.php')
-rw-r--r-- | w/class/controllerhome.php | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/w/class/controllerhome.php b/w/class/controllerhome.php new file mode 100644 index 0000000..ecbc3c7 --- /dev/null +++ b/w/class/controllerhome.php @@ -0,0 +1,57 @@ +<?php + +class Controllerhome extends Controllerdb +{ + + protected $modelhome; + + public function __construct() { + parent::__construct(); + $this->modelhome = new Modelhome; + } + + + + + public function desktop() + { + echo '<h1>Desktop</h1>'; + + echo '<h2>Menu Bar</h2>'; + + $this->table2(); + } + + public function table2() + { + if ($this->useriseditor()) { + $datas = $this->modelhome->table2(); + + var_dump($datas); + + } + + } + + public function massedit() + { + echo '<h2>Mass Edit</h2>'; + + } + + + + + + + +} + + + + + + + + +?>
\ No newline at end of file |