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.
Mostrar archivo
Open project: pradosoft/prado
Public Methods
Method Details
__construct()
public method