filters\Cors prepareAllowHeaders()

prepareAllowHeaders() protected method Handle classic CORS request to avoid duplicate code protected void prepareAllowHeaders ( $type, $requestHeaders, &$responseHeaders )$type string The kind of headers we would handle $requestHeaders array CORS headers request by client $responseHeaders array CORS response headers sent to the client

sphinx\Command alterColumn()

alterColumn() public method Creates a SQL command for changing the definition of a column. public $this alterColumn ( $table, $column, $type )$table string The table whose column is to be changed. The table name will be properly quoted by the method. $column string The name of the column to be changed. The name will be properly quoted by the method. $type string The column type. yii\db\QueryBuilder::getColumnType() will be called to convert the give column type to the physical one. F

filters\VerbFilter beforeAction()

beforeAction() public method public boolean beforeAction ( $event )$event yii\base\ActionEvent throws yii\web\MethodNotAllowedHttpException when the request method is not allowed.

sphinx\MatchExpression andMatch()

andMatch() public method Adds an additional MATCH condition to the existing one. The new condition and the existing one will be joined using the 'AND' (' ') operator. See also: match() orMatch() public $this andMatch ( $condition, $params = [] )$condition string|array|yii\db\Expression The new MATCH condition. Please refer to match() on how to specify this parameter. $params array The parameters (name => value) to be parsed into the query. return $this The expression object itse

mongodb\Command group()

group() public method Performs aggregation using MongoDB "group" command. public array group ( $collectionName, $keys, $initial, $reduce, $options = [] )$collectionName string Collection name. $keys mixed Fields to group by. If an array or non-code object is passed, it will be the key used to group results. If instance of \MongoDB\BSON\Javascript passed, it will be treated as a function that returns the key to group by. $initial array Initial value of the aggregation counter object.

db\ActiveRecordInterface getRelation()

getRelation() public abstract method Returns the relation object with the specified name. A relation is defined by a getter method which returns an object implementing the yii\db\ActiveQueryInterface (normally this would be a relational yii\db\ActiveQuery object). It can be declared in either the ActiveRecord class itself or one of its behaviors. public abstract yii\db\ActiveQueryInterface getRelation ( $name, $throwException = true )$name string The relation name, e.g. orders for a rela

redis\Connection $redisCommands

$redisCommands public property List of available redis commands http://redis.io/commands public array $redisCommands = ['BLPOP', 'BRPOP', 'BRPOPLPUSH', 'CLIENT KILL', 'CLIENT LIST', 'CLIENT GETNAME', 'CLIENT SETNAME', 'CONFIG GET', 'CONFIG SET', 'CONFIG RESETSTAT', 'DBSIZE', 'DEBUG OBJECT', 'DEBUG SEGFAULT', 'DECR', 'DECRBY', 'DEL', 'DISCARD', 'DUMP', 'ECHO', 'EVAL', 'EVALSHA', 'EXEC', 'EXISTS', 'EXPIRE', 'EXPIREAT', 'FLUSHALL', 'FLUSHDB', 'GET', 'GETBIT', 'GETRANGE', 'GETSET', 'HDEL', 'HE

db\Migration delete()

delete() public method Creates and executes a DELETE SQL statement. public void delete ( $table, $condition = '', $params = [] )$table string The table where the data will be deleted from. $condition array|string The conditions that will be put in the WHERE part. Please refer to yii\db\Query::where() on how to specify conditions. $params array The parameters to be bound to the query.

base\Response clearOutputBuffers()

clearOutputBuffers() public method Removes all existing output buffers. public void clearOutputBuffers ( )

db\mssql\Schema findUniqueIndexes()

findUniqueIndexes() public method (available since version 2.0.4) Returns all unique indexes for the given table. Each array element is of the following structure: [ 'IndexName1' => ['col1' [, ...]], 'IndexName2' => ['col2' [, ...]], ] public array findUniqueIndexes ( $table )$table yii\db\mssql\TableSchema The table metadata return array All unique indexes for the given table.