Zend_Http_Cookie::__construct
Cookie object constructor
Signature
public function __construct(string
$name,
string
$value,
string
$domain,
[int
$expires = NULL,
[string
$path = NULL,
[boolean
$secure = false]]] )
Parameters
$name
— string$value
— string$domain
— string$expires
— int$path
— string$secure
— boolean
Line | Task |
---|---|
98+ | Add validation of each one of the parameters (legal domain, etc.) |