About Other methods
Other Fegg\Application methods you can call with $this->... in a controller.
Config
Load config files from site/config/ and read the settings.
Application::loadConfig
Load a config file
Application::getSetting
Get a value from the settings
Ticket
A ticket protects form processing. setTicket() creates a random string, stores it in the session and adds it to the form as a hidden field (output with {{ hidden }}). When the form is posted, useTicket() checks that the posted value matches the session and then removes it, so the same form cannot be processed twice.
Application::setTicket
Issue a one-time ticket for a form
Application::useTicket
Check a one-time ticket and use it up
Redirect
redirect() ends the response by throwing Fegg\Http\Halt, like displayPage(). Never write exit in a controller; use $this->halt() (see Ending a response).