base\Security compareString()

compareString() public method Performs string comparison using timing attack resistant approach. See also http://codereview.stackexchange.com/questions/13512. public boolean compareString ( $expected, $actual )$expected string String to compare. $actual string User-supplied string. return boolean Whether strings are equal.

redis\ActiveQuery column()

column() public method Executes the query and returns the first column of the result. public array column ( $column, $db = null )$column string Name of the column to select $db yii\redis\Connection The database connection used to execute the query. If this parameter is not given, the db application component will be used. return array The first column of the query result. An empty array is returned if the query results in nothing.

authclient\AuthAction getCancelUrl()

getCancelUrl() public method public string getCancelUrl ( )return string Cancel URL.

grid\CheckboxColumn $checkboxOptions

$checkboxOptions public property The HTML attributes for checkboxes. This can either be an array of attributes or an anonymous function (Closure) that returns such an array. The signature of the function should be the following: function ($model, $key, $index, $column). Where $model, $key, and $index refer to the model, key and index of the row currently being rendered and $column is a reference to the yii\grid\CheckboxColumn object. A function may be used to assign different attributes to

debug\Module corePanels()

corePanels() protected method protected array corePanels ( )return array Default set of panels

helpers\BaseConsole confirm()

confirm() public static method Asks user to confirm by typing y or n. public static boolean confirm ( $message, $default = false )$message string To print out before waiting for user input $default boolean This value is returned if no selection is made. return boolean Whether user confirmed

db\sqlite\QueryBuilder renameTable()

renameTable() public method Builds a SQL statement for renaming a DB table. public string renameTable ( $table, $newName )$table string The table to be renamed. The name will be properly quoted by the method. $newName string The new table name. The name will be properly quoted by the method. return string The SQL statement for renaming a DB table.

console\controllers\MigrateController optionAliases()

optionAliases() public method (available since version 2.0.8) Returns option alias names. Child classes may override this method to specify alias options. public array optionAliases ( )return array The options alias names valid for the action where the keys is alias name for option and value is option name.

test\BaseActiveFixture getModel()

getModel() public method Returns the AR model by the specified model name. A model name is the key of the corresponding data row in $data. public null|yii\db\ActiveRecord getModel ( $name )$name string The model name. return null|yii\db\ActiveRecord The AR model, or null if the model cannot be found in the database throws yii\base\InvalidConfigException if $modelClass is not set.

db\Command queryInternal()

queryInternal() protected method (available since version 2.0.1) Performs the actual DB query of a SQL statement. protected mixed queryInternal ( $method, $fetchMode = null )$method string Method of PDOStatement to be called $fetchMode integer The result fetch mode. Please refer to PHP manual for valid fetch modes. If this parameter is null, the value set in $fetchMode will be used. return mixed The method execution result throws yii\db\Exception if the query causes any problem