Rhymix\Framework\Request
__construct() #
public function __construct(
string $method = '',
string $url = '',
string $hostname = '',
string $protocol = ''
)
Constructor.
get() #
public function get(
string $name,
string $type = ''
)
Get a request argument, optionally coerced into a type.
getAll() #
public function getAll(): object
Get all request arguments.
getFullUrl() #
public function getFullUrl(): string
Get the complete URL of this request.
getMethod() #
public function getMethod(): string
Get the HTTP method of this request.
getCallbackFunction() #
public function getCallbackFunction(): string
Get the JS callback function.
getRouteStatus() #
public function getRouteStatus(): int
Get route status.
set() #
public function set(
string $name,
$value
): void
Set a request argument.
setAll() #
public function setAll(array $args): void
Set all request arguments.
setRouteStatus() #
public function setRouteStatus(int $status): void
Set route status.
getRouteOption() #
public function getRouteOption(string $name)
Get route options.
getRouteOptions() #
public function getRouteOptions(): object
Get all route options.
setRouteOption() #
public function setRouteOption(
string $name,
$value
): void
Set route option.
개요
확장 기능 제작
테마 제작
클래스 및 함수 명세
- 라이믹스 프레임워크
- 프론트엔드 라이브러리
- 이벤트 목록
코어 개발 참여
기타 정보