选择语言 :

 Core_Cookie::get

获取指定key的Cookie内容

mixed Core_Cookie::get( string $name )

参数列表

参数 类型 描述 默认值
$name string $name
返回值
  • mixed
File: ./core/classes/cookie.class.php
public static function get($name)
{
    if (isset(Cookie::$config['prefix']) && Cookie::$config['prefix'])$name = Cookie::$config['prefix'] . $name;
    return $_COOKIE[$name];
}