| 1 | <?php | ||
| 13 | class Cookies | ||
| 14 | { | ||
| 15 | protected $domain; | ||
| 16 | protected $path; | ||
| 17 | |||
| 18 | public function __construct() | ||
| 23 | |||
| 24 | public function set($name, $value = '', $expire = 0, $path = null, $domain = null, $secure = true, $httponly = true) | ||
| 28 | |||
| 29 | public function del($name, $path = null, $domain = null, $secure = true, $httponly = true) | ||
| 41 | |||
| 42 | public function getDomain() | ||
| 46 | |||
| 47 | public function getPath() | ||
| 51 | |||
| 52 | public function setDomain($domain) | ||
| 56 | |||
| 57 | public function setPath($path) | ||
| 61 | } | ||
| 62 |