没有命名空间的类 yii yii\base yii\behaviors yii\caching yii\captcha yii\console yii\console\controllers yii\console\widgets yii\data yii\db yii\db\conditions yii\db\cubrid yii\db\cubrid\conditions yii\db\mssql yii\db\mssql\conditions yii\db\mysql yii\db\oci yii\db\oci\conditions yii\db\pgsql yii\db\sqlite yii\db\sqlite\conditions yii\di yii\filters yii\filters\auth yii\grid yii\helpers yii\i18n yii\log yii\mail yii\mutex yii\rbac yii\rest yii\test yii\validators yii\web yii\widgets

Yii Framework 2.0 API 文档

这是 Yii Framework API 文档。在这里,您可以找到有关框架提供的所有课程的详细信息。 下面是一个现有类,接口和 Traits 的列表,按其完全限定名称(包括命名空间)排序。 它们都有一个专有页面,其中包含有关类的用法描述,可用方法,属性和常量的列表,以及有关如何使用它们的详细说明。

在此页面上,您可以找到框架 2.0 版本中包含的所有类。 您可以使用右上角的下拉菜单在版本之间切换。

您可以使用顶部的搜索表单搜索 API 文档。 您可以搜索类名以及方法和属性名称,例如:ActiveRecord.save() 或者只是 .save() 或者 ::save()

您可以下载 API 文档以供离线使用:

此页面也以 JSON 格式提供
curl https://www.yiichina.com/doc/api/2.0 -H 'Accept: application/json'

