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
ファイルを表示 Open project: pradosoft/prado

Public Methods

Method Description
__construct ( )
current ( )
key ( )
next ( )
rewind ( )
valid ( )

Method Details

__construct() public method

public __construct ( )

current() public method

public current ( )

key() public method

public key ( )

next() public method

public next ( )

rewind() public method

public rewind ( )

valid() public method

public valid ( )