db\QueryBuilder dropPrimaryKey()

dropPrimaryKey() public method Builds a SQL statement for removing a primary key constraint to an existing table. public string dropPrimaryKey ( $name, $table )$name string The name of the primary key constraint to be removed. $table string The table that the primary key constraint will be removed from. return string The SQL statement for removing a primary key constraint from an existing table.

validators\NumberValidator $integerPattern

$integerPattern public property The regular expression for matching integers. public string $integerPattern = '/^\s*[+-]?\d+\s*$/'

mongodb\LogBuilder generateToken()

generateToken() public method Generate log/profile token. public string generateToken ( $namespace, $data = [] )$namespace string|array Command namespace $data array Command data. return string Token.

db\BaseActiveRecord setOldAttribute()

setOldAttribute() public method Sets the old value of the named attribute. See also hasAttribute(). public void setOldAttribute ( $name, $value )$name string The attribute name $value mixed The old attribute value. throws yii\base\InvalidParamException if the named attribute does not exist.

di\Container has()

has() public method Returns a value indicating whether the container has the definition of the specified name. See also set(). public boolean has ( $class )$class string Class name, interface name or alias name return boolean Whether the container has the definition of the specified name..

mongodb\QueryBuilder buildSelectFields()

buildSelectFields() public method Normalizes fields list for the MongoDB select composition. public array buildSelectFields ( $fields )$fields array|string Raw fields. return array Normalized select fields.

db\pgsql\QueryBuilder update()

update() public method Creates an UPDATE SQL statement. For example, $params = []; $sql = $queryBuilder->update('user', ['status' => 1], 'age > 30', $params); The method will properly escape the table and column names. public string update ( $table, $columns, $condition, &$params )$table string The table to be updated. $columns array The column data (name => value) to be updated. $condition array|string The condition that will be put in the WHERE part. Please refer

db\BaseActiveRecord getOldAttribute()

getOldAttribute() public method Returns the old value of the named attribute. If this record is the result of a query and the attribute is not loaded, null will be returned. See also hasAttribute(). public mixed getOldAttribute ( $name )$name string The attribute name return mixed The old attribute value. null if the attribute is not loaded before or does not exist.

log\Target $levels

$levels public property The message levels that this target is interested in. This is a bitmap of level values. Defaults to 0, meaning all available levels. public integer getLevels ( )public void setLevels ( $levels )

web\ViewAction $viewParam

$viewParam public property The name of the GET parameter that contains the requested view name. public string $viewParam = 'view'