Skip to content
Docs

Class and function reference

Request

List of public methods of the Zittme\Framework\Request class. This document was automatically generated from the Zittme core source.

Source: common/framework/Request.php

Public methods

  • 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.