db\mysql\Schema loadColumnSchema()

loadColumnSchema() protected method Loads the column information into a yii\db\ColumnSchema object. protected yii\db\ColumnSchema loadColumnSchema ( $info )$info array Column information return yii\db\ColumnSchema The column schema object

rest\Serializer serializeModels()

serializeModels() protected method Serializes a set of models. protected array serializeModels ( array $models )$models array return array The array representation of the models

web\Request get()

get() public method Returns GET parameter with a given name. If name isn't specified, returns an array of all GET parameters. public array|mixed get ( $name = null, $defaultValue = null )$name string The parameter name $defaultValue mixed The default parameter value if the parameter does not exist.

db\oci\QueryBuilder dropCommentFromColumn()

dropCommentFromColumn() public method (available since version 2.0.8) Builds a SQL command for adding comment to column public string dropCommentFromColumn ( $table, $column )$table string The table whose column is to be commented. The table name will be properly quoted by the method. $column string The name of the column to be commented. The column name will be properly quoted by the method. return string The SQL statement for adding comment on column

db\Migration getDb()

getDb() protected method (available since version 2.0.6) protected void getDb ( )

bootstrap\Nav $route

$route public property The route used to determine if a menu item is active or not. If not set, it will use the route of the current request. See also: $params isItemActive() public string $route = null

twig\ViewRenderer $globals

$globals public property Objects or static classes. Keys of the array are names to call in template, values are objects or names of static classes. Example: ['html' => '\yii\helpers\Html']. In the template you can use it like this: {{ html.a('Login', 'site/login') | raw }}. public array $globals = []

web\CookieCollection offsetGet()

offsetGet() public method Returns the cookie with the specified name. This method is required by the SPL interface ArrayAccess. It is implicitly called when you use something like $cookie = $collection[$name];. This is equivalent to get(). public yii\web\Cookie offsetGet ( $name )$name string The cookie name return yii\web\Cookie The cookie with the specified name, null if the named cookie does not exist.

web\AssetManager $hashCallback

$hashCallback public property (available since version 2.0.6) A callback that will be called to produce hash for asset directory generation. The signature of the callback should be as follows: function ($path) where $path is the asset path. Note that the $path can be either directory where the asset files reside or a single file. For a CSS file that uses relative path in url(), the hash implementation should use the directory path of the file instead of the file path to include the relativ

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