PRADO Component Framework for PHP 5
  • Home
  • About
  • Testimonials
  • Demos
  • Download
  • Documentation
  • Forum
  • Development
  • Tutorials
  • Class Docs
  • API Manual
  • Wiki

Packages

  • None
  • System
    • Caching
    • Collections
    • Data
      • ActiveRecord
        • Relations
        • Scaffold
          • InputBuilder
      • Commom
        • Sqlite
      • Common
        • Mssql
        • Mysql
        • Oracle
        • Pgsql
        • Sqlite
      • DataGateway
      • SqlMap
        • Configuration
        • Statements
    • Exceptions
    • I18N
    • IO
    • Security
    • Util
    • Web
      • Javascripts
      • Services
      • UI
        • ActiveControls
        • WebControls
    • Xml
  • Wsat
    • pages
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class TEnumerable

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.

TEnumerable implements Iterator

Direct known subclasses

TActiveRecordInvalidFinderResult, TApplicationMode, TDataGridPagerPosition, TDatePickerInputMode, TDatePickerMode, TDatePickerPositionMode, TDbColumnCaseMode, TDbNullConversionMode, TDisplayStyle, TDraggableConstraint, TDraggableGhostingOptions, TDraggableRevertOptions, TBulletedListDisplayMode, TEventResults, THorizontalAlign, THotSpotMode, THttpRequestUrlFormat, THttpSessionCookieMode, TInlineFrameAlign, TInlineFrameScrollBars, TListItemType, TListSelectionMode, TPagerButtonType, TBulletStyle, TPagerMode, TRepeatDirection, TRepeatLayout, TRpcClientTypesEnumerable, TScrollBars, TSecurityManagerValidationMode, TSliderDirection, TSqlMapCacheTypes, TTableCaptionAlign, TTableGridLines, TButtonColumnType, TTableHeaderScope, TTableRowSection, TTextAlign, TTextBoxAutoCompleteType, TTextBoxMode, TTextHighlighterLineNumberStyle, TUrlMappingPatternSecureConnection, TUserManagerPasswordMode, TValidationCompareOperator, TValidationDataType, TButtonType, TValidationSummaryDisplayMode, TValidationSummaryDisplayStyle, TValidatorDisplayStyle, TVerticalAlign, TWizardNavigationButtonType, TWizardStepType, TColorPickerMode, TContentDirection, TDataGridPagerButtonType, TDataGridPagerMode

Indirect known subclasses

TRangeValidationDataType
Package: System
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.0
Located at TComponent.php
Methods summary
public
# __construct( )
public
# current( )

Implementation of

Iterator::current()
public
# key( )

Implementation of

Iterator::key()
public
# next( )

Implementation of

Iterator::next()
public
# rewind( )

Implementation of

Iterator::rewind()
public
# valid( )

Implementation of

Iterator::valid()
Terms of Service | Contact Us
PRADO v3.2.4 API Manual API documentation generated by ApiGen 2.8.0
Copyright © 2006-2014 by the PRADO Group.
Powered by PRADO