PHP Класс 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.
С версии: 3.0
Автор: Qiang Xue ([email protected])
Наследование: implements Iterator
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( )
current ( )
key ( )
next ( )
rewind ( )
valid ( )

Описание методов

__construct() публичный Метод

public __construct ( )

current() публичный Метод

public current ( )

key() публичный Метод

public key ( )

next() публичный Метод

public next ( )

rewind() публичный Метод

public rewind ( )

valid() публичный Метод

public valid ( )