1234567891011121314151617181920212223242526 |
- <?php
- namespace daswork;
- use daswork\View;
- class Controller
- {
-
- protected $view;
- public function __construct()
- {
- $this->view = new View();
- }
-
- public function fetch($file = "")
- {
- return $this->view->fetch($file);
- }
- public function assign($name, $value)
- {
- return $this->view->assign($name, $value);
- }
- }
|