-
Returns the size of the array (are required by the Countable interface).
returns The size of the array
-
Escapes and return the current value (as required by the Iterator
interface).
This escapes the value using sfOutputEscaper::escape with whatever escaping method is set for this instance.
returns The escaped value
-
| $key |
The key into the array to use
|
Returns the (unescaped) value from the array associated with the key
supplied.
returns The value
-
Get the key associated with the current value (as required by the Iterator
interface).
returns The key
-
Moves to the next element (as required by the Iterator interface).
-
(bool) offsetExists ($offset)
Browse code
| $offset |
The offset of the value to check existance of
|
Returns true if the supplied offset isset in the array (as required by the
ArrayAccess interface).
returns true if the offset isset; false otherwise
-
(mixed) offsetGet ($offset)
Browse code
| $offset |
The offset of the value to get
|
Returns the element associated with the offset supplied (as required by the
ArrayAccess interface).
returns The escaped value
-
offsetSet ($offset, $value)
Browse code
| $offset |
(ignored)
|
| $value |
(ignored)
|
Throws an exception saying that values cannot be set (this method is
required for the ArrayAccess interface).
This (and the other sfOutputEscaper classes) are designed to be read only so this is an illegal operation.
throws sfException
-
Throws an exception saying that values cannot be unset (this method is
required for the ArrayAccess interface).
This (and the other sfOutputEscaper classes) are designed to be read only so this is an illegal operation.
throws sfException
-
Reset the array to the beginning (as required for the Iterator interface).
-
Returns true if the current element is valid (as required by the Iterator
interface).
The current element will not be valid if next has fallen off the end of the array or if there are no elements in the array and rewind was called.
returns The validity of the current element; true if it is valid