Package | system.base |
---|---|
Inheritance | class CEnumerable |
Since | 1.0 |
Source Code | framework/base/CComponent.php |
class TextAlign extends CEnumerable { const Left='Left'; const Right='Right'; }Then, one can use the enumerable values such as TextAlign::Left and TextAlign::Right.
© 2008–2017 by Yii Software LLC
Licensed under the three clause BSD license.
http://www.yiiframework.com/doc/api/1.1/CEnumerable