PHP Class Routes, routes

Show file Open project: simonhamp/routes Class Usage Examples

Protected Properties

Property Type Description
$allow_query
$routes

Public Methods

Method Description
add ( $src, $dest = null )
reverseRoute ( $controller, $root = "/" )
route ( $uri )

Method Details

add() public static method

public static add ( $src, $dest = null )

reverseRoute() public static method

public static reverseRoute ( $controller, $root = "/" )

route() public static method

public static route ( $uri )

Property Details

$allow_query protected static property

protected static $allow_query

$routes protected static property

protected static $routes