PHP_SMART_HOME_V3/app/controllers/ExampleController.php

15 lines
214 B
PHP
Raw Permalink Normal View History

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