php man page for yaf_request_http

Query: yaf_request_http

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

YAF_REQUEST_HTTP(3)							 1						       YAF_REQUEST_HTTP(3)

The Yaf_Request_Http class

INTRODUCTION
Any request from client is initialized as a Yaf_Request_Http. you can get the rquest infomations like, uri query and post parameters via methods of this class. Note For security, $_GET/$_POST are readonly in Yaf, which means if you set a value to these global variables, you can not get it from Yaf_Request_Http::getQurey or Yaf_Request_Http::getPost. But there do is some usage need such feature, like unit testing. thus Yaf can be built with --enable-yaf-debug, which will allow Yaf read the value user set via script. in such case, Yaf will throw a E_STRICT warning to remind you about that: Strict Standards: you are running yaf in debug mode
CLASS SYNOPSIS
Yaf_Request_Http Yaf_Request_Httpextends Yaf_Request_Abstract Properties Methods o private void Yaf_Request_Http::__clone (void ) o Yaf_Request_Http::__construct (void ) o public mixed Yaf_Request_Http::get (string $name, [string $default]) o public mixed Yaf_Request_Http::getCookie (string $name, [string $default]) o public void Yaf_Request_Http::getFiles (void ) o public mixed Yaf_Request_Http::getPost (string $name, [string $default]) o public mixed Yaf_Request_Http::getQuery (string $name, [string $default]) o public void Yaf_Request_Http::getRequest (void ) o public bool Yaf_Request_Http::isXmlHttpRequest (void ) Inherited methods o public void Yaf_Request_Abstract::getActionName (void ) o public void Yaf_Request_Abstract::getBaseUri (void ) o public void Yaf_Request_Abstract::getControllerName (void ) o public void Yaf_Request_Abstract::getEnv (string $name, [string $default]) o public void Yaf_Request_Abstract::getException (void ) o public void Yaf_Request_Abstract::getLanguage (void ) o public void Yaf_Request_Abstract::getMethod (void ) o public void Yaf_Request_Abstract::getModuleName (void ) o public void Yaf_Request_Abstract::getParam (string $name, [string $default]) o public void Yaf_Request_Abstract::getParams (void ) o public void Yaf_Request_Abstract::getRequestUri (void ) o public void Yaf_Request_Abstract::getServer (string $name, [string $default]) o public void Yaf_Request_Abstract::isCli (void ) o public void Yaf_Request_Abstract::isDispatched (void ) o public void Yaf_Request_Abstract::isGet (void ) o public void Yaf_Request_Abstract::isHead (void ) o public void Yaf_Request_Abstract::isOptions (void ) o public void Yaf_Request_Abstract::isPost (void ) o public void Yaf_Request_Abstract::isPut (void ) o public void Yaf_Request_Abstract::isRouted (void ) o public void Yaf_Request_Abstract::isXmlHttpRequest (void ) o public void Yaf_Request_Abstract::setActionName (string $action) o public bool Yaf_Request_Abstract::setBaseUri (string $uir) o public void Yaf_Request_Abstract::setControllerName (string $controller) o public void Yaf_Request_Abstract::setDispatched (void ) o public void Yaf_Request_Abstract::setModuleName (string $module) o public void Yaf_Request_Abstract::setParam (string $name, [string $value]) o public void Yaf_Request_Abstract::setRequestUri (string $uir) o public void Yaf_Request_Abstract::setRouted ([string $flag])
PROPERTIES
o $module - o $controller - o $action - o $method - o $params - o $language - o $_exception - o $_base_uri - o $uri - o $dispatched - o $routed - PHP Documentation Group YAF_REQUEST_HTTP(3)
Related Man Pages
recursivearrayiterator(3) - php
reflectionfunction(3) - php
yaf_controller_abstract(3) - php
yaf_request_abstract(3) - php
yaf_request_http(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Denial Of Service Attack Update