mongodb\rbac\MongoDbManager removeItem()

removeItem() protected method Removes an auth item from the RBAC system. protected boolean removeItem ( $item )$item yii\rbac\Item The item to remove return boolean Whether the role or permission is successfully removed throws Exception if data validation or saving fails (such as the name of the role or permission is not unique)

rbac\DbManager $cache

$cache public property (available since version 2.0.3) The cache used to improve RBAC performance. This can be one of the following: an application component ID (e.g. cache) a configuration array a yii\caching\Cache object When this is not set, it means caching is not enabled. Note that by enabling RBAC cache, all auth items, rules and auth item parent-child relationships will be cached and loaded into memory. This will improve the performance of RBAC permission check. However, it does requ

db\sqlite\QueryBuilder dropPrimaryKey()

dropPrimaryKey() public method Builds a SQL statement for removing a primary key constraint to an existing table. public string dropPrimaryKey ( $name, $table )$name string The name of the primary key constraint to be removed. $table string The table that the primary key constraint will be removed from. return string The SQL statement for removing a primary key constraint from an existing table. throws yii\base\NotSupportedException this is not supported by SQLite

rbac\DbManager getPermissionsByUser()

getPermissionsByUser() public method Returns all permissions that the user has. public yii\rbac\Permission[] getPermissionsByUser ( $userId )$userId string|integer The user ID (see yii\web\User::$id) return yii\rbac\Permission[] All permissions that the user has. The array is indexed by the permission names.

db\QueryBuilder $conditionBuilders

$conditionBuilders protected property Map of query condition to builder methods. These methods are used by buildCondition() to build SQL conditions from array syntax. protected array $conditionBuilders = ['NOT' => 'buildNotCondition', 'AND' => 'buildAndCondition', 'OR' => 'buildAndCondition', 'BETWEEN' => 'buildBetweenCondition', 'NOT BETWEEN' => 'buildBetweenCondition', 'IN' => 'buildInCondition', 'NOT IN' => 'buildInCondition', 'LIKE' => 'buildLikeCondition', 'NOT

widgets\DetailView init()

init() public method Initializes the detail view. This method will initialize required property values. public void init ( )

swiftmailer\Message $swiftMessage

$swiftMessage public read-only property Swift message instance. public \Swift_Message getSwiftMessage ( )

mutex\FileMutex acquireLock()

acquireLock() protected method Acquires lock by given name. protected boolean acquireLock ( $name, $timeout = 0 )$name string Of the lock to be acquired. $timeout integer To wait for lock to become released. return boolean Acquiring result.

web\Request $authUser

$authUser public read-only property The username sent via HTTP authentication, null if the username is not given public string|null getAuthUser ( )

helpers\BaseArrayHelper getColumn()

getColumn() public static method Returns the values of a specified column in an array. The input array should be multidimensional or an array of objects. For example, $array = [ ['id' => '123', 'data' => 'abc'], ['id' => '345', 'data' => 'def'], ]; $result = ArrayHelper::getColumn($array, 'id'); // the result is: ['123', '345'] // using anonymous function $result = ArrayHelper::getColumn($array, function ($element) { return $element['id']; }); public static array