选择语言 :

 Module_Storage::get

获取指定KEY的缓存数据

$strone->get('a');
$strone->get('a','b','c');
$strone->get(array('a','b','c'));
mixed Module_Storage::get( string $key )

参数列表

参数 类型 描述 默认值
$key string 指定key
返回值
  • mixed
  • false 返回失败
File: ./modules/storage/storage.class.php
public function get($key)
{
    $columns = func_get_args();
    if (count($columns)>1)
    {
        $key = $columns;
    }

    if (null===$key)
    {
        return null;
    }

    return $this->driver->get($key);
}