19 lines
219 B
PHP
19 lines
219 B
PHP
<?php
|
|
|
|
class ExampleController extends Controller{
|
|
|
|
public function index(){
|
|
echo 'example';
|
|
|
|
// TODO:
|
|
// - set view
|
|
// - process POST variables
|
|
// ...
|
|
}
|
|
|
|
public function subpage(){
|
|
echo 'subpage';
|
|
}
|
|
|
|
}
|