Zend_Http_Cookie::fromString
Generate a new Cookie object from a cookie string (for example the value of the Set-Cookie HTTP header)
Signature
public function fromString(string
$cookieStr,
[Zend_Uri_Http|string
$ref_uri = NULL] )
Parameters
$cookieStr
— string$ref_uri
— object- Reference URI for default values (domain, path)
Returns
- Zend_Http_Cookie
- A new Zend_Http_Cookie object or false on failure.