web\HeaderCollection count()

count() public method Returns the number of headers in the collection. This method is required by the SPL Countable interface. It will be implicitly called when you use count($collection). public integer count ( )return integer The number of headers in the collection.

db\mssql\QueryBuilder isOldMssql()

isOldMssql() protected method protected boolean isOldMssql ( )return boolean Whether the version of the MSSQL being used is older than 2012. throws yii\base\InvalidConfigException throws yii\db\Exception

db\Connection useMaster()

useMaster() public method Executes the provided callback by using the master connection. This method is provided so that you can temporarily force using the master connection to perform DB operations even if they are read queries. For example, $result = $db->useMaster(function ($db) { return $db->createCommand('SELECT * FROM user LIMIT 1')->queryOne(); }); public mixed useMaster ( callable $callback )$callback callable A PHP callable to be executed by this method. Its signa

mongodb\Migration dropAllIndexes()

dropAllIndexes() public method Drops all indexes for specified collection. public void dropAllIndexes ( $collection )$collection string|array Name of the collection.

behaviors\SluggableBehavior validateSlug()

validateSlug() protected method Checks if given slug value is unique. protected boolean validateSlug ( $slug )$slug string Slug value return boolean Whether slug is unique.

validators\Validator $whenClient

$whenClient public property A JavaScript function name whose return value determines whether this validator should be applied on the client-side. The signature of the function should be function (attribute, value), where attribute is an object describing the attribute being validated (see clientValidateAttribute()) and value the current value of the attribute. This property is mainly provided to support conditional validation on the client-side. If this property is not set, this validator w

grid\ActionColumn $urlCreator

$urlCreator public property A callback that creates a button URL using the specified model information. The signature of the callback should be the same as that of createUrl() Since 2.0.10 it can accept additional parameter, which refers to the column instance itself: function (string $action, mixed $model, mixed $key, integer $index, ActionColumn $this) { //return string; } If this property is not set, button URLs will be created using createUrl(). public callable $urlCreator = null

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.