Yaf
PHP Manual

La classe Yaf_Request_Abstract

(Yaf >=1.0.0)

Introduction

Synopsis de la classe

Yaf_Request_Abstract {
/* Constants */
const string SCHEME_HTTP = http ;
const string SCHEME_HTTPS = https ;
/* Propriétés */
public $module ;
public $controller ;
public $action ;
public $method ;
protected $params ;
protected $language ;
protected $_exception ;
protected $_base_uri ;
protected $uri ;
protected $dispatched ;
protected $routed ;
/* Méthodes */
public void getActionName ( void )
public void getBaseUri ( void )
public void getControllerName ( void )
public void getEnv ( string $name [, string $default ] )
public void getException ( void )
public void getLanguage ( void )
public string getMethod ( void )
public void getModuleName ( void )
public mixed getParam ( string $name [, string $default ] )
public array getParams ( void )
public void getRequestUri ( void )
public void getServer ( string $name [, string $default ] )
public bool isCli ( void )
public bool isDispatched ( void )
public bool isGet ( void )
public bool isHead ( void )
public bool isOptions ( void )
public bool isPost ( void )
public bool isPut ( void )
public bool isRouted ( void )
public bool isXmlHttpRequest ( void )
public void setActionName ( string $action )
public bool setBaseUri ( string $uir )
public void setControllerName ( string $controller )
public void setDispatched ( void )
public void setModuleName ( string $module )
public bool setParam ( string $name [, string $value ] )
public void setRequestUri ( string $uir )
public void setRouted ([ string $flag ] )
}

Propriétés

module

controller

action

method

params

language

_exception

_base_uri

uri

dispatched

routed

Constantes pré-définies

Yaf_Request_Abstract::SCHEME_HTTP

Yaf_Request_Abstract::SCHEME_HTTPS

Sommaire


Yaf
PHP Manual