Пример #1
0
 public function indexAction()
 {
     $config = Config::singleton();
     require $config->get('modelsFolder') . 'indexModel.php';
     $db = new indexModel();
     $this->data["hello"] = $db->example();
     $this->view->show("index.php", $this->data);
 }