helpers\BaseConsole renderColoredString()

renderColoredString() public static method Converts a string to ansi formatted by replacing patterns like %y (for yellow) with ansi control codes Uses almost the same syntax as https://github.com/pear/Console_Color2/blob/master/Console/Color2.php The conversion table is: ('bold' meaning 'light' on some terminals). It's almost the same conversion table irssi uses. text text background ------------------------------------------------ %k %K %0 black dark

widgets\Block run()

run() public method Ends recording a block. This method stops output buffering and saves the rendering result as a named block in the view. public void run ( )

rbac\DbManager revoke()

revoke() public method Revokes a role from a user. public boolean revoke ( $role, $userId )$role yii\rbac\Role $userId string|integer The user ID (see yii\web\User::$id) return boolean Whether the revoking is successful

db\ActiveRecord updateAllCounters()

updateAllCounters() public static method Updates the whole table using the provided counter changes and conditions. For example, to increment all customers' age by 1, Customer::updateAllCounters(['age' => 1]); public static integer updateAllCounters ( $counters, $condition = '', $params = [] )$counters array The counters to be updated (attribute name => increment value). Use negative values if you want to decrement the counters. $condition string|array The conditions that will

mongodb\file\Download setDocument()

setDocument() public method Sets data of the document to be downloaded. Document can be specified by its ID, in this case its data will be fetched automatically via extra query. public void setDocument ( $document )$document array|\MongoDB\BSON\ObjectID Document raw data or document ID.

db\Transaction $isolationLevel

$isolationLevel public write-only property The transaction isolation level to use for this transaction. This can be one of READ_UNCOMMITTED, READ_COMMITTED, REPEATABLE_READ and SERIALIZABLE but also a string containing DBMS specific syntax to be used after SET TRANSACTION ISOLATION LEVEL. public void setIsolationLevel ( $level )

base\Model offsetUnset()

offsetUnset() public method Sets the element value at the specified offset to null. This method is required by the SPL interface ArrayAccess. It is implicitly called when you use something like unset($model[$offset]). public void offsetUnset ( $offset )$offset mixed The offset to unset element

gii\generators\crud\Generator getControllerID()

getControllerID() public method public string getControllerID ( )return string The controller ID (without the module ID prefix)

mongodb\file\Collection setPrefix()

setPrefix() public method public void setPrefix ( $prefix )$prefix string Prefix of this file collection.

data\BaseDataProvider prepareKeys()

prepareKeys() protected abstract method Prepares the keys associated with the currently available data models. protected abstract array prepareKeys ( $models )$models array The available data models return array The keys