rbac\DbManager getDirectPermissionsByUser()

getDirectPermissionsByUser() protected method (available since version 2.0.7) Returns all permissions that are directly assigned to user. protected yii\rbac\Permission[] getDirectPermissionsByUser ( $userId )$userId string|integer The user ID (see yii\web\User::$id) return yii\rbac\Permission[] All direct permissions that the user has. The array is indexed by the permission names.

authclient\OpenId setTrustRoot()

setTrustRoot() public method public void setTrustRoot ( $value )$value string Client trust root (realm).

helpers\BaseConsole ansiToHtml()

ansiToHtml() public static method Converts an ANSI formatted string to HTML Note: xTerm 256 bit colors are currently not supported. public static string ansiToHtml ( $string, $styleMap = [] )$string string The string to convert. $styleMap array An optional mapping of ANSI control codes such as FG_COLOR or BOLD to a set of css style definitions. The CSS style definitions are represented as an array where the array keys correspond to the css style attribute names and the values are the c

mongodb\file\ActiveRecord getFileContent()

getFileContent() public method Returns the associated file content. public null|string getFileContent ( )return null|string File content. throws yii\base\InvalidParamException on invalid file attribute value.

caching\Cache addValues()

addValues() protected method Adds multiple key-value pairs to cache. The default implementation calls addValue() multiple times add values one by one. If the underlying cache storage supports multi-add, this method should be overridden to exploit that feature. protected array addValues ( $data, $duration )$data array Array where key corresponds to cache key while value is the value stored. $duration integer The number of seconds in which the cached values will expire. 0 means never exp

rbac\DbManager populateItem()

populateItem() protected method Populates an auth item with the data fetched from database protected yii\rbac\Item populateItem ( $row )$row array The data from the auth item table return yii\rbac\Item The populated auth item instance (either Role or Permission)

console\controllers\AssetController adjustDependency()

adjustDependency() protected method Adjust dependencies between asset bundles in the way source bundles begin to depend on output ones. protected yii\web\AssetBundle[] adjustDependency ( $targets, $bundles )$targets yii\web\AssetBundle[] Output asset bundles. $bundles yii\web\AssetBundle[] Source asset bundles. return yii\web\AssetBundle[] Output asset bundles.

db\ActiveQuery $joinWith

$joinWith public property A list of relations that this query should be joined with public array $joinWith = null

db\SchemaBuilderTrait float()

float() public method (available since version 2.0.6) Creates a float column. public yii\db\ColumnSchemaBuilder float ( $precision = null )$precision integer Column value precision. First parameter passed to the column type, e.g. FLOAT(precision). This parameter will be ignored if not supported by the DBMS. return yii\db\ColumnSchemaBuilder The column instance which can be further customized.

debug\Module $enableDebugLogs

$enableDebugLogs public property Whether to enable message logging for the requests about debug module actions. You normally do not want to keep these logs because they may distract you from the logs about your applications. You may want to enable the debug logs if you want to investigate how the debug module itself works. public boolean $enableDebugLogs = false