db\ActiveQueryInterface asArray()

asArray() public abstract method Sets the asArray() property. public abstract $this asArray ( $value = true )$value boolean Whether to return the query results in terms of arrays instead of Active Records. return $this The query object itself

web\Controller redirect()

redirect() public method Redirects the browser to the specified URL. This method is a shortcut to yii\web\Response::redirect(). You can use it in an action by returning the yii\web\Response directly: // stop executing this action and redirect to login page return $this->redirect(['login']); public yii\web\Response redirect ( $url, $statusCode = 302 )$url string|array The URL to be redirected to. This can be in one of the following formats: a string representing a URL (e.g. "http://

rbac\DbManager init()

init() public method Initializes the application component. This method overrides the parent implementation by establishing the database connection. public void init ( )

redis\Connection open()

open() public method Establishes a DB connection. It does nothing if a DB connection has already been established. public void open ( )throws yii\db\Exception if connection fails

debug\panels\TimelinePanel save()

save() public method Saves data to be later used in debugger detail view. This method is called on every page where debugger is enabled. public mixed save ( )return mixed Data to be saved

mongodb\Collection dropIndexes()

dropIndexes() public method Drops collection indexes by name. public integer dropIndexes ( $indexes )$indexes string Wildcard for name of the indexes to be dropped. You can use * to drop all indexes. return integer Count of dropped indexes.

grid\CheckboxColumn registerClientScript()

registerClientScript() public method (available since version 2.0.8) Registers the needed JavaScript public void registerClientScript ( )

console\controllers\MessageController $translator

$translator public property The name of the function for translating messages. Defaults to 'Yii::t'. This is used as a mark to find the messages to be translated. You may use a string for single function name or an array for multiple function names. public string $translator = 'Yii::t'

helpers\BaseArrayHelper map()

map() public static method Builds a map (key-value pairs) from a multidimensional array or an array of objects. The $from and $to parameters specify the key names or property names to set up the map. Optionally, one can further group the map according to a grouping field $group. For example, $array = [ ['id' => '123', 'name' => 'aaa', 'class' => 'x'], ['id' => '124', 'name' => 'bbb', 'class' => 'x'], ['id' => '345', 'name' => 'ccc', 'class' => 'y'], ];

base\Module $viewPath

$viewPath public property The root directory of view files. Defaults to "$basePath/views". public string getViewPath ( )public void setViewPath ( $path )