Home > Backend Development > PHP Tutorial > Yii framework v2.0 class reference Chinese version, yii framework v2.0 Chinese version_PHP tutorial

Yii framework v2.0 class reference Chinese version, yii framework v2.0 Chinese version_PHP tutorial

WBOY
Release: 2016-07-12 09:07:15
Original
1153 people have browsed it

Yii framework v2.0 class reference Chinese version, yii framework v2.0 Chinese version

Translator of this article: Alexander Gao Quote , please indicate the source when reprinting.

(Not completed, the translation is being updated continuously)

Yii PHP Framework Version 2

This is the core framework code of Yii 2.

This repository is a sub-project under https://github.com/yiisoft/yii2. Please submit problem reports and pull requests to the main repository. Please consult the LICENSE document for licensing information.

Installation

It is recommended to install the Yii framework through composer.

Run

composer global require "fxp/composer-asset-plugin:~1.0.0"<span>
composer require yiisoft</span>/yii2
Copy after login

or add

"yiisoft/yii2": "~2.0.0",
Copy after login

Go to the require section of composer.json.

Class Reference

Class Description
Yii Yii is a helper class that serves common framework functions.
yiiBaseYii BaseYii is the core helper class of Yii framework.
yiibaseAction Action is the base class for all controller action classes.
yiibaseActionEvent ActionEvent is used to represent the event parameters of an action event.
yiibaseActionFilter ActionFilter is the base class of action filters.
yiibaseApplication Application is the base class for all application classes.
yiibaseArrayAccessTrait ArrayAccessTrait provides implementations for IteratorAggregate, ArrayAccess and Countable.
yiibaseArrayable Arrayable is the interface that should be implemented by classes who want to support customizable representation of their instances.
yiibaseArrayableTrait ArrayableTrait provides a public implementation of the yiibaseArrayable interface.
yiibaseBehavior Behavior is the base class for all behavior classes.
yiibaseBootstrapInterface BootstrapInterface is the interface that should be implemented by classes who want to participate in the application bootstrap process.
yiibaseComponent Component is the base class that implements the property, event and behavior features.
yiibaseConfigurable Configurable is the interface that should be implemented by classes who support configuring its properties through the last parameter to its constructor.
yiibaseController Controller is the base class for classes that contain controller logic.
yiibaseDynamicModel DynamicModel is a model class mainly used for specific data validation.
yiibaseErrorException ErrorException represents a PHP error.
yiibaseErrorHandler ErrorHandler handles uncaught PHP errors and exceptions.
yiibaseEvent Event is the base class for all event classes.
yiibaseException Exception represents a common exception for all problems.
yiibaseExitException ExitException represents the normal termination of an application.
yiibaseInlineAction InlineAction represents an action defined as a controller method.
yiibaseInvalidCallException InvalidCallException represents an exception caused by calling a method in the wrong way.
yiibaseInvalidConfigException InvalidConfigException represents an exception caused by incorrect object configuration.
yiibaseInvalidParamException InvalidParamException represents an exception caused by an invalid function passed to a method.
yiibaseInvalidRouteException InvalidRouteException represents an exception caused by an invalid route. .
yiibaseInvalidValueException InvalidValueException represents an exception caused by a function returning a value of an unexpected type.
yiibaseModel Model is the base class of data model.
yiibaseModelEvent ModelEvent represents a parameter required by yiibaseModel events.
yiibaseModule Module is the base class for module and application classes.
yiibaseNotSupportedException NotSupportedException represents an exception caused by accessing unsupported functionality.
yiibaseObject Object is the base class that implements the property feature.
yiibaseRequest Request represents a request object processed by yiibaseApplication.
yiibaseResponse Response represents the response of an yiibaseApplication to a yiibaseRequest.
yiibaseSecurity Security provides a set of methods to handle common security-related tasks.
yiibaseTheme Theme represents the theme of the application.
yiibaseUnknownClassException UnknownClassException represents an exception caused by using an unknown class.
yiibaseUnknownMethodException UnknownMethodException represents an exception caused by accessing an unknown object method.
yiibaseUnknownPropertyException UnknownPropertyException represents an exception caused by accessing unknown object properties.
yiibaseUserException UserException is the base class for exceptions that will be displayed to the end user.
yiibaseView View represents the view object in MVC mode.
yiibaseViewContextInterface ViewContextInterface is the interface that should be implemented by classes who want to support relative view names.
yiibaseViewEvent ViewEvent represents an event triggered by the yiibaseView component.
yiibaseViewRenderer ViewRenderer is the base class of view rendering classes.
yiibaseWidget Widget is the base class of plug-in classes.
yiibehaviorsAttributeBehavior AttributeBehavior automatically assigns a specified value to one or multiple attributes of an ActiveRecord object when certain events happen.
yiibehaviorsBlameableBehavior BlameableBehavior automatically fills the specified attributes with the current user ID.
yiibehaviorsSluggableBehavior SluggableBehavior automatically fills the specified attribute with a value that can be used a slug in a URL.
yiibehaviorsTimestampBehavior TimestampBehavior automatically fills the specified attributes with the current timestamp.
yiicachingApcCache ApcCache provides APC caching in terms of an application component.
yiicachingArrayCache ArrayCache provides caching for the current request only by storing the values ​​in an array.
yiicachingCache Cache is the base class for cache classes supporting different cache storage implementations.
yiicachingChainedDependency ChainedDependency represents a dependency which is composed of a list of other dependencies.
yiicachingDbCache DbCache implements a cache application component by storing cached data in a database.
yiicachingDbDependency DbDependency represents a dependency based on the query result of a SQL statement.
yiicachingDependency Dependency is the base class for cache dependency classes.
yiicachingDummyCache DummyCache is a placeholder cache component.
yiicachingExpressionDependency ExpressionDependency represents a dependency based on the result of a PHP expression.
yiicachingFileCache FileCache implements a cache component using files.
yiicachingFileDependency FileDependency represents a dependency based on a file's last modification time.
yiicachingMemCache MemCache implements a cache application component based on memcache and memcached.
yiicachingMemCacheServer MemCacheServer represents the configuration data for a single memcache or memcached server.
yiicachingTagDependency TagDependency associates a cached data item with one or multiple $tags.
yiicachingWinCache WinCache provides Windows Cache caching in terms of an application component.
yiicachingXCache XCache provides XCache caching in terms of an application component.
yiicachingZendDataCache ZendDataCache provides Zend data caching in terms of an application component.
yiicaptchaCaptcha Captcha displays a verification code image and an input box that receives the verification code entered by the user.
yiicaptchaCaptchaAction CaptchaAction displays a verification code image.
yiicaptchaCaptchaAsset This asset bundle provides the javascript files needed for the yiicaptchaCaptcha widget.
yiicaptchaCaptchaValidator CaptchaValidator validates that the attribute value is the same as the verification code displayed in the CAPTCHA.
yiiconsoleApplication Application represents a console application.
yiiconsoleController Controller is the base class of console command classes.
yiiconsoleErrorHandler ErrorHandler handles uncaught PHP errors and exceptions.
yiiconsoleException Exception represents an exception caused by incorrect usage of a console command.
yiiconsoleMarkdown A Markdown parser that enhances markdown for reading in console environments.
yiiconsoleRequest The console Request represents the environment information for a console application.
yiiconsoleResponse The console Response represents the result of a console application.
yiiconsolecontrollersAssetController Allows you to combine and compress your JavaScript and CSS files.
yiiconsolecontrollersBaseMigrateController BaseMigrateController is base class for migrate controllers.
yiiconsolecontrollersCacheController 允许你来刷新缓存。
yiiconsolecontrollersFixtureController Manages fixture data loading and unloading.
yiiconsolecontrollersHelpController 提供关于控制台命令的错误信息。
yiiconsolecontrollersMessageController Extracts messages to be translated from source files.
yiiconsolecontrollersMigrateController Manages application migrations.
yiidataActiveDataProvider ActiveDataProvider implements a data provider based on yiidbQuery and yiidbActiveQuery.
yiidataArrayDataProvider ArrayDataProvider implements a data provider based on a data array.
yiidataBaseDataProvider BaseDataProvider provides a base class that implements the yiidataDataProviderInterface.
yiidataDataProviderInterface DataProviderInterface is the interface that must be implemented by data provider classes.
yiidataPagination Pagination represents information relevant to pagination of data items.
yiidataSort Sort represents information relevant to sorting.
yiidataSqlDataProvider SqlDataProvider implements a data provider based on a plain SQL statement.
yiidbActiveQuery ActiveQuery represents a DB query associated with an Active Record class.
yiidbActiveQueryInterface ActiveQueryInterface defines the common interface to be implemented by active record query classes.
yiidbActiveQueryTrait ActiveQueryTrait implements the common methods and properties for active record query classes.
yiidbActiveRecord ActiveRecord is the base class for classes representing relational data in terms of objects.
yiidbActiveRecordInterface ActiveRecordInterface
yiidbActiveRelationTrait ActiveRelationTrait implements the common methods and properties for active record relational queries.
yiidbAfterSaveEvent AfterSaveEvent represents the information available in yiidbActiveRecord::EVENT_AFTER_INSERT and yiidbActiveRecord::EVENT_AFTER_UPDATE.
yiidbBaseActiveRecord ActiveRecord is the base class for classes representing relational data in terms of objects.
yiidbBatchQueryResult BatchQueryResult represents a batch query from which you can retrieve data in batches.
yiidbColumnSchema ColumnSchema class describes the metadata of a column in a database table.
yiidbColumnSchemaBuilder ColumnSchemaBuilder helps to define database schema types using a PHP interface.
yiidbCommand Command represents a SQL statement to be executed against a database.
yiidbConnection Connection represents a connection to a database via PDO.
yiidbDataReader DataReader represents a forward-only stream of rows from a query result set.
yiidbException Exception represents an exception that is caused by some DB-related operations.
yiidbExpression Expression represents a DB expression that does not need escaping or quoting.
yiidbIntegrityException Exception represents an exception that is caused by violation of DB constraints.
yiidbMigration Migration is the base class for representing a database migration.
yiidbMigrationInterface The MigrationInterface defines the minimum set of methods to be implemented by a database migration.
yiidbQuery Query represents a SELECT SQL statement in a way that is independent of DBMS.
yiidbQueryBuilder QueryBuilder builds a SELECT SQL statement based on the specification given as a yiidbQuery object.
yiidbQueryInterface The QueryInterface defines the minimum set of methods to be implemented by a database query.
yiidbQueryTrait The BaseQuery trait represents the minimum method set of a database Query.
yiidbSchema Schema is the base class for concrete DBMS-specific schema classes.
yiidbSchemaBuilderTrait SchemaBuilderTrait contains shortcut methods to create instances of yiidbColumnSchemaBuilder.
yiidbStaleObjectException  
yiidbTableSchema TableSchema represents the metadata of a database table.
yiidbTransaction Transaction 表示一个数据库事务。
yiidbcubridQueryBuilder QueryBuilder is the query builder for CUBRID databases (version 9.3.x and higher).
yiidbcubridSchema Schema is the class for retrieving metadata from a CUBRID database (version 9.3.x and higher).
yiidbmssqlPDO This is an extension of the default PDO class of MSSQL and DBLIB drivers.
yiidbmssqlQueryBuilder QueryBuilder is the query builder for MS SQL Server databases (version 2008 and above).
yiidbmssqlSchema Schema is the class for retrieving metadata from a MS SQL Server databases (version 2008 and above).
yiidbmssqlSqlsrvPDO This is an extension of the default PDO class of SQLSRV driver.
yiidbmssqlTableSchema TableSchema represents the metadata of a database table.
yiidbmysqlQueryBuilder QueryBuilder 是MySQL数据库的查询构建器。
yiidbmysqlSchema Schema is the class for retrieving metadata from a MySQL database (version 4.1.x and 5.x).
yiidbociColumnSchemaBuilder ColumnSchemaBuilder is the schema builder for Oracle databases.
yiidbociQueryBuilder QueryBuilder is the query builder for Oracle databases.
yiidbociSchema Schema is the class for retrieving metadata from an Oracle database
yiidbpgsqlQueryBuilder QueryBuilder is the query builder for PostgreSQL databases.
yiidbpgsqlSchema Schema is the class for retrieving metadata from a PostgreSQL database (version 9.x and above).
yiidbsqliteQueryBuilder QueryBuilder is the query builder for SQLite databases.
yiidbsqliteSchema Schema is the class for retrieving metadata from a SQLite (2/3) database.
yiidiContainer Container implements a dependency injection container.
yiidiInstance Instance represents a reference to a named object in a dependency injection (DI) container or a service locator.
yiidiServiceLocator ServiceLocator 实现了一个服务定位器。
yiifiltersAccessControl AccessControl provides simple access control based on a set of rules.
yiifiltersAccessRule This class represents an access rule defined by the yiifiltersAccessControl action filter
yiifiltersContentNegotiator ContentNegotiator supports response format negotiation and application language negotiation.
yiifiltersCors Cors filter implements Cross Origin Resource Sharing.
yiifiltersHttpCache HttpCache implements client-side caching by utilizing the Last-Modified and Etag HTTP headers.
yiifiltersPageCache PageCache implements server-side caching of whole pages.
yiifiltersRateLimitInterface RateLimitInterface is the interface that may be implemented by an identity object to enforce rate limiting.
yiifiltersRateLimiter RateLimiter implements a rate limiting algorithm based on the leaky bucket algorithm.
yiifiltersVerbFilter VerbFilter is an action filter that filters by HTTP request methods.
yiifiltersauthAuthInterface AuthInterface is the interface that should be implemented by auth method classes.
yiifiltersauthAuthMethod AuthMethod is a base class implementing the yiifiltersauthAuthInterface interface.
yiifiltersauthCompositeAuth CompositeAuth is an action filter that supports multiple authentication methods at the same time.
yiifiltersauthHttpBasicAuth HttpBasicAuth is an action filter that supports the HTTP Basic authentication method.
yiifiltersauthHttpBearerAuth HttpBearerAuth is an action filter that supports the authentication method based on HTTP Bearer token.
yiifiltersauthQueryParamAuth QueryParamAuth is an action filter that supports the authentication based on the access token passed through a query parameter.
yiigridActionColumn ActionColumn is a column for the yiigridGridView widget that displays buttons for viewing and manipulating the items.
yiigridCheckboxColumn CheckboxColumn displays a column of checkboxes in a grid view.
yiigridColumn Column is the base class of all yiigridGridView column classes.
yiigridDataColumn DataColumn is the default column type for the yiigridGridView widget.
yiigridGridView The GridView widget is used to display data in a grid.
yiigridGridViewAsset This asset bundle provides the javascript files for the yiigridGridView widget.
yiigridSerialColumn SerialColumn displays a column of row numbers (1-based).
yiihelpersArrayHelper ArrayHelper provides additional array functionality that you can use in your application.
yiihelpersBaseArrayHelper BaseArrayHelper provides concrete implementation for yiihelpersArrayHelper.
yiihelpersBaseConsole BaseConsole provides concrete implementation for yiihelpersConsole.
yiihelpersBaseFileHelper BaseFileHelper provides concrete implementation for yiihelpersFileHelper.
yiihelpersBaseFormatConverter BaseFormatConverter provides concrete implementation for yiihelpersFormatConverter.
yiihelpersBaseHtml BaseHtml provides concrete implementation for yiihelpersHtml.
yiihelpersBaseHtmlPurifier BaseHtmlPurifier provides concrete implementation for yiihelpersHtmlPurifier.
yiihelpersBaseInflector BaseInflector provides concrete implementation for yiihelpersInflector.
yiihelpersBaseJson BaseJson provides concrete implementation for yiihelpersJson.
yiihelpersBaseMarkdown BaseMarkdown provides concrete implementation for yiihelpersMarkdown.
yiihelpersBaseStringHelper BaseStringHelper provides concrete implementation for yiihelpersStringHelper.
yiihelpersBaseUrl BaseUrl provides concrete implementation for yiihelpersUrl.
yiihelpersBaseVarDumper BaseVarDumper provides concrete implementation for yiihelpersVarDumper.
yiihelpersConsole Console helper provides useful methods for command line related tasks such as getting input or formatting and coloring output.
yiihelpersFileHelper File system helper
yiihelpersFormatConverter FormatConverter provides functionality to convert between different formatting pattern formats.
yiihelpersHtml Html provides a set of static methods for generating commonly used HTML tags.
yiihelpersHtmlPurifier HtmlPurifier provides an ability to clean up HTML from any harmful code.
yiihelpersInflector Inflector pluralizes and singularizes English nouns. It also contains some other useful methods.
yiihelpersJson Json is a helper class providing JSON data encoding and decoding.
yiihelpersMarkdown Markdown provides an ability to transform markdown into HTML.
yiihelpersStringHelper StringHelper
yiihelpersUrl Url provides a set of static methods for managing URLs.
yiihelpersVarDumper VarDumper is intended to replace the buggy PHP function var_dump and print_r.
yiii18nDbMessageSource DbMessageSource extends yiii18nMessageSource and represents a message source that stores translated messages in database.
yiii18nFormatter Formatter provides a set of commonly used data formatting methods.
yiii18nGettextFile GettextFile is the base class for representing a Gettext message file.
yiii18nGettextMessageSource GettextMessageSource represents a message source that is based on GNU Gettext.
yiii18nGettextMoFile GettextMoFile represents an MO Gettext message file.
yiii18nGettextPoFile GettextPoFile represents a PO Gettext message file.
yiii18nI18N I18N provides features related with internationalization (I18N) and localization (L10N).
yiii18nMessageFormatter MessageFormatter allows formatting messages via ICU message format
yiii18nMessageSource MessageSource is the base class for message translation repository classes.
yiii18nMissingTranslationEvent MissingTranslationEvent represents the parameter for the yiii18nMessageSource::EVENT_MISSING_TRANSLATION event.
yiii18nPhpMessageSource PhpMessageSource represents a message source that stores translated messages in PHP scripts.
yiilogDbTarget DbTarget stores log messages in a database table.
yiilogDispatcher Dispatcher manages a set of log targets.
yiilogEmailTarget EmailTarget sends selected log messages to the specified email addresses.
yiilogFileTarget FileTarget records log messages in a file.
yiilogLogger Logger records logged messages in memory and sends them to different targets if $dispatcher is set.
yiilogSyslogTarget SyslogTarget writes log to syslog.
yiilogTarget Target is the base class for all log target classes.
yiimailBaseMailer BaseMailer serves as a base class that implements the basic functions required by yiimailMailerInterface.
yiimailBaseMessage BaseMessage serves as a base class that implements the send() method required by yiimailMessageInterface.
yiimailMailEvent MailEvent represents the event parameter used for events triggered by yiimailBaseMailer.
yiimailMailerInterface MailerInterface is the interface that should be implemented by mailer classes.
yiimailMessageInterface MessageInterface is the interface that should be implemented by mail message classes.
yiimutexDbMutex DbMutex is the base class for classes, which relies on database while implementing mutex "lock" mechanism.
yiimutexFileMutex FileMutex implements mutex "lock" mechanism via local file system files.
yiimutexMutex Mutex component allows mutual execution of the concurrent processes, preventing "race conditions".
yiimutexMysqlMutex MysqlMutex implements mutex "lock" mechanism via MySQL locks.
yiirbacAssignment Assignment represents an assignment of a role to a user.
yiirbacBaseManager BaseManager is a base class implementing yiirbacManagerInterface for RBAC management.
yiirbacDbManager DbManager represents an authorization manager that stores authorization information in database.
yiirbacItem  
yiirbacManagerInterface  
yiirbacPermission  
yiirbacPhpManager PhpManager represents an authorization manager that stores authorization information in terms of a PHP script file.
yiirbacRole  
yiirbacRule Rule represents a business constraint that may be associated with a role, permission or assignment.
yiirestAction Action is the base class for action classes that implement RESTful API.
yiirestActiveController ActiveController implements a common set of actions for supporting RESTful access to ActiveRecord.
yiirestController Controller is the base class for RESTful API controller classes.
yiirestCreateAction CreateAction implements the API endpoint for creating a new model from the given data.
yiirestDeleteAction DeleteAction implements the API endpoint for deleting a model.
yiirestIndexAction  
yiirestOptionsAction OptionsAction responds to the OPTIONS request by sending back an Allow header.
yiirestSerializer Serializer converts resource objects and collections into array representation.
yiirestUpdateAction UpdateAction implements the API endpoint for updating a model.
yiirestUrlRule UrlRule is provided to simplify the creation of URL rules for RESTful API support.
yiirestViewAction ViewAction implements the API endpoint for returning the detailed information about a model.
yiitestActiveFixture ActiveFixture represents a fixture backed up by a ActiveRecord class or a database table.
yiitestArrayFixture ArrayFixture represents arbitrary fixture that can be loaded from PHP files.
yiitestBaseActiveFixture BaseActiveFixture is the base class for fixture classes that support accessing fixture data as ActiveRecord objects.
yiitestDbFixture DbFixture is the base class for DB-related fixtures.
yiitestFixture Fixture represents a fixed state of a test environment.
yiitestFixtureTrait FixtureTrait provides functionalities for loading, unloading and accessing fixtures for a test case.
yiitestInitDbFixture InitDbFixture represents the initial state needed for DB-related tests.
yiivalidatorsBooleanValidator BooleanValidator checks if the attribute value is a boolean value.
yiivalidatorsCompareValidator CompareValidator compares the specified attribute value with another value.
yiivalidatorsDateValidator DateValidator verifies if the attribute represents a date, time or datetime in a proper $format.
yiivalidatorsDefaultValueValidator DefaultValueValidator sets the attribute to be the specified default value.
yiivalidatorsEachValidator EachValidator validates an array by checking each of its elements against an embedded validation rule.
yiivalidatorsEmailValidator EmailValidator validates that the attribute value is a valid email address.
yiivalidatorsExistValidator ExistValidator validates that the attribute value exists in a table.
yiivalidatorsFileValidator FileValidator verifies if an attribute is receiving a valid uploaded file.
yiivalidatorsFilterValidator FilterValidator converts the attribute value according to a filter.
yiivalidatorsImageValidator ImageValidator verifies if an attribute is receiving a valid image.
yiivalidatorsInlineValidator InlineValidator represents a validator which is defined as a method in the object being validated.
yiivalidatorsNumberValidator NumberValidator validates that the attribute value is a number.
yiivalidatorsPunycodeAsset This asset bundle provides the javascript files needed for the yiivalidatorsEmailValidators client validation.
yiivalidatorsRangeValidator RangeValidator validates that the attribute value is among a list of values.
yiivalidatorsRegularExpressionValidator RegularExpressionValidator validates that the attribute value matches the specified $pattern.
yiivalidatorsRequiredValidator RequiredValidator 验证指定属性不是空或null。
yiivalidatorsSafeValidator SafeValidator serves as a dummy validator whose main purpose is to mark the attributes to be safe for massive assignment.
yiivalidatorsStringValidator StringValidator verifies that the attribute value meets a certain length.
yiivalidatorsUniqueValidator UniqueValidator verifies that the attribute value is unique in the specified database table.
yiivalidatorsUrlValidator UrlValidator verifies whether the attribute value is a valid http or https URL.
yiivalidatorsValidationAsset This resource package provides the js files required for client verification.
yiivalidatorsValidator Validator is the base class for all validator classes.
yiiwebApplication Application is the base class for all web application classes.
yiiwebAssetBundle AssetBundle represents a collection of resource files, such as CSS, JS, images.
yiiwebAssetConverter AssetConverter supports conversion of several popular script formats into JS or CSS scripts.
yiiwebAssetConverterInterface The AssetConverterInterface must be implemented by asset converter classes.
yiiwebAssetManager AssetManager manages asset bundle configuration and loading.
yiiwebBadRequestHttpException BadRequestHttpException represents a "Bad Request" HTTP exception with status code 400.
yiiwebCacheSession CacheSession implements a session component using cache as storage medium.
yiiwebCompositeUrlRule CompositeUrlRule is the base class for URL rule classes that consist of multiple simpler rules.
yiiwebConflictHttpException ConflictHttpException represents a "Conflict" HTTP exception with status code 409
yiiwebController Controller is the base class of web controllers.
yiiwebCookie Cookie represents information associated with a cookie, such as $name, $value, $domain, etc.
yiiwebCookieCollection CookieCollection keeps cookies available in the current request.
yiiwebDbSession DbSession extends yiiwebSession by using database as session data storage.
yiiwebErrorAction ErrorAction displays application errors using the specified view.
yiiwebErrorHandler ErrorHandler handles uncaught errors and exceptions.
yiiwebForbiddenHttpException ForbiddenHttpException represents a "Forbidden" HTTP exception with status code 403.
yiiwebGoneHttpException GoneHttpException represents a "Gone" HTTP exception with status code 410
yiiwebGroupUrlRule GroupUrlRule represents a collection of URL rules sharing the same prefix in their patterns and routes.
yiiwebHeaderCollection HeaderCollection is used by yiiwebResponse to maintain the currently registered HTTP headers.
yiiwebHtmlResponseFormatter HtmlResponseFormatter formats the given data into an HTML response content.
yiiwebHttpException HttpException represents an exception caused by an improper request of the end-user.
yiiwebIdentityInterface IdentityInterface is the interface that should be implemented by a class providing identity information.
yiiwebJqueryAsset This asset bundle provides the jquery javascript library
yiiwebJsExpression JsExpression marks a string as a JavaScript expression.
yiiwebJsonParser Parses a raw HTTP request using yiihelpersJson::decode()
yiiwebJsonResponseFormatter JsonResponseFormatter formats the given data into a JSON or JSONP response content.
yiiwebLink Link represents a link object as defined in JSON Hypermedia API Language.
yiiwebLinkable Linkable is the interface that should be implemented by classes that typically represent locatable resources.
yiiwebMethodNotAllowedHttpException MethodNotAllowedHttpException represents a "Method Not Allowed" HTTP exception with status code 405.
yiiwebMultiFieldSession MultiFieldSession is the base class for session storage implementations with multi-field data storage support.
yiiwebNotAcceptableHttpException NotAcceptableHttpException represents a "Not Acceptable" HTTP exception with status code 406
yiiwebNotFoundHttpException NotFoundHttpException represents a "Not Found" HTTP exception with status code 404.
yiiwebRequest The web Request class represents an HTTP request
yiiwebRequestParserInterface Interface for classes that parse the raw request body into a parameters array.
yiiwebResponse The web Response class represents an HTTP response
yiiwebResponseFormatterInterface ResponseFormatterInterface specifies the interface needed to format a response before it is sent out.
yiiwebServerErrorHttpException ServerErrorHttpException represents an "Internal Server Error" HTTP exception with status code 500.
yiiwebSession Session provides session data management and the related configurations.
yiiwebSessionIterator SessionIterator implements an iterator for traversing session variables managed by yiiwebSession.
yiiwebTooManyRequestsHttpException TooManyRequestsHttpException represents a "Too Many Requests" HTTP exception with status code 429
yiiwebUnauthorizedHttpException UnauthorizedHttpException represents an "Unauthorized" HTTP exception with status code 401
yiiwebUnprocessableEntityHttpException UnprocessableEntityHttpException represents an "Unprocessable Entity" HTTP exception with status code 422.
yiiwebUnsupportedMediaTypeHttpException UnsupportedMediaTypeHttpException represents an "Unsupported Media Type" HTTP exception with status code 415
yiiwebUploadedFile UploadedFile represents the information for an uploaded file.
yiiwebUrlManager UrlManager handles HTTP request parsing and creation of URLs based on a set of rules.
yiiwebUrlRule UrlRule represents a rule used by yiiwebUrlManager for parsing and generating URLs.
yiiwebUrlRuleInterface UrlRuleInterface is the interface that should be implemented URL rule classes.
yiiwebUser User is the class for the "user" application component that manages the user authentication status.
yiiwebUserEvent This event class is used for Events triggered by the yiiwebUser class.
yiiwebView View represents a view object in the MVC pattern.
yiiwebViewAction ViewAction represents an action that displays a view according to a user-specified parameter.
yiiwebXmlResponseFormatter XmlResponseFormatter formats the given data into an XML response content.
yiiwebYiiAsset This asset bundle provides the base javascript files for the Yii Framework.
yiiwidgetsActiveField ActiveField represents a form input field within an yiiwidgetsActiveForm.
yiiwidgetsActiveForm ActiveForm is a widget that builds an interactive HTML form for one or multiple data models.
yiiwidgetsActiveFormAsset  
yiiwidgetsBaseListView BaseListView is a base class for widgets displaying data from data provider such as ListView and GridView.
yiiwidgetsBlock Block records all output between begin() and end() calls and stores it in yiibaseView::$blocks.
yiiwidgetsBreadcrumbs Breadcrumbs displays a list of links indicating the position of the current page in the whole site hierarchy.
yiiwidgetsContentDecorator ContentDecorator records all output between begin() and end() calls, passes it to the given view file as $content and then echoes rendering result.
yiiwidgetsDetailView DetailView displays the detail of a single data $model.
yiiwidgetsFragmentCache FragmentCache is used by yiibaseView to provide caching of page fragments.
yiiwidgetsInputWidget InputWidget is the base class for widgets that collect user inputs.
yiiwidgetsLinkPager LinkPager displays a list of hyperlinks that lead to different pages of target.
yiiwidgetsLinkSorter LinkSorter renders a list of sort links for the given sort definition.
yiiwidgetsListView The ListView widget is used to display data from data provider. Each data model is rendered using the view specified.
yiiwidgetsMaskedInput MaskedInput generates a masked text input.
yiiwidgetsMaskedInputAsset The asset bundle for the yiiwidgetsMaskedInput widget.
yiiwidgetsMenu Menu displays a multi-level menu using nested HTML lists.
yiiwidgetsPjax Pjax is a widget integrating the pjax jQuery plugin.
yiiwidgetsPjaxAsset This asset bundle provides the javascript files required by yiiwidgetsPjax widget.
yiiwidgetsSpaceless Spaceless widget removes whitespace characters between HTML tags. Whitespaces within HTML tags or in a plain text are always left untouched.

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/1061853.htmlTechArticleYii框架v2.0类参考中文版,yii框架v2.0中文版 本文译者:Alexander Gao alexander2004@126.com 引用、转载请说明出处。 (未完成,译文持续更新中) Yi...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template