PHP Class Prado\TEnumerable

TEnumerable is the base class for all enumerable types. To define an enumerable type, extend TEnumberable and define string constants. Each constant represents an enumerable value. The constant name must be the same as the constant value. For example, class TTextAlign extends \Prado\TEnumerable { const Left='Left'; const Right='Right'; } Then, one can use the enumerable values such as TTextAlign::Left and TTextAlign::Right.
Since: 3.0
Author: Qiang Xue ([email protected])
Inheritance: implements Iterator
Afficher le fichier Open project: pradosoft/prado

Méthodes publiques

Méthode Description
__construct ( )
current ( )
key ( )
next ( )
rewind ( )
valid ( )

Method Details

__construct() public méthode

public __construct ( )

current() public méthode

public current ( )

key() public méthode

public key ( )

next() public méthode

public next ( )

rewind() public méthode

public rewind ( )

valid() public méthode

public valid ( )