-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_ide_helper.php
38 lines (35 loc) · 1.04 KB
/
_ide_helper.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
namespace AnonymousClass
{
class Cookie
{
/**
* 获取一个Cookie
*
* @param string $name
*/
public static function get($name){}
/**
* 创建cookie 详细请参考setcookie函数参数
*
* @param string/array $name
* @param string $value
* @param number $expire
* @param string $path
* @param string $domain
* @param boolean $secure
* @param boolean $httponly
* @return boolean true/false
*/
public static function set($name, $value = null, $expire = null, $path = null, $domain = null, $secure = null, $httponly = null){}
/**
* 删除cookie
*
* @param string $name cookie名称
* @param string $path cookie路径
* @param string $domain cookie作用域
* @return boolean true/false
*/
public static function delete($name, $path = null, $domain = null){}
}
}