Return an array of all cookies matching a specific request according to the request URI, whether session cookies should be sent or not, and the time to consider as "now" when checking cookie expiry time.
Signature
public function getMatchingCookies(string|Zend_Uri_Http
$uri,
[boolean
$matchSessionCookies = true,
[int
$ret_as = self::COOKIE_OBJECT,
[int
$now = NULL]]] )
Parameters
$uri
—
object
URI to check against (secure, domain, path)
$matchSessionCookies
—
boolean
Whether to send session cookies
$ret_as
—
int
Whether to return cookies as objects of Zend_Http_Cookie or as strings
$now
—
int
Override the current time when checking for expiry time