## Class TEnumerable

Description

TEnumerable class.

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 TEnumerable
     {
         const Left='Left';
         const Right='Right';
     }

Then, one can use the enumerable values such as TTextAlign::Left and TTextAlign::Right.

- since: 3.0
- version: $Id: TComponent.php 2541 2008-10-21 15:05:13Z qiang.xue $
- author: Qiang Xue <qiang.xue@gmail.com>

Located in /TComponent.php (line 478)

Direct descendents

Class | Description
--- | ---
TActiveRecordInvalidFinderResult | TActiveRecordInvalidFinderResult class.
TSqlMapCacheTypes | TSqlMapCacheTypes enumerable class.
TDbColumnCaseMode | TDbColumnCaseMode
TDbNullConversionMode | TDbNullConversionMode
TSecurityManagerValidationMode | TSecurityManagerValidationMode class.
TUserManagerPasswordMode | TUserManagerPasswordMode class.
TApplicationMode | TApplicationMode class.
THttpRequestUrlFormat | THttpRequestUrlFormat class.
THttpSessionCookieMode | THttpSessionCookieMode class.
TDraggableConstraint | TEnumerable class.
TValidatorDisplayStyle | TValidatorDisplayStyle class.
TValidationDataType | TValidationDataType class.
TBulletStyle | TBulletStyle class.
TBulletedListDisplayMode | TBulletedListDisplayMode class.
TButtonType | TButtonType class.
TTextAlign | TTextAlign class.
TColorPickerMode | TColorPickerMode class.
TValidationCompareOperator | TValidationCompareOperator class.
TListItemType | TListItemType class.
TDataGridPagerMode | TDataGridPagerMode class.
TDataGridPagerButtonType | TDataGridPagerButtonType class.
TDataGridPagerPosition | TDataGridPagerPosition class.
TButtonColumnType | TButtonColumnType class.
TDatePickerInputMode | TDatePickerInputMode class.
TDatePickerMode | TDatePickerMode class.
TDatePickerPositionMode | TDatePickerPositionMode class.
THotSpotMode | THotSpotMode class.
TInlineFrameAlign | TInlineFrameAlign class.
TInlineFrameScrollBars | TInlineFrameScrollBars class.
TListSelectionMode | TListSelectionMode class.
TPagerMode | TPagerMode class.
TPagerButtonType | TPagerButtonType class.
TContentDirection | TContentDirection class.
TScrollBars | TScrollBars class.
TRepeatDirection | TRepeatDirection class.
TRepeatLayout | TRepeatLayout class.
TSliderDirection | TSliderDirection class.
TDisplayStyle | TDisplayStyle defines the enumerable type for the possible styles that a web control can display.
THorizontalAlign | THorizontalAlign class.
TVerticalAlign | TVerticalAlign class.
TTableGridLines | TTableGridLines class.
TTableCaptionAlign | TTableCaptionAlign class.
TTableHeaderScope | TTableHeaderScope class.
TTableRowSection | TTableRowSection class.
TTextBoxMode | TTextBoxMode class.
TTextBoxAutoCompleteType | TTextBoxAutoCompleteType class.
TTextHighlighterLineNumberStyle | TEnumerable class.
TValidationSummaryDisplayMode | TValidationSummaryDisplayMode class.
TValidationSummaryDisplayStyle | TValidationSummaryDisplay class.
TWizardNavigationButtonType | TWizardNavigationButtonType class.
TWizardStepType | TWizardStepType class.

Documentation generated on Mon, 22 Feb 2010 12:17:09 +0000 by phpDocumentor 1.3.0RC4