rbac\ManagerInterface getChildRoles()

getChildRoles() public abstract method (available since version 2.0.10) Returns the roles that are adding to the role via addChild() by recursive. public abstract yii\rbac\Role[] getChildRoles ( $roleName )$roleName string Name of parent Role. return yii\rbac\Role[] All roles directly adding to the role. The array is indexed by the role names. First element is a Role item that are getting by $roleName. throws yii\base\InvalidParamException if Role was not found that are getting by $

db\cubrid\Schema $exceptionMap

$exceptionMap public property Map of DB errors and corresponding exceptions If left part is found in DB error message exception class from the right part is used. public array $exceptionMap = ['Operation would have caused one or more unique constraint violations' => 'yii\db\IntegrityException']

jui\Tabs $items

$items public property List of tab items. Each item can be an array of the following structure: label: string, required, specifies the header link label. When $encodeLabels is true, the label will be HTML-encoded. content: string, the content to show when corresponding tab is clicked. Can be omitted if url is specified. url: mixed, mixed, optional, the url to load tab contents via AJAX. It is required if no content is specified. template: string, optional, the header link template to render

mongodb\log\MongoDbTarget $db

$db public property The MongoDB connection object or the application component ID of the MongoDB connection. After the MongoDbTarget object is created, if you want to change this property, you should only assign it with a MongoDB connection object. public yii\mongodb\Connection|string $db = 'mongodb'

gii\generators\model\Generator getDbConnection()

getDbConnection() protected method protected yii\db\Connection getDbConnection ( )return yii\db\Connection The DB connection as specified by $db.

rest\ViewAction run()

run() public method Displays a model. public yii\db\ActiveRecordInterface run ( $id )$id string The primary key of the model. return yii\db\ActiveRecordInterface The model being displayed

elasticsearch\QueryBuilder __construct()

__construct() public method Constructor. public void __construct ( $connection, $config = [] )$connection yii\elasticsearch\Connection The database connection. $config array Name-value pairs that will be used to initialize the object properties

mongodb\file\Query getCollection()

getCollection() public method Returns the Mongo collection for this query. public yii\mongodb\file\Collection getCollection ( $db = null )$db yii\mongodb\Connection Mongo connection. return yii\mongodb\file\Collection Collection instance.

caching\Cache setValues()

setValues() protected method Stores multiple key-value pairs in cache. The default implementation calls setValue() multiple times store values one by one. If the underlying cache storage supports multi-set, this method should be overridden to exploit that feature. protected array setValues ( $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

mongodb\QueryBuilder buildSortFields()

buildSortFields() public method Normalizes fields list for the MongoDB sort composition. public array buildSortFields ( $fields )$fields array|string Raw fields. return array Normalized sort fields.