PHP 7.4.0 alpha 1 Released

The Yaf_Request_Abstract class

(Yaf >=1.0.0)

简介

类摘要

Yaf_Request_Abstract {
/* Constants */
const string SCHEME_HTTP = http ;
const string SCHEME_HTTPS = https ;
/* 属性 */
public $module ;
public $controller ;
public $action ;
public $method ;
protected $params ;
protected $language ;
protected $_exception ;
protected $_base_uri ;
protected $uri ;
protected $dispatched ;
protected $routed ;
/* 方法 */
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 ) : void
public getModuleName ( void ) : void
public getParam ( string $name [, string $default ] ) : void
public getParams ( void ) : void
public getRequestUri ( void ) : void
public getServer ( string $name [, string $default ] ) : void
public isCli ( void ) : void
public isDispatched ( void ) : void
public isGet ( void ) : void
public isHead ( void ) : void
public isOptions ( void ) : void
public isPost ( void ) : void
public isPut ( void ) : void
public isRouted ( void ) : void
public isXmlHttpRequest ( void ) : void
public setActionName ( string $action ) : void
public setBaseUri ( string $uir ) : void
public setControllerName ( string $controller ) : void
public setDispatched ( void ) : void
public setModuleName ( string $module ) : void
public setParam ( string $name [, string $value ] ) : void
public setRequestUri ( string $uir ) : void
public setRouted ([ string $flag ] ) : void
}

属性

module

controller

action

method

params

language

_exception

_base_uri

uri

dispatched

routed

预定义常量

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