PHP_SMART_HOME_V3/app/controllers/ExampleController.php
2020-05-04 21:19:14 +02:00

15 lines
214 B
PHP

<?php
class ExampleController extends Controller{
public function index(){
$this->view->title = 'Example title';
$this->view->render('example.phtml');
}
public function subpage(){
echo 'subpage';
}
}