ILIAS
release_4-3 Revision
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
Cookie.php
Go to the documentation of this file.
1
<?php
42
class
Slim_Http_Cookie
{
43
47
protected
$name
;
48
52
protected
$value
;
53
57
protected
$expires
;
58
62
protected
$path
;
63
67
protected
$domain
;
68
72
protected
$secure
;
73
77
protected
$httponly
;
78
93
public
function
__construct
(
$name
,
$value
= null,
$expires
= 0,
$path
= null,
$domain
= null,
$secure
=
false
,
$httponly
=
false
) {
94
$this->
setName
(
$name
);
95
$this->
setValue
(
$value
);
96
$this->
setExpires
(
$expires
);
97
$this->
setPath
(
$path
);
98
$this->
setDomain
(
$domain
);
99
$this->
setSecure
(
$secure
);
100
$this->
setHttpOnly
(
$httponly
);
101
}
102
107
public
function
getName
() {
108
return
$this->name
;
109
}
110
116
public
function
setName
(
$name
) {
117
$this->name = (string)
$name
;
118
}
119
124
public
function
getValue
() {
125
return
$this->value
;
126
}
127
133
public
function
setValue
(
$value
) {
134
$this->value = (string)
$value
;
135
}
136
141
public
function
getExpires
() {
142
return
$this->expires
;
143
}
144
150
public
function
setExpires
( $time ) {
151
$this->expires = is_string($time) ? strtotime($time) : (int)$time;
152
}
153
158
public
function
getPath
() {
159
return
$this->path
;
160
}
161
167
public
function
setPath
(
$path
) {
168
$this->path = (string)
$path
;
169
}
170
175
public
function
getDomain
() {
176
return
$this->domain
;
177
}
178
184
public
function
setDomain
(
$domain
) {
185
$this->domain = (string)
$domain
;
186
}
187
192
public
function
getSecure
() {
193
return
$this->secure
;
194
}
195
201
public
function
setSecure
(
$secure
) {
202
$this->secure = (bool)
$secure
;
203
}
204
209
public
function
getHttpOnly
() {
210
return
$this->httponly
;
211
}
212
218
public
function
setHttpOnly
(
$httponly
) {
219
$this->httponly = (bool)
$httponly
;
220
}
221
222
}
Services
WebServices
Rest
lib
Slim
Http
Cookie.php
Generated on Sat Apr 30 2016 19:01:20 for ILIAS by
1.8.1.2 (using
Doxyfile
)