编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Yaf_Request_Abstract::getRequestUri
  • Yaf_Request_Abstract::isCli »
  • PHP Manual
  • Yaf_Request_Abstract
  • 返回SERVER变量的值

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
相关文章
php yaf the yaf request abstract classphp yaf request abstract the getactionname purposephp yaf request abstract the getbaseuri purposephp yaf request abstract the getcontrollername purposephp yaf request abstract 取得env变量的值php yaf request abstract the getexception purposephp yaf request abstract 返回server变量的值php yaf request abstract the iscli purposephp yaf request abstract the isdispatched purposephp yaf request abstract the isget purposephp yaf request abstract the ishead purposephp yaf request abstract the isoptions purposephp yaf request abstract the ispost purposephp yaf request abstract the isput purposephp yaf request abstract the isrouted purposephp yaf request abstract the isxmlhttprequest purposephp yaf request abstract the setrouted purposephp yaf request http 从客户端返回变量php yaf request http 返回cookie变量php yaf request http 返回post变量
关注编程学问公众号
编程学问网 湘ICP备20001732号