描述
Yii Yii 是一个服务于通用框架功能的助手类。
YiiRequirementChecker YiiRequirementChecker 允许检查,如果当前系统满足运行 Yii 应用程序的要求。 此类允许渲染 web 和控制台应用程序界面的检查报告。
yii\BaseYii BaseYii 是 Yii 框架的核心助手类。
yii\base\Action Action 是所有控制器动作类的基类。
yii\base\ActionEvent ActionEvent 表示用于动作事件的事件参数。
yii\base\ActionFilter ActionFilter 是动作过滤器的基类。
yii\base\Application Application is the base class for all application classes.
yii\base\ArrayAccessTrait ArrayAccessTrait 为 IteratorAggregateArrayAccessCountable 提供实现。
yii\base\Arrayable Arrayable is the interface that should be implemented by classes who want to support customizable representation of their instances.
yii\base\ArrayableTrait ArrayableTrait provides a common implementation of the yii\base\Arrayable interface.
yii\base\BaseObject BaseObject is the base class that implements the property feature.
yii\base\Behavior Behavior is the base class for all behavior classes.
yii\base\BootstrapInterface BootstrapInterface is the interface that should be implemented by classes who want to participate in the application bootstrap process.
yii\base\Component Component is the base class that implements the property, event and behavior features.
yii\base\Configurable Configurable is the interface that should be implemented by classes who support configuring its properties through the last parameter to its constructor.
yii\base\Controller Controller is the base class for classes containing controller logic.
yii\base\DynamicContentAwareInterface DynamicContentAwareInterface is the interface that should be implemented by classes which support a yii\base\View dynamic content feature.
yii\base\DynamicContentAwareTrait DynamicContentAwareTrait implements common methods for classes which support a yii\base\View dynamic content feature.
yii\base\DynamicModel DynamicModel is a model class primarily used to support ad hoc data validation.
yii\base\ErrorException ErrorException 表示 PHP 错误。
yii\base\ErrorHandler ErrorHandler 处理未捕获的 PHP 错误和异常。
yii\base\Event Event 是所有事件类的基类。
yii\base\Exception Exception 表示用于所有目的的通用异常。
yii\base\ExitException ExitException 表示应用程序的正常终止。
yii\base\InlineAction InlineAction 表示定义为控制器方法的动作。
yii\base\InvalidArgumentException InvalidArgumentException 表示由传递给方法的无效参数引起的异常。
yii\base\InvalidCallException InvalidCallException 表示以错误方式调用方法导致的异常。
yii\base\InvalidConfigException InvalidConfigException 表示由不正确的对象配置导致的异常。
yii\base\InvalidParamException InvalidParamException 表示由传递给方法的无效参数引起的异常。
yii\base\InvalidRouteException InvalidRouteException 表示由无效路由引起的异常。
yii\base\InvalidValueException InvalidValueException 表示由返回意外类型值的方法引起的异常。
yii\base\Model Model is the base class for data models.
yii\base\ModelEvent ModelEvent 表示 yii\base\Model 事件所需的参数。
yii\base\Module Module is the base class for module and application classes.
yii\base\NotSupportedException NotSupportedException 表示访问不受支持的功能导致的异常。
yii\base\Request Request 表示由 yii\base\Application 处理的请求。
yii\base\Response Response 表示 yii\base\Applicationyii\base\Request 的响应。
yii\base\Security Security provides a set of methods to handle common security-related tasks.
yii\base\StaticInstanceInterface StaticInstanceInterface 是为类提供静态实例的接口, 它可用于获取无法在静态方法中表达的类 meta 信息。 例如:DI 或行为进行的调整仅在对象级别显示, 但在类(静态)级别也可能需要。
yii\base\StaticInstanceTrait StaticInstanceTrait 提供了满足 yii\base\StaticInstanceInterface 接口的方法。
yii\base\Theme Theme represents an application theme.
yii\base\UnknownClassException UnknownClassException 表示使用未知类引起的异常。
yii\base\UnknownMethodException UnknownMethodException 表示访问未知对象方法导致的异常。
yii\base\UnknownPropertyException UnknownPropertyException 表示由访问未知对象属性引起的异常。
yii\base\UserException UserException 是要向终端用户显示异常的基类。 此类异常通常是由终端用户的错误引起的。
yii\base\View View represents a view object in the MVC pattern.
yii\base\ViewContextInterface ViewContextInterface 是应该由希望支持相对视图名称的类实现的接口。
yii\base\ViewEvent ViewEvent 表示由 yii\base\View 组件触发的事件。
yii\base\ViewNotFoundException ViewNotFoundException 表示由找不到视图文件引起的异常。
yii\base\ViewRenderer ViewRenderer 是视图渲染类的基类。
yii\base\Widget Widget is the base class for widgets.
yii\base\WidgetEvent WidgetEvent 表示用于小部件事件的事件参数。
yii\behaviors\AttributeBehavior 当某个事件发生的时候,AttributeBehavior 可以自动地给某个或多个 ActiveRecord 对象的属性 分配指定的值。
yii\behaviors\AttributeTypecastBehavior AttributeTypecastBehavior 提供了模型属性自动转换数据类型的能力。 这个行为在数据库语法比较弱化的数据库系统上使用 ActiveRecord 时比较有用,比如 MongoDB 或者 Redis 这些数据库。 它也可以在普通的 yii\db\ActiveRecord 甚至 yii\base\Model 上发挥作用。 因为它能够在执行模型验证之后保持严格的属性数据类型。
yii\behaviors\AttributesBehavior AttributesBehavior 是在某个事件发生的时候, 用来给 ActiveRecord 对象的一个或多个属性自动设置指定值的行为。
yii\behaviors\BlameableBehavior BlameableBehavior 用来自动地把指定属性设置为当前的用户 ID。
yii\behaviors\CacheableWidgetBehavior Cacheable widget behavior 自动根据指定的缓存时长和缓存依赖缓存小部件的内容。
yii\behaviors\OptimisticLockBehavior OptimisticLockBehavior 自动地根据列名更新模型的锁版本(译者注:请读者自行查阅乐观锁的知识体系), 列名是通过 optimisticLock() 读取的。
yii\behaviors\SluggableBehavior SluggableBehavior 自动地给指定的属性填充值,这些值可以在 URL 中用作 slug。
yii\behaviors\TimestampBehavior TimestampBehavior 用来自动给指定的属性填充当前时间戳。
yii\caching\ApcCache ApcCache 用应用组件的方式提供 APC 缓存。
yii\caching\ArrayCache ArrayCache 通过把值存入数组来提供缓存,只对当前请求有效。
yii\caching\Cache Cache 是所有缓存类的基类,这些缓存类支持不同的缓存驱动。
yii\caching\CacheInterface CacheInterface 是缓存的基础接口。
yii\caching\ChainedDependency ChainedDependency 表示由一系列其它依赖类组成的组合依赖类。
yii\caching\DbCache DbCache 是使用数据库系统实现的缓存组件。
yii\caching\DbDependency DbDependency 是基于 SQL 语句的查询结果实现的依赖类。
yii\caching\DbQueryDependency DbQueryDependency 是基于一个 yii\db\QueryInterface 实例的查询结果实现的依赖类。
yii\caching\Dependency Dependency 是缓存依赖类的基类。
yii\caching\DummyCache DummyCache 是缓存组件的替代符。
yii\caching\ExpressionDependency ExpressionDependency 是基于 PHP 表达式的结果实现的依赖类。
yii\caching\FileCache FileCache 是使用文件系统实现的缓存组件。
yii\caching\FileDependency FileDependency 是基于文件的最后更新时间实现的依赖类。
yii\caching\MemCache MemCache 是基于 memcachememcached 实现的缓存应用组件。
yii\caching\MemCacheServer MemCacheServer 是一个 memcache 或者 memcached 服务器的配置选项。
yii\caching\TagDependency TagDependency 是基于缓存数据的一个或者多个 $tags 实现的缓存依赖类。
yii\caching\WinCache WinCache 是使用 Windows Cache 实现的缓存组件。
yii\caching\XCache XCache 是使用 XCache 扩展实现的缓存应用组件。
yii\caching\ZendDataCache ZendDataCache 是使用 Zend 数据实现的缓存应用组件。
yii\captcha\Captcha Captcha renders a CAPTCHA image and an input field that takes user-entered verification code.
yii\captcha\CaptchaAction CaptchaAction renders a CAPTCHA image.
yii\captcha\CaptchaAsset 此资源包提供 yii\captcha\Captcha 小部件所需的 javascript 文件。
yii\captcha\CaptchaValidator CaptchaValidator 验证属性值是否与 CAPTCHA 中显示的验证码相同。
yii\console\Application Application 代表一个控制台应用程序。
yii\console\Controller Controller 是控制台命令类的基类。
yii\console\ErrorHandler ErrorHandler 处理未捕获的 PHP 错误和异常。
yii\console\Exception Exception 表示由于不正确使用控制台命令而导致的异常。
yii\console\ExitCode 此类提供用于定义控制台命令退出代码的常量。
yii\console\Markdown 一个 Markdown 解析器,它增强了用于在控制台环境中读取的 markdown。
yii\console\Request 控制台请求表示控制台应用程序的环境信息。
yii\console\Response 控制台响应表示控制台应用程序的结果。
yii\console\UnknownCommandException UnknownCommandException 表示不正确使用控制台命令导致的异常。
yii\console\controllers\AssetController 允许你合并和压缩你的 JavaScript 和 CSS 文件。
yii\console\controllers\BaseMigrateController BaseMigrateController 是迁移控制器的基类。
yii\console\controllers\CacheController 允许你刷新缓存。
yii\console\controllers\FixtureController 管理 Fixture 数据的装载和卸载。
yii\console\controllers\HelpController 提供有关控制台命令的帮助信息。
yii\console\controllers\MessageController 从源文件中提取要翻译的消息。
yii\console\controllers\MigrateController 管理应用程序迁移。
yii\console\controllers\ServeController 运行 PHP 内置 web 服务器。
yii\console\widgets\Table Table 类在控制台中显示一个表。
yii\data\ActiveDataFilter ActiveDataFilter 允许以适合 \yii\data\yiidbQueryInterface::where() 的格式组合过滤条件。
yii\data\ActiveDataProvider ActiveDataProvider 基于 yii\db\Queryyii\db\ActiveQuery 实现了数据提供器。
yii\data\ArrayDataProvider ArrayDataProvider implements a data provider based on a data array.
yii\data\BaseDataProvider BaseDataProvider 是一个实现了 yii\data\DataProviderInterface 的基类。
yii\data\DataFilter DataFilter 是用于处理查询过滤规范的特殊 yii\base\Model。 它可以通过请求验证并建立一个过滤条件。
yii\data\DataProviderInterface DataProviderInterface是数据提供器类必须实现的接口。
yii\data\Pagination Pagination represents information relevant to pagination of data items.
yii\data\Sort Sort represents information relevant to sorting.
yii\data\SqlDataProvider SqlDataProvider implements a data provider based on a plain SQL statement.
yii\db\ActiveQuery ActiveQuery 表示与 Active Record 类关联的数据库查询。
yii\db\ActiveQueryInterface ActiveQueryInterface 定义了由活动记录查询类实现的通用接口。
yii\db\ActiveQueryTrait ActiveQueryTrait 实现了活动记录查询类的通用方法和属性。
yii\db\ActiveRecord ActiveRecord 是表示数据对象关系的类的基类。
yii\db\ActiveRecordInterface ActiveRecordInterface.
yii\db\ActiveRelationTrait ActiveRelationTrait implements the common methods and properties for active record relational queries.
yii\db\AfterSaveEvent AfterSaveEvent 表示在 yii\db\ActiveRecord::EVENT_AFTER_INSERTyii\db\ActiveRecord::EVENT_AFTER_UPDATE 中可用的信息。
yii\db\ArrayExpression ArrayExpression 类表示数组的 SQL 表达式。
yii\db\BaseActiveRecord ActiveRecord is the base class for classes representing relational data in terms of objects.
yii\db\BatchQueryResult BatchQueryResult 表示批量查询,你可以从中批量检索数据。
yii\db\CheckConstraint CheckConstraint 表示表 CHECK 约束的元数据。
yii\db\ColumnSchema ColumnSchema 类描述了数据库表中的列的元数据。
yii\db\ColumnSchemaBuilder ColumnSchemaBuilder helps to define database schema types using a PHP interface.
yii\db\Command Command represents a SQL statement to be executed against a database.
yii\db\Connection Connection represents a connection to a database via PDO.
yii\db\Constraint Constraint 表示表约束的元数据。
yii\db\ConstraintFinderInterface ConstraintFinderInterface 定义用于获取表约束信息的方法。
yii\db\ConstraintFinderTrait ConstraintFinderTrait provides methods for getting a table constraint information.
yii\db\DataReader DataReader represents a forward-only stream of rows from a query result set.
yii\db\DefaultValueConstraint DefaultValueConstraint 表示表 DEFAULT 约束的元数据。
yii\db\Exception Exception 表示由某些与 DB 相关操作引起的异常。
yii\db\Expression Expression 表示不需要转义或引用的 DB 表达式。
yii\db\ExpressionBuilder 类 ExpressionBuilder 生成 \yii\db\yii\db\Expression 类的对象。
yii\db\ExpressionBuilderInterface 接口 ExpressionBuilderInterface 旨在从实现 yii\db\ExpressionInterface 的特定表达式对象构建原始 SQL。
yii\db\ExpressionBuilderTrait Trait ExpressionBuilderTrait 为应实现 yii\db\ExpressionBuilderInterface 的类提供公共的构造函数
yii\db\ExpressionInterface 接口 ExpressionInterface 应用于标记类, 这些类应以特殊方式构建。
yii\db\ForeignKeyConstraint ForeignKeyConstraint 表示表 FOREIGN KEY 约束的元数据。
yii\db\IndexConstraint IndexConstraint 表示表 INDEX 约束的元数据。
yii\db\IntegrityException Exception 表示由违反 DB 约束引起的异常。
yii\db\JsonExpression JsonExpression 类表示应编码为 JSON 的数据。
yii\db\Migration Migration is the base class for representing a database migration.
yii\db\MigrationInterface The MigrationInterface 定义了要求数据库前已实现的最小方案集。
yii\db\PdoValue 类 PdoValue 表示应该使用确切的 $type 绑定到 PDO 的一个 $value。
yii\db\PdoValueBuilder 类 PdoValueBuilder 构建 yii\db\PdoValue 表达式类的对象。
yii\db\Query Query represents a SELECT SQL statement in a way that is independent of DBMS.
yii\db\QueryBuilder QueryBuilder builds a SELECT SQL statement based on the specification given as a yii\db\Query object.
yii\db\QueryExpressionBuilder 类 QueryExpressionBuilder 在内部用于使用统一的 yii\db\QueryBuilder 表达式生成接口构建 yii\db\Query 对象。
yii\db\QueryInterface The QueryInterface defines the minimum set of methods to be implemented by a database query.
yii\db\QueryTrait The BaseQuery trait represents the minimum method set of a database Query.
yii\db\Schema Schema is the base class for concrete DBMS-specific schema classes.
yii\db\SchemaBuilderTrait SchemaBuilderTrait contains shortcut methods to create instances of yii\db\ColumnSchemaBuilder.
yii\db\SqlToken SqlToken represents SQL tokens produced by yii\db\SqlTokenizer or its child classes.
yii\db\SqlTokenizer SqlTokenizer splits an SQL query into individual SQL tokens.
yii\db\StaleObjectException
yii\db\TableSchema TableSchema 表示数据库表的元数据。
yii\db\Transaction Transaction represents a DB transaction.
yii\db\ViewFinderTrait ViewFinderTrait 实现了 getViewNames 方法,用于在数据库中查找视图。
yii\db\conditions\AndCondition 使用 AND 运算符连接两个或多个 SQL 表达式的条件。
yii\db\conditions\BetweenColumnsCondition BetweenColumnCondition 类表示 BETWEEN 条件 其中值在两个列中间。比如:
yii\db\conditions\BetweenColumnsConditionBuilder 类 BetweenColumnsConditionBuilder 构建 yii\db\conditions\BetweenColumnsCondition 类的对象
yii\db\conditions\BetweenCondition BetweenCondition 类表示 BETWEEN 条件。
yii\db\conditions\BetweenConditionBuilder 类 BetweenConditionBuilder 构建 yii\db\conditions\BetweenCondition 类的对象
yii\db\conditions\ConditionInterface 接口 ConditionInterface 应该由表示框架的 DBAL 中的条件的类实现
yii\db\conditions\ConjunctionCondition ConjunctionCondition 类
yii\db\conditions\ConjunctionConditionBuilder 类 ConjunctionConditionBuilder 构建抽象类 yii\db\conditions\ConjunctionCondition 的具体对象
yii\db\conditions\ExistsCondition 表示 EXISTS 操作符的条件。
yii\db\conditions\ExistsConditionBuilder 类 ExistsConditionBuilder 构建 yii\db\conditions\ExistsCondition 类的对象
yii\db\conditions\HashCondition 条件基于列值对。
yii\db\conditions\HashConditionBuilder 类 HashConditionBuilder 构建 yii\db\conditions\HashCondition 的对象
yii\db\conditions\InCondition 类 InCondition 表示 IN 条件。
yii\db\conditions\InConditionBuilder 类 InConditionBuilder 构建 yii\db\conditions\InCondition 类的对象
yii\db\conditions\LikeCondition 类 LikeCondition 表示 LIKE 条件。
yii\db\conditions\LikeConditionBuilder 类 LikeConditionBuilder 构建 yii\db\conditions\LikeCondition 类的对象
yii\db\conditions\NotCondition 反转通过的条件 \yii\db\conditions\condition
yii\db\conditions\NotConditionBuilder 类 NotConditionBuilder 构建 yii\db\conditions\NotCondition 的对象
yii\db\conditions\OrCondition 使用 AND 操作符连接两个或多个 SQL 表达式的条件。
yii\db\conditions\SimpleCondition 类 SimpleCondition 表示一个简单的条件,如 “column” operator value
yii\db\conditions\SimpleConditionBuilder 类 SimpleConditionBuilder 构建 \yii\db\conditions\SimleCondition 类的对象
yii\db\cubrid\ColumnSchemaBuilder ColumnSchemaBuilder 是 Cubrid 数据库的模式构建器。
yii\db\cubrid\QueryBuilder QueryBuilder 是 CUBRID 数据库的模式查询构建器(版本要求 version 9.3.x 以及更高)。
yii\db\cubrid\Schema Schema 是用于从 CUBRID 数据库(版本要求 version 9.3.x 以及更高)检索元数据的类。
yii\db\cubrid\conditions\LikeConditionBuilder
yii\db\mssql\PDO MSSQL 和 DBLIB 驱动默认的 PDO 类扩展。 该扩展为 MSSQL 和 DBLIB 驱动的不能正确实现的功能提供了变通方法。
yii\db\mssql\QueryBuilder MS SQL Server(版本要求 2008 以及 2008 以上版本)数据库查询构建器。
yii\db\mssql\Schema Schema 是用于从 MS SQL Server 数据库(2008 及以上版本)检索元数据的类。
yii\db\mssql\SqlsrvPDO SQLSRV 驱动的默认 PDO 类扩展。 为 SQLSRV 驱动不能正确实现的功能提供了变通方法。
yii\db\mssql\TableSchema TableSchema 类表示数据库表的元数据。
yii\db\mssql\conditions\InConditionBuilder
yii\db\mssql\conditions\LikeConditionBuilder
yii\db\mysql\ColumnSchema MySQL 数据库的 ColumnSchema 类
yii\db\mysql\ColumnSchemaBuilder ColumnSchemaBuilder 类是 MySQL 数据库的数据库结构构建器。
yii\db\mysql\JsonExpressionBuilder 类 JsonExpressionBuilder 为 MySQL DBMS 构建 yii\db\JsonExpression
yii\db\mysql\QueryBuilder QueryBuilder 类是 MySQL 数据库查询构建器。
yii\db\mysql\Schema Schema 是用来从 MySQL 数据库(MySQL 版本:4.1.x 和 5.x)检索元数据的类。
yii\db\oci\ColumnSchemaBuilder ColumnSchemaBuilder 类是 Oracle 数据库的数据库结构构建器。
yii\db\oci\QueryBuilder QueryBuilder 类是 Oracle 数据库的查询构建器。
yii\db\oci\Schema Schema 类用于从 Oracle 数据库检索元数据。
yii\db\oci\conditions\InConditionBuilder
yii\db\oci\conditions\LikeConditionBuilder
yii\db\pgsql\ArrayExpressionBuilder ArrayExpressionBuilder 类为 PostgreSQL DBMS 构建 yii\db\ArrayExpression
yii\db\pgsql\ArrayParser 该类将 PostgreSQL 数组表示转换为 PHP 数组
yii\db\pgsql\ColumnSchema PostgreSQL 数据库的 ColumnSchema 类。
yii\db\pgsql\JsonExpressionBuilder JsonExpressionBuilder 类为 PostgreSQL DBMS 构建 yii\db\JsonExpression
yii\db\pgsql\QueryBuilder QueryBuilder 是 PostgreSQL 数据库的查询构建器。
yii\db\pgsql\Schema Schema 是从 PostgreSQL 数据库(版本 9.x 及更高版本) 检索元数据的类。
yii\db\sqlite\ColumnSchemaBuilder ColumnSchemaBuilder 是 Sqlite 数据库的数据库结构构建器。
yii\db\sqlite\Command Command 表示 SQLite 数据库要执行的 SQL 语句。
yii\db\sqlite\QueryBuilder QueryBuilder 是 SQLite 数据库的查询构建器。
yii\db\sqlite\Schema Schema 是从 SQLite(SQLite 2 或 SQLite 3)数据库中检索元数据的类。
yii\db\sqlite\SqlTokenizer SqlTokenizer 类将 SQLite 查询拆分为单个 SQL 令牌。 它用于从 CREATE TABLE SQL 代码获取 CHECK 约束信息。
yii\db\sqlite\conditions\InConditionBuilder
yii\db\sqlite\conditions\LikeConditionBuilder
yii\di\Container Container 实现 依赖注入 容器。
yii\di\Instance Instance 表示对依赖注入(DI)容器或服务定位器的命名对象的引用。
yii\di\NotInstantiableException NotInstantiableException 表示由不正确的依赖项注入容器配置或使用 引起的异常。
yii\di\ServiceLocator ServiceLocator 实现 service locator
yii\filters\AccessControl AccessControl 基于一组规则提供简单的访问控制。
yii\filters\AccessRule 此类表示由 yii\filters\AccessControl 操作筛选器定义的访问规则。
yii\filters\AjaxFilter AjaxFilter 只允许限制 Ajax 请求的访问。
yii\filters\ContentNegotiator ContentNegotiator 支持响应格式协商和应用程序语言协商。
yii\filters\Cors Cors 过滤工具 Cross Origin Resource Sharing.
yii\filters\HostControl HostControl 提供对请求的主机名的简单控制。
yii\filters\HttpCache HttpCache 通过利用 Last-ModifiedETag HTTP headers 来实现客户端缓存。
yii\filters\PageCache PageCache 实现整个页面的服务器端缓存。
yii\filters\RateLimitInterface RateLimitInterface 是可由标识对象实现以实施速率限制的接口。
yii\filters\RateLimiter RateLimiter implements a rate limiting algorithm based on the leaky bucket algorithm.
yii\filters\VerbFilter VerbFilter 是一个操作过滤器它通过 HTTP 请求方法进行过滤。
yii\filters\auth\AuthInterface AuthInterface 是应该由 Auth 方法类实现的接口。
yii\filters\auth\AuthMethod AuthMethod 是实现 yii\filters\auth\AuthInterface 接口的基类。
yii\filters\auth\CompositeAuth CompositeAuth 是一个同时支持多种身份验证方法的操作筛选器。
yii\filters\auth\HttpBasicAuth HttpBasicAuth 是支持 HTTP 基本身份验证方法的操作筛选器。
yii\filters\auth\HttpBearerAuth HttpBearerAuth 是支持基于 HTTP 承载令牌的身份验证方法的操作筛选器。
yii\filters\auth\HttpHeaderAuth HttpHeaderAuth 是通过 HTTP 头支持 HTTP 身份验证的操作筛选器。
yii\filters\auth\QueryParamAuth QueryParamAuth 是一个操作筛选器支持基于通过查询参数传递的访问令牌进行身份验证。
yii\grid\ActionColumn ActionColumn 是 yii\grid\GridView 小部件的列,该小部件显示用于查看和操作项目的按钮。
yii\grid\CheckboxColumn CheckboxColumn 在网格视图中显示一列复选框。
yii\grid\Column Column 是所有 yii\grid\GridView 列类的基类。
yii\grid\DataColumn DataColumn 是 yii\grid\GridView 小部件的默认列类型。
yii\grid\GridView GridView 小部件用于在网格中显示数据。
yii\grid\GridViewAsset 这个资源包为 yii\grid\GridView 小部件提供 javascript 文件。
yii\grid\RadioButtonColumn RadioButtonColumn 在网格视图中显示一列单选按钮。
yii\grid\SerialColumn SerialColumn 显示一列的行号(基于1)。
yii\helpers\ArrayHelper ArrayHelper 提供了可以在应用程序中使用的额外的数组功能。
yii\helpers\BaseArrayHelper BaseArrayHelper 为 yii\helpers\ArrayHelper 提供了具体的实现方法。
yii\helpers\BaseConsole BaseConsole 为 yii\helpers\Console 提供了具体的实现方法。
yii\helpers\BaseFileHelper BaseFileHelper 为 yii\helpers\FileHelper 提供了具体的实现方法。
yii\helpers\BaseFormatConverter BaseFormatConverter 为 yii\helpers\FormatConverter 提供了具体的实现方法。
yii\helpers\BaseHtml BaseHtml provides concrete implementation for yii\helpers\Html.
yii\helpers\BaseHtmlPurifier BaseHtmlPurifier 为 yii\helpers\HtmlPurifier 提供了具体的实现方法。
yii\helpers\BaseInflector BaseInflector 为 yii\helpers\Inflector 提供了具体的实现方法。
yii\helpers\BaseIpHelper BaseIpHelper 类为 yii\helpers\IpHelper 提供了具体的实现方法
yii\helpers\BaseJson BaseJson 类为 yii\helpers\Json 提供了具体的实现方法。
yii\helpers\BaseMarkdown BaseMarkdown 为 yii\helpers\Markdown 提供了具体的实现。
yii\helpers\BaseStringHelper BaseStringHelper 为 yii\helpers\StringHelper 提供了具体的实现。
yii\helpers\BaseUrl BaseUrl provides concrete implementation for yii\helpers\Url.
yii\helpers\BaseVarDumper BaseVarDumper 为 yii\helpers\VarDumper 提供了具体的实现。
yii\helpers\Console 控制台帮助程序为与命令行相关的任务提供了有用的方法, 例如获取输入、格式化和着色输出。
yii\helpers\FileHelper 文件系统助手类。
yii\helpers\FormatConverter FormatConverter 提供了在不同格式模式格式之间进行转换的功能。
yii\helpers\Html Html 提供了一组用于生成常用 HTML 标记的静态方法。
yii\helpers\HtmlPurifier HtmlPurifier 提供了一种从任何不良的代码中清除 HTML 的能力。
yii\helpers\Inflector Inflector 类将英语单词转换为单复数形式。它还包含一些其他有用的方法。
yii\helpers\IpHelper IpHelper 类提供了一组与 IP-related 相关的静态方法。
yii\helpers\Json Json 是一种辅助类为 JSON 提供数据的编码和解码。 它支持对 JavaScript 表达式进行编码,并在解码失败时抛出异常, 从而它增强了 PHP 内置函数 json_encode()json_decode()
yii\helpers\Markdown Markdown 类提供了将 markdown 转换为 HTML 的功能。
yii\helpers\ReplaceArrayValue 调用对象执行 yii\helpers\ArrayHelper::merge() 方法后对数组中的值进行替换操作。
yii\helpers\StringHelper StringHelper.
yii\helpers\UnsetArrayValue 该对象调用 yii\helpers\ArrayHelper::merge() 方法后对数组中的值进行移除操作。
yii\helpers\Url Url 提供了一组静态方法用于管理 URLs。
yii\helpers\VarDumper VarDumper 对象用于替换具有 bug 的 PHP 函数 var_dump 和 print_r。 它可以正确识别复杂对象结构中递归引用的对象。 它还可以对递归深度进行控制, 避免出现某些特殊变量的无限递归。
yii\i18n\DbMessageSource DbMessageSource 继承自 yii\i18n\MessageSource, 并表示将翻译后的消息存储在数据库中作为消息源。
yii\i18n\Formatter Formatter 提供一组常用的数据格式化方法。
yii\i18n\GettextFile GettextFile 是表示 Gettext 消息文件的基类。
yii\i18n\GettextMessageSource GettextMessageSource 表示基于 GNU Gettext 的消息源。
yii\i18n\GettextMoFile GettextMoFile 表示 MO Gettext 消息文件。
yii\i18n\GettextPoFile GettextPoFile 表示 PO Gettext 消息文件。
yii\i18n\I18N I18N 提供与国际化(I18N)和本地化(L10N)相关的功能。
yii\i18n\Locale Locale 提供一些实用的方法获取各种区域信息。
yii\i18n\MessageFormatter MessageFormatter 允许通过 ICU message format 格式化消息。
yii\i18n\MessageSource MessageSource 是消息翻译类的基类。
yii\i18n\MissingTranslationEvent MissingTranslationEvent 表示 yii\i18n\MessageSource::EVENT_MISSING_TRANSLATION 事件的参数。
yii\i18n\PhpMessageSource PhpMessageSource 表示在 PHP 脚本中存储已翻译消息的消息源。
yii\log\DbTarget DbTarget 将日志消息存储在数据库中。
yii\log\Dispatcher Dispatcher 管理一组 log targets
yii\log\EmailTarget EmailTarget 将所选日志消息发送到指定的电子邮件地址。
yii\log\FileTarget FileTarget 在文件中记录日志消息。
yii\log\LogRuntimeException LogRuntimeException 表示由日志传递问题引起的异常。
yii\log\Logger Logger 如果设置了 $dispatcher,它将把日志消息记在内存并且发送到所设置的日志 $dispatcher
yii\log\SyslogTarget SyslogTarget 将日志写入系统日志(syslog)中。
yii\log\Target Target 是所有日志目标类的基类。
yii\mail\BaseMailer BaseMailer 充当基类,实现 yii\mail\MailerInterface 所需的基本功能。
yii\mail\BaseMessage BaseMessage 用于实现 yii\mail\MessageInterface 所需的 send() 方法的基类。
yii\mail\MailEvent MailEvent 表示用于由 yii\mail\BaseMailer 触发的事件参数。
yii\mail\MailerInterface MailerInterface 是应该由邮件程序类实现的接口。
yii\mail\MessageInterface MessageInterface 是应由邮件消息类实现的接口。
yii\mutex\DbMutex DbMutex 是类的基类,它在实现互斥锁“锁定”机制时依赖于数据库。
yii\mutex\FileMutex FileMutex implements mutex "lock" mechanism via local file system files.
yii\mutex\Mutex The Mutex component allows mutual execution of concurrent processes in order to prevent "race conditions".
yii\mutex\MysqlMutex MysqlMutex implements mutex "lock" mechanism via MySQL locks.
yii\mutex\OracleMutex OracleMutex implements mutex "lock" mechanism via Oracle locks.
yii\mutex\PgsqlMutex PgsqlMutex implements mutex "lock" mechanism via PgSQL locks.
yii\mutex\RetryAcquireTrait Trait RetryAcquireTrait.
yii\rbac\Assignment Assignment 表示为用户分配角色。
yii\rbac\BaseManager BaseManager 是实现 RBAC 管理 yii\rbac\ManagerInterface 的基类。
yii\rbac\CheckAccessInterface 有关 CheckAccessInterface 的更多详细信息和用法信息,请参阅 授权指南
yii\rbac\DbManager DbManager 表示将授权信息存储在数据库中的授权管理器。
yii\rbac\Item 有关 Item 的更多详细信息和用法信息,请参阅 授权指南
yii\rbac\ManagerInterface 有关 ManagerInterface 的更多详细信息和用法信息,请参阅 授权指南
yii\rbac\Permission 有关 Permission 的更多详细信息和用法信息,请参阅 授权指南
yii\rbac\PhpManager PhpManager 表示一个授权管理器, 它根据 PHP 脚本文件存储授权信息。
yii\rbac\Role 有关 Role 的更多详细信息和用法信息,请参阅 授权指南
yii\rbac\Rule Rule 表示可能与角色,权限或分配相关的业务约束。
yii\rest\Action Action 是实现了 RESTful API 的动作类的基类。
yii\rest\ActiveController ActiveController 实现一组通用操作,以支持对 ActiveRecord 的 RESTful 访问
yii\rest\Controller Controller 是 RESTful API 控制器类的基类。
yii\rest\CreateAction CreateAction 实现一个 API 端点,用于根据给定数据创建新模型。
yii\rest\DeleteAction DeleteAction 实现一个 API 端点,用于删除一个模型。
yii\rest\IndexAction IndexAction 实现一个 API 端点,用于返回模型列表。
yii\rest\OptionsAction OptionsAction 通过发送回 Allow 请求头来响应 OPTIONS 请求。
yii\rest\Serializer Serializer 将资源对象和集合转换为数组表示。
yii\rest\UpdateAction UpdateAction 实现一个 API 端点,用于更新模型
yii\rest\UrlRule UrlRule 用来简化 RESTful API 支持的 URL 规则的创建。
yii\rest\ViewAction ViewAction 实现一个 API 端点,用于返回模型的详细信息。
yii\test\ActiveFixture ActiveFixture 代表一个 ActiveRecord class 模型或者一个 database table 数据表的夹具。
yii\test\ArrayFixture ArrayFixture 代表任意一个可以通过PHP文件加载的夹具。
yii\test\BaseActiveFixture BaseActiveFixture 是夹具基类用于支持以 ActiveRecord 对象的方式访问夹具数据。
yii\test\DbFixture DbFixture 是数据库相关的夹具基类。
yii\test\FileFixtureTrait FileFixtureTrait 提供一些用于从文件中加载数据夹具的函数能力。
yii\test\Fixture 夹具指代的是测试环境的一个固定的数据状态。
yii\test\FixtureTrait FixtureTrait 提供一系列用于加载,卸载和访问测试用例中的夹具的函数能力。
yii\test\InitDbFixture InitDbFixture 用于数据库相关的测试状态初始化相关的需求。
yii\validators\BooleanValidator BooleanValidator 用于校验属性是否是一个布尔值。
yii\validators\CompareValidator CompareValidator 用于将指定的属性的值和其他值进行比较。
yii\validators\DateValidator DateValidator 校验这个属性是否是一个 $format 要求的格式的日期,时间戳,或者日期时间。
yii\validators\DefaultValueValidator DefaultValueValidator 将属性设置为指定的默认值。
yii\validators\EachValidator EachValidator 用于通过指定的校验规则来校验一个数组的每一个元素。
yii\validators\EmailValidator EmailValidator 校验属性值是否是一个合法的邮件地址。
yii\validators\ExistValidator ExistValidator 校验指定的属性值是否在数据表中存在。
yii\validators\FileValidator FileValidator 校验一个指定的属性接受的是一个合法的上传文件。
yii\validators\FilterValidator FilterValidator 通过一个过滤器函数来转换属性值为要求的形式。
yii\validators\ImageValidator ImageValidator 校验一个属性是否在接受一个合法的图片。
yii\validators\InlineValidator InlineValidator 代表一个被定义为待校验对象的某个方法的校验器。
yii\validators\IpValidator 这个校验器校验属性值是否是一个合法的 IPv4/IPv6 地址或者子网。
yii\validators\NumberValidator NumberValidator 校验属性的值是否是数字。
yii\validators\PunycodeAsset This asset bundle provides the javascript files needed for the yii\validators\EmailValidators client validation.
yii\validators\RangeValidator RangeValidator 校验属性值是否在指定列表区间内。
yii\validators\RegularExpressionValidator RegularExpressionValidator 校验属性值是否符合指定的模式 $pattern
yii\validators\RequiredValidator RequiredValidator 校验指定的属性不为 null 值或者空值。
yii\validators\SafeValidator SafeValidator 充当一个虚拟校验器,它的主要目的是在批量赋值时标记指定的属性是安全的。
yii\validators\StringValidator StringValidator 校验属性值是否满足规定的长度。
yii\validators\UniqueValidator UniqueValidator 校验指定的属性值在数据库表中是唯一的。
yii\validators\UrlValidator UrlValidator 校验指定的属性值是否是一个合法的 http 或者 https URL。
yii\validators\ValidationAsset This asset bundle provides the javascript files for client validation.
yii\validators\Validator Validator 是所有校验器的基类。
yii\web\Application Application 是所有 Web 应用程序类的基类。
yii\web\AssetBundle AssetBundle 代表的资源文件的集合,如 CSS,JS,图片。
yii\web\AssetConverter AssetConverter 支持将一些流行的脚本格式编译成 JS 或者 CSS 脚本。
yii\web\AssetConverterInterface 资源编译器必须继承 AssetConverterInterface。
yii\web\AssetManager AssetManager 管理资源包的配置和加载。
yii\web\BadRequestHttpException BadRequestHttpException represents a "Bad Request" HTTP exception with status code 400.
yii\web\CacheSession CacheSession implements a session component using cache as storage medium.
yii\web\CompositeUrlRule CompositeUrlRule is the base class for URL rule classes that consist of multiple simpler rules.
yii\web\ConflictHttpException ConflictHttpException represents a "Conflict" HTTP exception with status code 409.
yii\web\Controller Controller is the base class of web controllers.
yii\web\Cookie Cookie represents information related with a cookie, such as $name, $value, $domain, etc.
yii\web\CookieCollection CookieCollection maintains the cookies available in the current request.
yii\web\DbSession DbSession extends yii\web\Session by using database as session data storage.
yii\web\ErrorAction ErrorAction displays application errors using a specified view.
yii\web\ErrorHandler ErrorHandler handles uncaught PHP errors and exceptions.
yii\web\ForbiddenHttpException ForbiddenHttpException represents a "Forbidden" HTTP exception with status code 403.
yii\web\GoneHttpException GoneHttpException represents a "Gone" HTTP exception with status code 410.
yii\web\GroupUrlRule GroupUrlRule represents a collection of URL rules sharing the same prefix in their patterns and routes.
yii\web\HeaderCollection HeaderCollection is used by yii\web\Response to maintain the currently registered HTTP headers.
yii\web\HeadersAlreadySentException HeadersAlreadySentException represents an exception caused by any headers that were already sent before web response was sent.
yii\web\HtmlResponseFormatter HtmlResponseFormatter formats the given data into an HTML response content.
yii\web\HttpException HttpException represents an exception caused by an improper request of the end-user.
yii\web\IdentityInterface IdentityInterface is the interface that should be implemented by a class providing identity information.
yii\web\JqueryAsset This asset bundle provides the jQuery JavaScript library.
yii\web\JsExpression JsExpression marks a string as a JavaScript expression.
yii\web\JsonParser Parses a raw HTTP request using yii\helpers\Json::decode().
yii\web\JsonResponseFormatter JsonResponseFormatter formats the given data into a JSON or JSONP response content.
yii\web\Link Link represents a link object as defined in JSON Hypermedia API Language.
yii\web\Linkable Linkable is the interface that should be implemented by classes that typically represent locatable resources.
yii\web\MethodNotAllowedHttpException MethodNotAllowedHttpException represents a "Method Not Allowed" HTTP exception with status code 405.
yii\web\MultiFieldSession MultiFieldSession is the base class for session storage implementations with multi-field data storage support.
yii\web\MultipartFormDataParser MultipartFormDataParser parses content encoded as 'multipart/form-data'.
yii\web\NotAcceptableHttpException NotAcceptableHttpException represents a "Not Acceptable" HTTP exception with status code 406.
yii\web\NotFoundHttpException NotFoundHttpException represents a "Not Found" HTTP exception with status code 404.
yii\web\RangeNotSatisfiableHttpException RangeNotSatisfiableHttpException represents an exception caused by an improper request of the end-user.
yii\web\Request The web Request class represents an HTTP request.
yii\web\RequestParserInterface Interface for classes that parse the raw request body into a parameters array.
yii\web\Response The web Response class represents an HTTP response.
yii\web\ResponseFormatterInterface ResponseFormatterInterface specifies the interface needed to format a response before it is sent out.
yii\web\ServerErrorHttpException ServerErrorHttpException represents an "Internal Server Error" HTTP exception with status code 500.
yii\web\Session Session provides session data management and the related configurations.
yii\web\SessionIterator SessionIterator implements an iterator for traversing session variables managed by yii\web\Session.
yii\web\TooManyRequestsHttpException TooManyRequestsHttpException represents a "Too Many Requests" HTTP exception with status code 429.
yii\web\UnauthorizedHttpException UnauthorizedHttpException represents an "Unauthorized" HTTP exception with status code 401.
yii\web\UnprocessableEntityHttpException UnprocessableEntityHttpException represents an "Unprocessable Entity" HTTP exception with status code 422.
yii\web\UnsupportedMediaTypeHttpException UnsupportedMediaTypeHttpException represents an "Unsupported Media Type" HTTP exception with status code 415.
yii\web\UploadedFile UploadedFile represents the information for an uploaded file.
yii\web\UrlManager UrlManager handles HTTP request parsing and creation of URLs based on a set of rules.
yii\web\UrlNormalizer UrlNormalizer normalizes URLs for yii\web\UrlManager and yii\web\UrlRule.
yii\web\UrlNormalizerRedirectException UrlNormalizerRedirectException represents an information for redirection which should be performed during the URL normalization.
yii\web\UrlRule UrlRule represents a rule used by yii\web\UrlManager for parsing and generating URLs.
yii\web\UrlRuleInterface UrlRuleInterface is the interface that should be implemented by URL rule classes.
yii\web\User User is the class for the user application component that manages the user authentication status.
yii\web\UserEvent This event class is used for Events triggered by the yii\web\User class.
yii\web\View View represents a view object in the MVC pattern.
yii\web\ViewAction ViewAction represents an action that displays a view according to a user-specified parameter.
yii\web\XmlResponseFormatter XmlResponseFormatter formats the given data into an XML response content.
yii\web\YiiAsset This asset bundle provides the base JavaScript files for the Yii Framework.
yii\widgets\ActiveField ActiveField represents a form input field within an yii\widgets\ActiveForm.
yii\widgets\ActiveForm ActiveForm is a widget that builds an interactive HTML form for one or multiple data models.
yii\widgets\ActiveFormAsset The asset bundle for the yii\widgets\ActiveForm widget.
yii\widgets\BaseListView BaseListView is a base class for widgets displaying data from data provider such as ListView and GridView.
yii\widgets\Block Block records all output between begin() and end() calls and stores it in yii\base\View::$blocks.
yii\widgets\Breadcrumbs Breadcrumbs displays a list of links indicating the position of the current page in the whole site hierarchy.
yii\widgets\ContentDecorator ContentDecorator records all output between begin() and end() calls, passes it to the given view file as $content and then echoes rendering result.
yii\widgets\DetailView DetailView displays the detail of a single data $model.
yii\widgets\FragmentCache FragmentCache is used by yii\base\View to provide caching of page fragments.
yii\widgets\InputWidget InputWidget is the base class for widgets that collect user inputs.
yii\widgets\LinkPager LinkPager displays a list of hyperlinks that lead to different pages of target.
yii\widgets\LinkSorter LinkSorter renders a list of sort links for the given sort definition.
yii\widgets\ListView The ListView widget is used to display data from data provider. Each data model is rendered using the view specified.
yii\widgets\MaskedInput MaskedInput generates a masked text input.
yii\widgets\MaskedInputAsset The asset bundle for the yii\widgets\MaskedInput widget.
yii\widgets\Menu Menu displays a multi-level menu using nested HTML lists.
yii\widgets\Pjax Pjax is a widget integrating the pjax jQuery plugin.
yii\widgets\PjaxAsset This asset bundle provides the javascript files required by yii\widgets\Pjax widget.
yii\widgets\Spaceless Spaceless widget removes whitespace characters between HTML tags. Whitespaces within HTML tags or in a plain text are always left untouched.