db\oci\Schema findConstraints()

findConstraints() protected method Finds constraints and fills them into TableSchema object passed protected void findConstraints ( $table )$table yii\db\TableSchema

grid\ActionColumn initDefaultButton()

initDefaultButton() protected method (available since version 2.0.11) Initializes the default button rendering callback for single button protected void initDefaultButton ( $name, $iconName, $additionalOptions = [] )$name string Button name as it's written in template $iconName string The part of Bootstrap glyphicon class that makes it unique $additionalOptions array Array of additional options

db\cubrid\Schema loadTableSchema()

loadTableSchema() protected method Loads the metadata for the specified table. protected yii\db\TableSchema loadTableSchema ( $name )$name string Table name return yii\db\TableSchema Driver dependent table metadata. Null if the table does not exist.

db\QueryBuilder batchInsert()

batchInsert() public method Generates a batch INSERT SQL statement. For example, $sql = $queryBuilder->batchInsert('user', ['name', 'age'], [ ['Tom', 30], ['Jane', 20], ['Linda', 25], ]); Note that the values in each row must match the corresponding column names. The method will properly escape the column names, and quote the values to be inserted. public string batchInsert ( $table, $columns, $rows )$table string The table that new rows will be inserted into. $columns a

rbac\DbManager addItem()

addItem() protected method Adds an auth item to the RBAC system. protected boolean addItem ( $item )$item yii\rbac\Item The item to add return boolean Whether the auth item is successfully added to the system throws Exception if data validation or saving fails (such as the name of the role or permission is not unique)

db\ActiveQueryInterface via()

via() public abstract method Specifies the relation associated with the junction table for use in relational query. public abstract $this via ( $relationName, callable $callable = null )$relationName string The relation name. This refers to a relation declared in the primaryModel of the relation. $callable callable A PHP callback for customizing the relation associated with the junction table. Its signature should be function($query), where $query is the query to be customized. return

db\Query $groupBy

$groupBy public property How to group the query results. For example, ['company', 'department']. This is used to construct the GROUP BY clause in a SQL statement. public array $groupBy = null

widgets\ActiveForm $validateOnType

$validateOnType public property Whether to perform validation while the user is typing in an input field. If yii\widgets\ActiveField::$validateOnType is set, its value will take precedence for that input field. See also $validationDelay. public boolean $validateOnType = false

validators\DateValidator $locale

$locale public property The locale ID that is used to localize the date parsing. This is only effective when the PHP intl extension is installed. If not set, the locale of the formatter will be used. See also yii\i18n\Formatter::$locale. public string $locale = null

db\mysql\QueryBuilder checkIntegrity()

checkIntegrity() public method Builds a SQL statement for enabling or disabling integrity check. public string checkIntegrity ( $check = true, $schema = '', $table = '' )$check boolean Whether to turn on or off the integrity check. $schema string The schema of the tables. Meaningless for MySQL. $table string The table name. Meaningless for MySQL. return string The SQL statement for checking integrity