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
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
__construct ( )
current ( )
key ( )
next ( )
rewind ( )
valid ( )

메소드 상세

__construct() 공개 메소드

public __construct ( )

current() 공개 메소드

public current ( )

key() 공개 메소드

public key ( )

next() 공개 메소드

public next ( )

rewind() 공개 메소드

public rewind ( )

valid() 공개 메소드

public valid ( )