Skip to content
Joe edited this page Oct 27, 2018 · 1 revision

App Class Routing

Routing

  • /myfunction would execute to (new myapp)->myfunction();
  • /myotherfunction would execute to (new myapp)->myotherfunction();
  • /myredirectedfunction if it was not a method, would execute to (new myapp)->main();

Main Function

When no method is provided in the URL or a method is provided in the URL that does not exist as a public function in the app class, the main() function is executed.

  • \lf\requestGet("Action")
  • \lf\requestGet("Param")

Clone this wiki locally