PHPKonf Istanbul PHP Conference 2019 - Call for Papers

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 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 ) : void
public setBaseUri ( string $uir ) : bool
public setControllerName ( string $controller ) : void
public setDispatched ( void ) : void
public setModuleName ( string $module ) : 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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top