-
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 {@link sfOutputEscaper::escape()} with
whatever escaping method is set for this instance.
returns The escaped value
-
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).
-
(boolean) offsetExists ()
Browse code
Returns true if the supplied offset is set in the array (as required by the ArrayAccess interface).
returns true if the offset exists; false otherwise
-
Returns the element associated with the offset supplied (as required by the ArrayAccess interface).
returns The escaped value
-
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 {@link next()} has fallen off the
end of the array or if there are no elements in the array and {@link
rewind()} was called.
returns The validity of the current element; true if it is valid