PHP_SMART_HOME_V3/www/app/controllers/ExampleController.php

15 lines
214 B
PHP
Raw Normal View History

2020-04-29 18:14:53 +00:00
<?php
class ExampleController extends Controller{
public function index(){
2020-05-04 19:19:14 +00:00
$this->view->title = 'Example title';
$this->view->render('example.phtml');
2020-04-29 18:14:53 +00:00
}
public function subpage(){
echo 'subpage';
}
}