Yaf_Request_Abstract
PHP Manual

Yaf_Request_Abstract::getServer

(PECL yaf >=1.0.0)

Yaf_Request_Abstract::getServerRetrieve SERVER variable

说明

public void Yaf_Request_Abstract::getServer ( string $name [, string $default ] )

Retrieve SERVER variable

参数

name

the variable name

default

if this parameter is provide, this will be returned if the variable can not be found

返回值

参见


Yaf_Request_Abstract
PHP Manual