redis\ActiveQuery __construct()

__construct() public method Constructor. public void __construct ( $modelClass, $config = [] )$modelClass array The model class associated with this query $config array Configurations to be applied to the newly created query object

mongodb\Collection createIndexes()

createIndexes() public method (available since version 2.1) Creates several indexes at once. Example: $collection = Yii::$app->mongo->getCollection('customer'); $collection->createIndexes([ [ 'key' => ['name'], ], [ 'key' => [ 'email' => 1, 'address' => -1, ], 'name' => 'my_index' ], ]); public boolean createIndexes ( $indexes )$indexes array[] Indexes specification. Each specification shoul

db\ActiveQueryInterface indexBy()

indexBy() public abstract method Sets the indexBy() property. public abstract $this indexBy ( $column )$column string|callable The name of the column by which the query results should be indexed by. This can also be a callable (e.g. anonymous function) that returns the index value based on the given row or model data. The signature of the callable should be: // $model is an AR instance when `asArray` is false, // or an array of column values when `asArray` is true. function ($model) {

caching\Cache flush()

flush() public method Deletes all values from cache. Be careful of performing this operation if the cache is shared among multiple applications. public boolean flush ( )return boolean Whether the flush operation was successful.

db\oci\Schema createQueryBuilder()

createQueryBuilder() public method Creates a query builder for the database. This method may be overridden by child classes to create a DBMS-specific query builder. public yii\db\QueryBuilder createQueryBuilder ( )return yii\db\QueryBuilder Query builder instance

i18n\Formatter $datetimeFormat

$datetimeFormat public property The default format string to be used to format a date and time. This can be "short", "medium", "long", or "full", which represents a preset format of different lengths. It can also be a custom format as specified in the ICU manual. Alternatively this can be a string prefixed with php: representing a format that can be recognized by the PHP date()-function. For example: 'MM/dd/yyyy HH:mm:ss' // date and time in ICU format 'php:m/d/Y H:i:s' // the same date and

mongodb\file\Cursor toArray()

toArray() public method Returns an array containing all results for this cursor public array toArray ( )return array Containing all results for this cursor.

base\ViewEvent $params

$params public property The parameter array passed to the yii\base\View::render() method. public array $params = null

db\QueryInterface count()

count() public abstract method Returns the number of records. public abstract integer count ( $q = '*', $db = null )$q string The COUNT expression. Defaults to '*'. $db yii\db\Connection The database connection used to execute the query. If this parameter is not given, the db application component will be used. return integer Number of records.

web\Request $acceptableLanguages

$acceptableLanguages public property The languages ordered by the preference level. The first element represents the most preferred language. public array getAcceptableLanguages ( )public void setAcceptableLanguages ( $value )