No cache version.


Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.

Rechercher une fonction PHP

The Yaf_Request_Simple class

(Yaf >=1.0.0)

Introduction

Yaf_Request_Simple is particularlly used for test puporse. ie. simulate some espacial request under CLI mode.

PHP: Yaf_Request_Simple - Manual Home of Manuel PHP  Contents Haut

Class synopsis

Yaf_Request_Simple extends Yaf_Request_Abstract {
/* Constants */
const string SCHEME_HTTP = http ;
const string SCHEME_HTTPS = https ;
/* Properties */
/* Methods */
private __clone ( void ) : void
public __construct ([ string $method [, string $module [, string $controller [, string $action [, array $params ]]]]] )
public get ( void ) : void
public getCookie ( void ) : void
public getFiles ( void ) : void
public getPost ( void ) : void
public getQuery ( void ) : void
public getRequest ( void ) : void
public isXmlHttpRequest ( void ) : void
/* Inherited methods */
public Yaf_Request_Abstract::getActionName ( void ) : void
public Yaf_Request_Abstract::getBaseUri ( void ) : void
public Yaf_Request_Abstract::getEnv ( string $name [, string $default ] ) : void
public Yaf_Request_Abstract::getException ( void ) : void
public Yaf_Request_Abstract::getLanguage ( void ) : void
public Yaf_Request_Abstract::getMethod ( void ) : string
public Yaf_Request_Abstract::getModuleName ( void ) : void
public Yaf_Request_Abstract::getParam ( string $name [, string $default ] ) : mixed
public Yaf_Request_Abstract::getParams ( void ) : array
public Yaf_Request_Abstract::getRequestUri ( void ) : void
public Yaf_Request_Abstract::getServer ( string $name [, string $default ] ) : void
public Yaf_Request_Abstract::isCli ( void ) : bool
public Yaf_Request_Abstract::isDispatched ( void ) : bool
public Yaf_Request_Abstract::isGet ( void ) : bool
public Yaf_Request_Abstract::isHead ( void ) : bool
public Yaf_Request_Abstract::isOptions ( void ) : bool
public Yaf_Request_Abstract::isPost ( void ) : bool
public Yaf_Request_Abstract::isPut ( void ) : bool
public Yaf_Request_Abstract::isRouted ( void ) : bool
public Yaf_Request_Abstract::setActionName ( string $action ) : void
public Yaf_Request_Abstract::setBaseUri ( string $uir ) : bool
public Yaf_Request_Abstract::setControllerName ( string $controller ) : void
public Yaf_Request_Abstract::setDispatched ( void ) : void
public Yaf_Request_Abstract::setModuleName ( string $module ) : void
public Yaf_Request_Abstract::setParam ( string $name [, string $value ] ) : bool
public Yaf_Request_Abstract::setRequestUri ( string $uir ) : void
public Yaf_Request_Abstract::setRouted ([ string $flag ] ) : void
}

PHP: Yaf_Request_Simple - Manual Home of Manuel PHP  Contents Haut

Properties

module

controller

action

method

params

language

_exception

_base_uri

uri

dispatched

routed

PHP: Yaf_Request_Simple - Manual Home of Manuel PHP  Contents Haut

Predefined Constants

Yaf_Request_Simple::SCHEME_HTTP

Yaf_Request_Simple::SCHEME_HTTPS

PHP: Yaf_Request_Simple - Manual Home of Manuel PHP  Contents Haut

Table of Contents

Find a PHP function

English translation

You have asked to visit this site in English. For now, only the interface is translated, but not all the content yet.

If you want to help me in translations, your contribution is welcome. All you need to do is register on the site, and send me a message asking me to add you to the group of translators, which will give you the opportunity to translate the pages you want. A link at the bottom of each translated page indicates that you are the translator, and has a link to your profile.

Thank you in advance.

Document created the 30/01/2003, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/php-rf-class.yaf-request-simple.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Manuel PHP : http://php.net

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut