Routes
What are the routes for?
The route functions
/**
* $id - Shortname of the route
* $regexp - Regular expression of the url
* $url - Required to be able to create the nice-looking url
* $file - file that will be loaded
*/
osc_add_route($id, $regexp, $url, $file)
Later we just need to get the url:Examples
Notes
Example plugin
Last updated
Was this helpful?