获取指定key的Cookie内容
mixed Core_Cookie::get( string $name )
参数列表
参数 类型 描述 默认值 $name
string
$name
mixed
3637383940public
static
function
get(
$name
)
{
if
(isset(Cookie::
$config
[
'prefix'
]) && Cookie::
$config
[
'prefix'
])
$name
= Cookie::
$config
[
'prefix'
] .
$name
;
return
$_COOKIE
[
$name
];
}