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';
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|