Yaf_Request_Http
PHP Manual

Yaf_Request_Http::getCookie

(PECL yaf >=1.0.0)

Yaf_Request_Http::getCookieRetrieve Cookie varialbe

说明

public mixed Yaf_Request_Http::getCookie ( string $name [, string $default ] )

Retrieve Cookie variable

参数

name

the cookie name

default

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

返回值

参见


Yaf_Request_Http
PHP Manual