debug\actions\db\ExplainAction run()

run() public method public void run ( $seq, $tag )$seq $tag

rest\Serializer serializePagination()

serializePagination() protected method Serializes a pagination into an array. See also addPaginationHeaders(). protected array serializePagination ( $pagination )$pagination yii\data\Pagination return array The array representation of the pagination

mongodb\ActiveRecord find()

find() public static method Creates an \yii\mongodb\ActiveQueryInterface instance for query purpose. The returned \yii\mongodb\ActiveQueryInterface instance can be further customized by calling methods defined in \yii\mongodb\ActiveQueryInterface before one() or all() is called to return populated ActiveRecord instances. For example, // find the customer whose ID is 1 $customer = Customer::find()->where(['id' => 1])->one(); // find all active customers and order them by their age:

db\mssql\Schema $typeMap

$typeMap public property Mapping from physical column types (keys) to abstract column types (values) public array $typeMap = ['bigint' => self::TYPE_BIGINT, 'numeric' => self::TYPE_DECIMAL, 'bit' => self::TYPE_SMALLINT, 'smallint' => self::TYPE_SMALLINT, 'decimal' => self::TYPE_DECIMAL, 'smallmoney' => self::TYPE_MONEY, 'int' => self::TYPE_INTEGER, 'tinyint' => self::TYPE_SMALLINT, 'money' => self::TYPE_MONEY, 'float' => self::TYPE_FLOAT, 'double' => self::

db\mysql\QueryBuilder dropCommentFromColumn()

dropCommentFromColumn() public method (available since version 2.0.8) Builds a SQL command for adding comment to column public string dropCommentFromColumn ( $table, $column )$table string The table whose column is to be commented. The table name will be properly quoted by the method. $column string The name of the column to be commented. The column name will be properly quoted by the method. return string The SQL statement for adding comment on column

db\Connection $queryCacheDuration

$queryCacheDuration public property The default number of seconds that query results can remain valid in cache. Defaults to 3600, meaning 3600 seconds, or one hour. Use 0 to indicate that the cached data will never expire. The value of this property will be used when cache() is called without a cache duration. See also: $enableQueryCache cache() public integer $queryCacheDuration = 3600

web\Request $enableCsrfValidation

$enableCsrfValidation public property Whether to enable CSRF (Cross-Site Request Forgery) validation. Defaults to true. When CSRF validation is enabled, forms submitted to an Yii Web application must be originated from the same application. If not, a 400 HTTP exception will be raised. Note, this feature requires that the user client accepts cookie. Also, to use this feature, forms submitted via POST method must contain a hidden input whose name is specified by $csrfParam. You may use yii\he

db\Query addParams()

addParams() public method Adds additional parameters to be bound to the query. See also params(). public $this addParams ( $params )$params array List of query parameter values indexed by parameter placeholders. For example, [':name' => 'Dan', ':age' => 31]. return $this The query object itself

authclient\OpenId buildAxParams()

buildAxParams() protected method Composes AX request parameters. protected array buildAxParams ( )return array AX parameters.

sphinx\QueryBuilder insert()

insert() public method Creates an INSERT SQL statement. For example, $sql = $queryBuilder->insert('idx_user', [ 'name' => 'Sam', 'age' => 30, 'id' => 10, ], $params); The method will properly escape the index and column names. public string insert ( $index, $columns, &$params )$index string The index that new rows will be inserted into. $columns array The column data (name => value) to be inserted into the index. $params array The binding parameters th