Yaf_Request_Abstract::getServer()
(Yaf >=1.0.0)
返回SERVER变量的值
说明
public Yaf_Request_Abstract::getServer(string $name[,string $default]): void
返回SERVER变量的值
参数
- $name
the variable name
- $default
如果提供这个参数,在没找到变量值时候此参数的值将被返回
返回值
参见
- Yaf_Request_Abstract::getParam
- Yaf_Request_Abstract::getEnv