| 包 | 类 | 描述 |
| system |
Yii |
Yii是一个助手类,它服务于整个框架. |
| YiiBase |
YiiBase是一个助手类,它服务于整个框架. |
| system.base |
CApplication |
CApplication是所有应用程序类的基类 |
| CApplicationComponent |
CApplicationComponent是所有应用组件类的基类. |
| CBehavior |
CBehavior是所有行为类的基类. |
| CComponent |
CComponent是所有组件类的基类 |
| CEnumerable |
CEnumerable是所有枚举类的基类 |
| CErrorEvent |
CErrorEvent表示由 onError 事件产生异常. |
| CErrorHandler |
CErrorHandler是用来处理未捕获的PHP错误和异常. |
| CEvent |
CEvent是所有事件类的基类. |
| CException |
CException表示一个适合所有情况的异常. |
| CExceptionEvent |
CExceptionEvent表示为 onException 提供的参数. |
| CHttpException |
CHttpException表示由最终用户非法操导致的异常. |
| CModel |
CModel是为数据模型对象提供共同特性的基类. |
| CModelBehavior |
CModelBehavior是所有模型组件附加行为的基类. |
| CModelEvent |
CModelEvent表示模型发起事件所需的参数. |
| CModule |
CModule是模块和应用程序类的基类. |
| CSecurityManager |
CSecurityManager提供了私有密钥,哈希,和加密功能. |
| CStatePersister |
CStatePersister实现一个基于文件的持久数据存储. |
| IAction |
IAction是控制器动作类必须实现的接口. |
| IApplicationComponent |
IApplicationComponent是所有应用组件必须实现的接口. |
| IAuthManager |
IAuthManager是验证管理组件必须实现的接口. |
| IBehavior |
IBehavior是所有行为类必须实现的接口. |
| IFilter |
IFilter是动作过滤器必须实现的接口. |
| IStatePersister |
IStatePersister是持久状态类必须实现的接口. |
| IUserIdentity |
IUserIdentity是用户身份类必须实现的接口. |
| IViewRenderer |
IViewRenderer是视图渲染类必须实现的接口. |
| IWebServiceProvider |
IWebServiceProvider是Web service提供类必须实现的接口. |
| IWebUser |
IWebUser是用户应用组件必须实现的接口. |
| system.caching |
CApcCache |
CApcCache provides APC caching in terms of an application component. |
| CCache |
CCache是各种用不同保存方式的cache的基类 |
| CDbCache |
CDbCache implements a cache application component by storing cached data in a database. |
| CDummyCache |
CDummyCache is a placeholder cache component. |
| CEAcceleratorCache |
CEAcceleratorCache implements a cache application module based on eaccelerator. |
| CFileCache |
CFileCache provides a file-based caching mechanism. |
| CMemCache |
CMemCache 参考memcached实现了一个针对memcache的缓存应用组件. |
| CMemCacheServerConfiguration |
CMemCacheServerConfiguration 指定一个memcache服务的配置数据. |
| CWinCache |
CWinCache implements a cache application component based on WinCache. |
| CXCache |
CXCache implements a cache application module based on xcache. |
| CZendDataCache |
CZendDataCache implements a cache application module based on the Zend Data Cache |
| ICache |
ICache是所有缓存组件必须实现的接口. |
| ICacheDependency |
ICacheDependency是所有缓存依赖类必须实现的接口. |
| system.caching.dependencies |
CCacheDependency |
CCacheDependency is the base class for cache dependency classes. |
| CChainedCacheDependency |
CChainedCacheDependency represents a list of cache dependencies. |
| CDbCacheDependency |
CDbCacheDependency represents a dependency based on the query result of a SQL statement. |
| CDirectoryCacheDependency |
CDirectoryCacheDependency represents a dependency based on change of a directory. |
| CExpressionDependency |
CExpressionDependency represents a dependency based on the result of a PHP expression. |
| CFileCacheDependency |
CFileCacheDependency represents a dependency based on a file's last modification time. |
| CGlobalStateCacheDependency |
CGlobalStateCacheDependency represents a dependency based on a global state value. |
| system.collections |
CAttributeCollection |
CAttributeCollection implements a collection for storing attribute names and values. |
| CConfiguration |
CConfiguration represents an array-based configuration. |
| CList |
CList implements an integer-indexed collection class. |
| CListIterator |
CListIterator implements an interator for CList. |
| CMap |
CMap implements a collection that takes key-value pairs. |
| CMapIterator |
CMapIterator implements an interator for CMap. |
| CQueue |
CQueue implements a queue. |
| CQueueIterator |
CQueueIterator implements an interator for CQueue. |
| CStack |
CStack implements a stack. |
| CStackIterator |
CStackIterator implements an interator for CStack. |
| CTypedList |
CTypedList represents a list whose items are of the certain type. |
| CTypedMap |
CTypedMap represents a map whose items are of the certain type. |
| system.console |
CConsoleApplication |
CConsoleApplication represents a console application. |
| CConsoleCommand |
CConsoleCommand represents an executable console command. |
| CConsoleCommandRunner |
CConsoleCommandRunner manages commands and executes the requested command. |
| CHelpCommand |
CHelpCommand represents a console help command. |
| system.db |
CDbCommand |
CDbCommand 代表一条SQL语句对数据库的操作. |
| CDbConnection |
CDbConnection 代表一个数据库连接. |
| CDbDataReader |
CDbDataReader 代表一个查询结果记录的只进流. |
| CDbException |
CDbException 代表一个数据库相关操作导致的异常. |
| CDbMigration |
CDbMigration 代表数据库迁移的一个基础类. |
| CDbTransaction |
CDbTransaction 代表一个数据库事务. |
| system.db.ar |
CActiveFinder |
CActiveFinder 实现贪婪加载和迟加载关系活动记录. |
| CActiveRecord |
CActiveRecord 是关系数据类的基类. |
| CActiveRecordBehavior |
CActiveRecordBehavior 是可以归属到CActiveRecord的行为基类 . |
| CActiveRecordMetaData |
CActiveRecordMetaData 代表一个活动记录类的元数据. |
| CActiveRelation |
CActiveRelation 是代表恢复关系对象的活动关系的类的基类 . |
| CBaseActiveRelation |
CBaseActiveRelation 是所有活动关系的基类. |
| CBelongsToRelation |
CBelongsToRelation 代表指定 BELONGS_TO 关系的参数. |
| CHasManyRelation |
CHasManyRelation 代表指定 HAS_MANY 关系的参数. |
| CHasOneRelation |
CHasOneRelation 代表指定 HAS_ONE 关系的参数. |
| CJoinElement |
CJoinElement 代表由CActiveFinder创建的连接树节点 . |
| CJoinQuery |
CJoinQuery 代表一个JOIN SQL 语句. |
| CManyManyRelation |
CManyManyRelation 代表指定 MANY_MANY 关系的参数. |
| CStatElement |
CStatElement 代表 CActiveFinder 的 STAT 连接元素. |
| CStatRelation |
CStatRelation 代表一个统计关系查询. |
| system.db.schema |
CDbColumnSchema |
CDbColumnSchema class describes the column meta data of a database table. |
| CDbCommandBuilder |
CDbCommandBuilder provides basic methods to create query commands for tables. |
| CDbCriteria |
CDbCriteria represents a query criteria, such as conditions, ordering by, limit/offset. |
| CDbExpression |
CDbExpression represents a DB expression that does not need escaping. |
| CDbSchema |
CDbSchema is the base class for retrieving metadata information. |
| CDbTableSchema |
CDbTableSchema is the base class for representing the metadata of a database table. |
| system.db.schema.mssql |
CMssqlColumnSchema |
CMssqlColumnSchema class describes the column meta data of a MSSQL table. |
| CMssqlCommandBuilder |
CMssqlCommandBuilder provides basic methods to create query commands for tables for Mssql Servers. |
| CMssqlPdoAdapter |
This is an extension of default PDO class for mssql driver only |
| CMssqlSchema |
CMssqlSchema is the class for retrieving metadata information from a MS SQL Server database. |
| CMssqlTableSchema |
CMssqlTableSchema represents the metadata for a MSSQL table. |
| system.db.schema.mysql |
CMysqlColumnSchema |
CMysqlColumnSchema class describes the column meta data of a MySQL table. |
| CMysqlSchema |
CMysqlSchema is the class for retrieving metadata information from a MySQL database (version 4.1.x and 5.x). |
| CMysqlTableSchema |
CMysqlTableSchema represents the metadata for a MySQL table. |
| system.db.schema.oci |
COciColumnSchema |
COciColumnSchema class describes the column meta data of a Oracle table. |
| COciCommandBuilder |
COciCommandBuilder provides basic methods to create query commands for tables. |
| COciSchema |
COciSchema is the class for retrieving metadata information from an Oracle database. |
| COciTableSchema |
COciTableSchema represents the metadata for a Oracle table. |
| system.db.schema.pgsql |
CPgsqlColumnSchema |
CPgsqlColumnSchema class describes the column meta data of a PostgreSQL table. |
| CPgsqlSchema |
CPgsqlSchema is the class for retrieving metadata information from a PostgreSQL database. |
| CPgsqlTableSchema |
CPgsqlTable represents the metadata for a PostgreSQL table. |
| system.db.schema.sqlite |
CSqliteColumnSchema |
CSqliteColumnSchema class describes the column meta data of a SQLite table. |
| CSqliteCommandBuilder |
CSqliteCommandBuilder provides basic methods to create query commands for SQLite tables. |
| CSqliteSchema |
CSqliteSchema is the class for retrieving metadata information from a SQLite (2/3) database. |
| system.gii |
CCodeFile |
CCodeFile represents a code file being generated. |
| CCodeForm |
CCodeForm represents the form for collecting code generation parameters. |
| CCodeGenerator |
CCodeGenerator is the base class for code generator classes. |
| CCodeModel |
CCodeModel is the base class for model classes that are used to generate code. |
| GiiModule |
GiiModule is a module that provides Web-based code generation capabilities. |
| system.i18n |
CChoiceFormat |
CChoiceFormat is a helper that chooses an appropriate message based on the specified number value. |
| CDateFormatter |
CDateFormatter provides date/time localization functionalities. |
| CDbMessageSource |
CDbMessageSource represents a message source that stores translated messages in database. |
| CGettextMessageSource |
CGettextMessageSource represents a message source that is based on GNU Gettext. |
| CLocale |
CLocale represents the data relevant to a locale. |
| CMessageSource |
CMessageSource is the base class for message translation repository classes. |
| CMissingTranslationEvent |
CMissingTranslationEvent represents the parameter for the onMissingTranslation event. |
| CNumberFormatter |
CNumberFormatter provides number localization functionalities. |
| CPhpMessageSource |
CPhpMessageSource represents a message source that stores translated messages in PHP scripts. |
| system.i18n.gettext |
CGettextFile |
CGettextFile is the base class for representing a Gettext message file. |
| CGettextMoFile |
CGettextMoFile represents an MO Gettext message file. |
| CGettextPoFile |
CGettextPoFile represents a PO Gettext message file. |
| system.logging |
CDbLogRoute |
CDbLogRoute stores log messages in a database table. |
| CEmailLogRoute |
CEmailLogRoute sends selected log messages to email addresses. |
| CFileLogRoute |
CFileLogRoute records log messages in files. |
| CLogFilter |
CLogFilter preprocesses the logged messages before they are handled by a log route. |
| CLogRoute |
CLogRoute is the base class for all log route classes. |
| CLogRouter |
CLogRouter manages log routes that record log messages in different media. |
| CLogger |
CLogger records log messages in memory. |
| CProfileLogRoute |
CProfileLogRoute displays the profiling results in Web page. |
| CWebLogRoute |
CWebLogRoute shows the log content in Web page. |
| system.test |
CDbFixtureManager |
CDbFixtureManager manages database fixtures during tests. |
| CDbTestCase |
CDbTestCase is the base class for test cases about DB-related features. |
| CTestCase |
CTestCase is the base class for all test case classes. |
| CWebTestCase |
CWebTestCase is the base class for Web-based functional test case classes. |
| system.utils |
CDateTimeParser |
CDateTimeParser converts a date/time string to a UNIX timestamp according to the specified pattern. |
| CFileHelper |
CFileHelper provides a set of helper methods for common file system operations. |
| CFormatter |
CFormatter provides a set of commonly used data formatting methods. |
| CMarkdownParser |
CMarkdownParser is a wrapper of MarkdownExtra_Parser. |
| CPropertyValue |
CPropertyValue is a helper class that provides static methods to convert component property values to specific types. |
| CTimestamp |
CTimestamp represents a timestamp. |
| CVarDumper |
CVarDumper is intended to replace the buggy PHP function var_dump and print_r. |
| system.validators |
CBooleanValidator |
CBooleanValidator 验证此属性的值是为trueValue或是为falseValue. |
| CCaptchaValidator |
CCaptchaValidator validates that the attribute value is the same as the verification code displayed in the CAPTCHA. |
| CCompareValidator |
CCompareValidator compares the specified attribute value with another value and validates if they are equal. |
| CDateValidator |
CDateValidator verifies if the attribute represents a date, time or datetime. |
| CDefaultValueValidator |
CDefaultValueValidator sets the attributes with the specified value. |
| CEmailValidator |
CEmailValidator validates that the attribute value is a valid email address. |
| CExistValidator |
CExistValidator validates that the attribute value exists in a table. |
| CFileValidator |
CFileValidator verifies if an attribute is receiving a valid uploaded file. |
| CFilterValidator |
CFilterValidator transforms the data being validated based on a filter. |
| CInlineValidator |
CInlineValidator represents a validator which is defined as a method in the object being validated. |
| CNumberValidator |
CNumberValidator validates that the attribute value is a number. |
| CRangeValidator |
CRangeValidator validates that the attribute value is among the list (specified via range). |
| CRegularExpressionValidator |
CRegularExpressionValidator validates that the attribute value matches to the specified regular expression. |
| CRequiredValidator |
CRequiredValidator validates that the specified attribute does not have null or empty value. |
| CSafeValidator |
CSafeValidator将对应的属性值设为安全的以使它们可以被大规模赋值. |
| CStringValidator |
CStringValidator验证此属性是一定长度的值. |
| CTypeValidator |
CTypeValidator verifies if the attribute is of the type specified by type. |
| CUniqueValidator |
CUniqueValidator validates that the attribute value is unique in the corresponding database table. |
| CUnsafeValidator |
CUnsafeValidator将对应的属性值设为不安全的以使它们不能被大规模赋值. |
| CUrlValidator |
CUrlValidator 验证这个属性值是一个有效的http或是https的URL。 |
| CValidator |
CValidator 是所有验证器的基类. |
| system.web |
CActiveDataProvider |
CActiveDataProvider implements a data provider based on ActiveRecord. |
| CArrayDataProvider |
CArrayDataProvider implements a data provider based on a raw data array. |
| CAssetManager |
CAssetManager is a Web application component that manages private files (called assets) and makes them accessible by Web clients. |
| CBaseController |
CBaseController is the base class for CController and CWidget. |
| CCacheHttpSession |
CCacheHttpSession implements a session component using cache as storage medium. |
| CClientScript |
CClientScript manages JavaScript and CSS stylesheets for views. |
| CController |
CController manages a set of actions which deal with the corresponding user requests. |
| CCookieCollection |
CCookieCollection implements a collection class to store cookies. |
| CDataProvider |
CDataProvider is a base class that implements the IDataProvider interface. |
| CDbHttpSession |
CDbHttpSession extends CHttpSession by using database as session data storage. |
| CExtController |
CExtController is the base class for controllers distributed as extension. |
| CFormModel |
CFormModel represents a data model that collects HTML form inputs. |
| CHttpCookie |
A CHttpCookie instance stores a single cookie, including the cookie name, value, domain, path, expire, and secure. |
| CHttpRequest |
CHttpRequest encapsulates the $_SERVER variable and resolves its inconsistency among different Web servers. |
| CHttpSession |
CHttpSession provides session-level data management and the related configurations. |
| CHttpSessionIterator |
CHttpSessionIterator implements an interator for CHttpSession. |
| COutputEvent |
COutputEvent represents the parameter for events related with output handling. |
| CPagination |
CPagination represents information relevant to pagination. |
| CSort |
CSort represents information relevant to sorting. |
| CSqlDataProvider |
CSqlDataProvider implements a data provider based on a plain SQL statement. |
| CTheme |
CTheme represents an application theme. |
| CThemeManager |
CThemeManager manages the themes for the Web application. |
| CUploadedFile |
CUploadedFile represents the information for an uploaded file. |
| CUrlManager |
CUrlManager manages the URLs of Yii Web applications. |
| CUrlRule |
CUrlRule represents a URL formatting/parsing rule. |
| CWebApplication |
CWebApplication extends CApplication by providing functionalities specific to Web requests. |
| CWebModule |
CWebModule represents an application module. |
| CWidgetFactory |
CWidgetFactory creates new widgets to be used in views. |
| IDataProvider |
IDataProvider是数据提供者类必须实现的接口. |
| IWidgetFactory |
IWidgetFactory是挂件工厂类必须实现的技口. |
| system.web.actions |
CAction |
CAction is the base class for all controller action classes. |
| CInlineAction |
CInlineAction represents an action that is defined as a controller method. |
| CViewAction |
CViewAction represents an action that displays a view according to a user-specified parameter. |
| system.web.auth |
CAccessControlFilter |
CAccessControlFilter performs authorization checks for the specified actions. |
| CAccessRule |
CAccessRule represents an access rule that is managed by CAccessControlFilter. |
| CAuthAssignment |
CAuthAssignment represents an assignment of a role to a user. |
| CAuthItem |
CAuthItem represents an authorization item. |
| CAuthManager |
CAuthManager is the base class for authorization manager classes. |
| CBaseUserIdentity |
CBaseUserIdentity is a base class implementing IUserIdentity. |
| CDbAuthManager |
CDbAuthManager represents an authorization manager that stores authorization information in database. |
| CPhpAuthManager |
CPhpAuthManager represents an authorization manager that stores authorization information in terms of a PHP script file. |
| CUserIdentity |
CUserIdentity is a base class for representing identities that are authenticated based on a username and a password. |
| CWebUser |
CWebUser represents the persistent state for a Web application user. |
| system.web.filters |
CFilter |
CFilter is the base class for all filters. |
| CFilterChain |
CFilterChain represents a list of filters being applied to an action. |
| CInlineFilter |
CInlineFilter represents a filter defined as a controller method. |
| system.web.form |
CForm |
CForm 表示一个包含表单规格化输入的表单对象. |
| CFormButtonElement |
CFormButtonElement represents a form button element. |
| CFormElement |
CFormElement is the base class for presenting all kinds of form element. |
| CFormElementCollection |
CFormElementCollection implements the collection for storing form elements. |
| CFormInputElement |
CFormInputElement represents form input element. |
| CFormStringElement |
CFormStringElement represents a string in a form. |
| system.web.helpers |
CGoogleApi |
CGoogleApi provides helper methods to easily access Google AJAX APIs. |
| CHtml |
CHtml is a static class that provides a collection of helper methods for creating HTML views. |
| CJSON |
CJSON converts PHP data to and from JSON format. |
| CJavaScript |
CJavaScript is a helper class containing JavaScript-related handling functions. |
| system.web.renderers |
CPradoViewRenderer |
CPradoViewRenderer implements a view renderer that allows users to use a template syntax similar to PRADO templates. |
| CViewRenderer |
CViewRenderer is the base class for view renderer classes. |
| system.web.services |
CSoapObjectWrapper |
CSoapObjectWrapper is a wrapper class internally used when SoapServer::setObject() is not defined. |
| CWebService |
CWebService encapsulates SoapServer and provides a WSDL-based web service. |
| CWebServiceAction |
CWebServiceAction implements an action that provides Web services. |
| CWsdlGenerator |
CWsdlGenerator generates the WSDL for a given service class. |
| system.web.widgets |
CActiveForm |
CActiveForm provides a set of methods that can help to simplify the creation |
| CAutoComplete |
CAutoComplete generates an auto-complete text field. |
| CClipWidget |
CClipWidget records its content and makes it available elsewhere. |
| CContentDecorator |
CContentDecorator decorates the content it encloses with the specified view. |
| CFilterWidget |
CFilterWidget is the base class for widgets that can also be used as filters. |
| CFlexWidget |
CFlexWidget embeds a Flex 3.x application into a page. |
| CHtmlPurifier |
CHtmlPurifier is wrapper of HTML Purifier. |
| CInputWidget |
CInputWidget is the base class for widgets that collect user inputs. |
| CMarkdown |
CMarkdown converts the captured content from markdown syntax to HTML code. |
| CMaskedTextField |
CMaskedTextField generates a masked text field. |
| CMultiFileUpload |
CMultiFileUpload generates a file input that can allow uploading multiple files at a time. |
| COutputCache |
COutputCache enables caching the output generated by an action or a view fragment. |
| COutputProcessor |
COutputProcessor transforms the content into a different format. |
| CStarRating |
CStarRating displays a star rating control that can collect user rating input. |
| CTabView |
CTabView displays contents in multiple tabs. |
| CTextHighlighter |
CTextHighlighter does syntax highlighting for its body content. |
| CTreeView |
CTreeView displays a tree view of hierarchical data. |
| CWidget |
CWidget is the base class for widgets. |
| system.web.widgets.captcha |
CCaptcha |
CCaptcha 用于渲染 CAPTCHA 图像元素. |
| CCaptchaAction |
CCaptchaAction 用来渲染验证码图像. |
| system.web.widgets.pagers |
CBasePager |
CBasePager is the base class for all pagers. |
| CLinkPager |
CLinkPager displays a list of hyperlinks that lead to different pages of target. |
| CListPager |
CListPager displays a dropdown list that contains options leading to different pages of target. |
| zii.behaviors |
CTimestampBehavior |
CTimestampBehavior will automatically fill date and time related atributes. |
| zii.widgets |
CBaseListView |
CBaseListView is the base class for CListView and CGridView. |
| CBreadcrumbs |
CBreadcrumbs displays a list of links indicating the position of the current page in the whole website. |
| CDetailView |
CDetailView displays the detail of a single data model. |
| CListView |
CListView displays a list of data items in terms of a list. |
| CMenu |
CMenu displays a multi-level menu using nested HTML lists. |
| CPortlet |
CPortlet is the base class for portlet widgets. |
| zii.widgets.grid |
CButtonColumn |
CButtonColumn represents a grid view column that renders one or several buttons. |
| CCheckBoxColumn |
CCheckBoxColumn represents a grid view column of checkboxes. |
| CDataColumn |
CDataColumn represents a grid view column that is associated with a data attribute or expression. |
| CGridColumn |
CGridColumn is the base class for all grid view column classes. |
| CGridView |
CGridView displays a list of data items in terms of a table. |
| CLinkColumn |
CLinkColumn represents a grid view column that renders a hyperlink in each of its data cells. |
| zii.widgets.jui |
CJuiAccordion |
CJuiAccordion displays an accordion widget. |
| CJuiAutoComplete |
CJuiAutoComplete displays an autocomplete field. |
| CJuiButton |
CJuiButton displays a button widget. |
| CJuiDatePicker |
CJuiDatePicker displays a datepicker. |
| CJuiDialog |
CJuiDialog displays a dialog widget. |
| CJuiDraggable |
CJuiDraggable displays a draggable widget. |
| CJuiDroppable |
CJuiDroppable displays a droppable widget. |
| CJuiInputWidget |
CJuiInputWidget is the base class for JUI widgets that can collect user input. |
| CJuiProgressBar |
CJuiProgressBar displays a progress bar widget. |
| CJuiResizable |
CJuiResizable displays a resizable widget. |
| CJuiSelectable |
CJuiSelectable displays an accordion widget. |
| CJuiSlider |
CJuiSlider displays a slider. |
| CJuiSliderInput |
CJuiSliderInput displays a slider. It can be used in forms and post its value. |
| CJuiSortable |
CJuiSortable displays an accordion widget. |
| CJuiTabs |
CJuiTabs displays a tabs widget. |
| CJuiWidget |
This is the base class for all JUI widget classes. |