Yaf_Request_Abstract::getServer
(Yaf >=1.0.0)
Yaf_Request_Abstract::getServer — 返回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

User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/yaf-request-abstract.getserver.php