Documentation

routes.php

List of routes.

This file contains a list of possible routes. Routes work on the basis of simple regular expressions, if any get request matches a regular expression, the request is passed to the appropriate controller.

The key of the $routes array is a regular expression, and its value is the name of the controller, its method, and possible request variables.

This array is loaded into an instance of the Router class when it is created.

Table of Contents


        
On this page
  • Table Of Contents

Search results