Abstract output escaping decorator class for "getter" objects.
Method Details
-
(mixed) get ($key, $escapingMethod)
Browse code
| $key |
The key to retieve |
| $escapingMethod |
The escaping method (a PHP function) to use |
Returns the escaped value associated with the key supplied.
Typically (using this implementation) the raw value is obtained using the
{@link getRaw()} method, escaped and the result returned.
returns The escaped value
-
Returns the raw, unescaped value associated with the key supplied.
The key might be an index into an array or a value to be passed to the
decorated object's get() method.
returns The value
|