PHP Class Routes, routes

Exibir arquivo 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_oe static_oe property

protected static $allow_query

$routes protected_oe static_oe property

protected static $routes