The Yaf_Request_Abstract class

(Yaf >=1.0.0)

Introduction

Class synopsis

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

Properties

module

controller

action

method

params

language

_exception

_base_uri

uri

dispatched

routed

Predefined Constants

Yaf_Request_Abstract::SCHEME_HTTP

Yaf_Request_Abstract::SCHEME_HTTPS

Table of Contents