Class TEnumerable

Description

Implements interfaces:

  • Iterator (internal interface)

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,

  1.  class TTextAlign extends TEnumerable
  2.  {
  3.      const Left='Left';
  4.      const Right='Right';
  5.  }
Then, one can use the enumerable values such as TTextAlign::Left and TTextAlign::Right.

  • author: Qiang Xue <qiang.xue@gmail.com>
  • version: $Id: TComponent.php 3123 2012-03-26 10:10:51Z ctrlaltca@gmail.com $
  • since: 3.0

Located in /TComponent.php (line 579)


	
			
Direct descendents
Class Description
TActiveRecordInvalidFinderResult TActiveRecordInvalidFinderResult class.
TSqlMapCacheTypes TSqlMapCacheTypes enumerable class.
TDbColumnCaseMode TDbColumnCaseMode
TDbNullConversionMode TDbNullConversionMode
TSecurityManagerValidationMode TSecurityManagerValidationMode class.
TUserManagerPasswordMode TUserManagerPasswordMode class.
TApplicationMode TApplicationMode class.
TRpcClientTypesEnumerable TRpcClientTypesEnumerable class
THttpRequestUrlFormat THttpRequestUrlFormat class.
THttpSessionCookieMode THttpSessionCookieMode class.
TUrlMappingPatternSecureConnection TUrlMappingPatternSecureConnection class
TDraggableConstraint
TDraggableGhostingOptions
TDraggableRevertOptions
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
TValidationSummaryDisplayMode TValidationSummaryDisplayMode class.
TValidationSummaryDisplayStyle TValidationSummaryDisplay class.
TWizardNavigationButtonType TWizardNavigationButtonType class.
TWizardStepType TWizardStepType class.
Method Summary
TEnumerable __construct ()
void current ()
void key ()
void next ()
void rewind ()
void valid ()
Methods
Constructor __construct (line 583)
  • access: public
TEnumerable __construct ()
current (line 588)
  • access: public
void current ()

Implementation of:
Iterator::current
key (line 592)
  • access: public
void key ()

Implementation of:
Iterator::key
next (line 596)
  • access: public
void next ()

Implementation of:
Iterator::next
rewind (line 600)
  • access: public
void rewind ()

Implementation of:
Iterator::rewind
valid (line 604)
  • access: public
void valid ()

Implementation of:
Iterator::valid

Documentation generated on Mon, 25 Jun 2012 14:37:37 +0200 by phpDocumentor 1.4.3