<?php// equivalent of filters, bring in resources. This sets these resource// objects to scope variables, eg: $dba, $options, $users:resources { 'dba', 'options', 'users',}// default action:action { $dba('table_name')->findAll(); $dba()->query("SELECT * FROM moo"); $options['blog_name'];}// test action, arguments passed hint at the route structure:action 'test' (int $a, '[a-zA-Z0-9]' $b, bool $c) { echo 'action in here!';}// custom controller for missing action, without this there would be a// 404 error page:default {}