PHP 클래스 FluxBB\Server\Request

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

보호된 프로퍼티들

프로퍼티 타입 설명
$handler string The requested handler.
$parameters array The parameters passed with the request.

공개 메소드들

메소드 설명
__construct ( string $handler, array $parameters = [] ) Create a request instance.
get ( string $name = null, string $default = null ) : string | array Get one or all of the request parameters.
getHandler ( ) : string Get the requested handler.
getParameters ( ) : array Get all of the request parameters.

메소드 상세

__construct() 공개 메소드

Create a request instance.
public __construct ( string $handler, array $parameters = [] )
$handler string
$parameters array

get() 공개 메소드

Get one or all of the request parameters.
public get ( string $name = null, string $default = null ) : string | array
$name string
$default string
리턴 string | array

getHandler() 공개 메소드

Get the requested handler.
public getHandler ( ) : string
리턴 string

getParameters() 공개 메소드

Get all of the request parameters.
public getParameters ( ) : array
리턴 array

프로퍼티 상세

$handler 보호되어 있는 프로퍼티

The requested handler.
protected string $handler
리턴 string

$parameters 보호되어 있는 프로퍼티

The parameters passed with the request.
protected array $parameters
리턴 array