注释和规范化调整及完善

注释和规范化调整及完善,以及部分代码优化
This commit is contained in:
yicheng
2015-12-06 01:56:10 +08:00
parent 491e33af8f
commit 47335634e9
37 changed files with 385 additions and 187 deletions

View File

@@ -51,17 +51,19 @@ class Cookie
{
if (empty($prefix)) {
return self::$config['prefix'];
} else {
self::$config['prefix'] = $prefix;
}
self::$config['prefix'] = $prefix;
}
/**
* Cookie 设置、获取、删除
* @param string $name cookie名称
* @param mixed $value cookie
* @param mixed $options cookie参数
*
* @param string $name cookie名称
* @param mixed $value cookie
* @param null $option
*
* @return mixed
* @internal param mixed $options cookie参数
*/
public static function set($name, $value = '', $option = null)
{