offsetExists() public method
Returns whether there is a cookie with the specified name.
This method is required by the SPL interface ArrayAccess. It is implicitly called when you use something like isset($collection[$name])
.
public boolean offsetExists ( $name ) | ||
---|---|---|
$name | string |
The cookie name |
return | boolean |
Whether the named cookie exists |
Please login to continue.