[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/view/escaper/ -> sfOutputEscaperArrayDecorator.class.php (sommaire)

(pas de description)

Poids: 173 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 2 classes

Countable:: (1 méthode):
  count()

sfOutputEscaperArrayDecorator:: (11 méthodes):
  rewind()
  key()
  current()
  next()
  valid()
  offsetExists()
  offsetGet()
  offsetSet()
  offsetUnset()
  count()
  getRaw()


Interface: Countable  - X-Ref

count()   X-Ref
Pas de description

Classe: sfOutputEscaperArrayDecorator  - X-Ref

Output escaping decorator class for arrays.

rewind()   X-Ref
Reset the array to the beginning (as required for the Iterator interface).


key()   X-Ref
Get the key associated with the current value (as required by the Iterator interface).

return: string The key

current()   X-Ref
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.

return: mixed The escaped value

next()   X-Ref
Moves to the next element (as required by the Iterator interface).


valid()   X-Ref
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.

return: boolean The validity of the current element; true if it is valid

offsetExists($offset)   X-Ref
Returns true if the supplied offset is set in the array (as required by the ArrayAccess interface).

param: string The offset of the value to check existance of
return: boolean true if the offset exists; false otherwise

offsetGet($offset)   X-Ref
Returns the element associated with the offset supplied (as required by the ArrayAccess interface).

param: string The offset of the value to get
return: mixed The escaped value

offsetSet($offset, $value)   X-Ref
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.

param: string (ignored)
param: string (ignored)

offsetUnset($offset)   X-Ref
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.

param: string (ignored)

count()   X-Ref
Returns the size of the array (are required by the Countable interface).

return: int The size of the array

getRaw($key)   X-Ref
Returns the (unescaped) value from the array associated with the key supplied.

param: string The key into the array to use
return: mixed The value



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7