@throws ExceptionInvalidArgumentException
@static
| Parameters: |
|
|---|---|
| Return type: | array|SetCookie |
Cookie object constructor
| Parameters: |
|
|---|---|
| Return type: | SetCookie |
Set version
| Parameters: | integer – |
|---|---|
| Throws ExceptionInvalidArgumentException: | |
Set Max-Age
| Parameters: | integer – |
|---|---|
| Throws ExceptionInvalidArgumentException: | |
Check whether the cookie has expired
Always returns false if the cookie is a session cookie (has no expiry time)
| Parameters: | int – Timestamp to consider as “now” |
|---|---|
| Return type: | bool |
Check whether the cookie is a session cookie (has no expiry time set)
| Return type: | bool |
|---|
Checks whether the cookie should be sent or not in a specific scenario
| Parameters: |
|
|---|---|
| Return type: | boolean |
Check if a cookie’s domain matches a host name.
Used by ZendHttpCookies for cookie matching
| Parameters: |
|
|---|---|
| Return type: | boolean |