PHP Class router, kirby

Exibir arquivo Open project: bastianallgeier/kirby Class Usage Examples

Public Properties

Property Type Description
$not_found
$params
$routes

Public Methods

Method Description
call ( $callback )
delete ( $url, $callback )
get ( $url, $callback )
map ( )
not_found ( $callback )
param ( $key, $default = null )
post ( $url, $callback )
put ( $url, $callback )
run ( $routes = null )
set ( $methods, $url, $callback = null )
to ( $url )

Method Details

call() public method

public call ( $callback )

delete() public method

public delete ( $url, $callback )

get() public method

public get ( $url, $callback )

map() public method

public map ( )

not_found() public method

public not_found ( $callback )

param() public method

public param ( $key, $default = null )

post() public method

public post ( $url, $callback )

put() public method

public put ( $url, $callback )

run() public method

public run ( $routes = null )

set() public method

public set ( $methods, $url, $callback = null )

to() public method

public to ( $url )

Property Details

$not_found public_oe static_oe property

public static $not_found

$params public_oe static_oe property

public static $params

$routes public_oe static_oe property

public static $routes