클래스·함수 명세

Request

Zittme\Framework\Request 클래스의 공개 메서드 목록입니다. 이 문서는 Zittme 코어 소스에서 자동 생성되었습니다.

소스: common/framework/Request.php

공개 메서드

  • function __construct(string $method = '', string $url = '', string $hostname = '', string $protocol = '')
  • Constructor.
  • function get(string $name, string $type = '')
  • Get a request argument, optionally coerced into a type.
  • function getAll()
  • Get all request arguments.
  • function getFullUrl()
  • Get the complete URL of this request.
  • function getMethod()
  • Get the HTTP method of this request.
  • function getCallbackFunction()
  • Get the JS callback function.
  • function getRouteStatus()
  • Get route status.
  • function set(string $name, $value)
  • Set a request argument.
  • function setAll(array $args)
  • Set all request arguments.
  • function setRouteStatus(int $status)
  • Set route status.
  • function getRouteOption(string $name)
  • Get route options.
  • function getRouteOptions()
  • Get all route options.
  • function setRouteOption(string $name, $value)
  • Set route option.