PHP 클래스 NoahBuscher\Macaw\Macaw

파일 보기 프로젝트 열기: codingbean/macaw 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$callbacks
$error_callback
$halts
$methods
$patterns
$routes

공개 메소드들

메소드 설명
__callstatic ( $method, $params ) Defines a route w/ callback and method
dispatch ( ) Runs the callback for the given request
error ( $callback ) Defines callback if route is not found
haltOnMatch ( $flag = true )

메소드 상세

__callstatic() 공개 정적인 메소드

Defines a route w/ callback and method
public static __callstatic ( $method, $params )

dispatch() 공개 정적인 메소드

Runs the callback for the given request
public static dispatch ( )

error() 공개 정적인 메소드

Defines callback if route is not found
public static error ( $callback )

haltOnMatch() 공개 정적인 메소드

public static haltOnMatch ( $flag = true )

프로퍼티 상세

$callbacks 공개적으로 정적으로 프로퍼티

public static $callbacks

$error_callback 공개적으로 정적으로 프로퍼티

public static $error_callback

$halts 공개적으로 정적으로 프로퍼티

public static $halts

$methods 공개적으로 정적으로 프로퍼티

public static $methods

$patterns 공개적으로 정적으로 프로퍼티

public static $patterns

$routes 공개적으로 정적으로 프로퍼티

public static $routes