system
system.base
CApplication
CApplicationComponent
CBehavior
CComponent
CDbStatePersister
CEnumerable
CErrorEvent
CErrorHandler
CEvent
CException
CExceptionEvent
CHttpException
CModel
CModelBehavior
CModelEvent
CModule
CSecurityManager
CStatePersister
IAction
IApplicationComponent
IAuthManager
IBehavior
IFilter
IStatePersister
IUserIdentity
IViewRenderer
IWebServiceProvider
IWebUser
system.cachingCApcCache
CCache
CDbCache
CDummyCache
CEAcceleratorCache
CFileCache
CMemCache
CMemCacheServerConfiguration
CRedisCache
CWinCache
CXCache
CZendDataCache
ICache
ICacheDependency
system.caching.dependenciesCCacheDependency
CChainedCacheDependency
CDbCacheDependency
CDirectoryCacheDependency
CExpressionDependency
CFileCacheDependency
CGlobalStateCacheDependency
system.collectionsCAttributeCollection
CConfiguration
CList
CListIterator
CMap
CMapIterator
CQueue
CQueueIterator
CStack
CStackIterator
CTypedList
CTypedMap
system.consoleCConsoleApplication
CConsoleCommand
CConsoleCommandBehavior
CConsoleCommandEvent
CConsoleCommandRunner
CHelpCommand
system.db
system.db.arCActiveFinder
CActiveRecord
CActiveRecordBehavior
CActiveRecordMetaData
CActiveRelation
CBaseActiveRelation
CBelongsToRelation
CHasManyRelation
CHasOneRelation
CJoinElement
CJoinQuery
CManyManyRelation
CStatElement
CStatRelation
system.db.schema
system.db.schema.cubrid
system.db.schema.mssqlCMssqlColumnSchema
CMssqlCommandBuilder
CMssqlPdoAdapter
CMssqlSchema
CMssqlSqlsrvPdoAdapter
CMssqlTableSchema
system.db.schema.mysql
system.db.schema.oci
system.db.schema.pgsql
system.db.schema.sqlite
system.gii
system.i18nCChoiceFormat
CDateFormatter
CDbMessageSource
CGettextMessageSource
CLocale
CMessageSource
CMissingTranslationEvent
CNumberFormatter
CPhpMessageSource
system.i18n.gettext
system.loggingCChainedLogFilter
CDbLogRoute
CEmailLogRoute
CFileLogRoute
CLogFilter
CLogRoute
CLogRouter
CLogger
CProfileLogRoute
CSysLogRoute
CWebLogRoute
ILogFilter
system.test
system.utilsCDateTimeParser
CFileHelper
CFormatter
CLocalizedFormatter
CMarkdownParser
CPasswordHelper
CPropertyValue
CTimestamp
CVarDumper
system.validatorsCBooleanValidator
CCaptchaValidator
CCompareValidator
CDateValidator
CDefaultValueValidator
CEmailValidator
CExistValidator
CFileValidator
CFilterValidator
CInlineValidator
CNumberValidator
CRangeValidator
CRegularExpressionValidator
CRequiredValidator
CSafeValidator
CStringValidator
CTypeValidator
CUniqueValidator
CUnsafeValidator
CUrlValidator
CValidator
system.webCActiveDataProvider
CArrayDataProvider
CAssetManager
CBaseController
CBaseUrlRule
CCacheHttpSession
CClientScript
CController
CCookieCollection
CDataProvider
CDataProviderIterator
CDbHttpSession
CExtController
CFormModel
CHttpCookie
CHttpRequest
CHttpSession
CHttpSessionIterator
COutputEvent
CPagination
CSort
CSqlDataProvider
CTheme
CThemeManager
CUploadedFile
CUrlManager
CUrlRule
CWebApplication
CWebModule
CWidgetFactory
IDataProvider
IWidgetFactory
system.web.actions
system.web.authCAccessControlFilter
CAccessRule
CAuthAssignment
CAuthItem
CAuthManager
CBaseUserIdentity
CDbAuthManager
CPhpAuthManager
CUserIdentity
CWebUser
system.web.filters
system.web.form
system.web.helpers
system.web.renderers
system.web.services
system.web.widgetsCActiveForm
CAutoComplete
CClipWidget
CContentDecorator
CFilterWidget
CFlexWidget
CHtmlPurifier
CInputWidget
CMarkdown
CMaskedTextField
CMultiFileUpload
COutputCache
COutputProcessor
CStarRating
CTabView
CTextHighlighter
CTreeView
CWidget
system.web.widgets.captcha
system.web.widgets.pagers
zii.behaviors
zii.widgets
zii.widgets.grid
zii.widgets.juiCEnumerable
包 | system.base |
---|---|
继承 | class CEnumerable |
可用自 | 1.0 |
源码 | framework/base/CComponent.php |
CEnumerable is the base class for all enumerable types.
To define an enumerable type, extend CEnumberable and define string constants. Each constant represents an enumerable value. The constant name must be the same as the constant value. For example,
To define an enumerable type, extend CEnumberable and define string constants. Each constant represents an enumerable value. The constant name must be the same as the constant value. For example,
class TextAlign extends CEnumerable { const Left='Left'; const Right='Right'; }Then, one can use the enumerable values such as TextAlign::Left and TextAlign::Right.