Zend_Http_CookieJar::getCookie
Get a specific cookie according to a URI and name
Signature
public function getCookie(Zend_Uri_Http|string
$uri,
string
$cookie_name,
[int
$ret_as = self::COOKIE_OBJECT] )
Parameters
$uri
—
object
- The uri (domain and path) to match
$cookie_name
—
string
- The cookie's name
$ret_as
—
int
- Whether to return cookies as objects of Zend_Http_Cookie or as strings
Returns
- Zend_Http_Cookie|string