Class \Prado\Web\THttpCookieCollection
THttpCookieCollection class.
THttpCookieCollection implements a collection class to store cookies. Besides using all functionalities from TList, you can also retrieve a cookie by its name using either findCookieByName or simply:
$cookie=$collection[$cookieName];
Class hierarchy
- \Prado\Web\THttpCookieCollection
- \Prado\Collections\TList implements IteratorAggregate, ArrayAccess, Countable
- \Prado\TComponent
Since: 3.0
public
|
|
public
|
|
public
|
insertAt(int $index, mixed $item) : mixed
Inserts an item at the specified position.
This overrides the parent implementation by performing additional operations for each newly added THttpCookie object. |
public
|
|
public
|
removeAt(int $index) : mixed
Removes an item at the specified position.
This overrides the parent implementation by performing additional cleanup work when removing a TCookie object. |
\Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |