twig\ViewRenderer addExtensions()

addExtensions() public method Adds custom extensions public void addExtensions ( $extensions )$extensions array @see self::$extensions

web\XmlResponseFormatter $rootTag

$rootTag public property The name of the root element. public string $rootTag = 'response'

rbac\DbManager getRolesByUser()

getRolesByUser() public method Returns the roles that are assigned to the user via assign(). Note that child roles that are not assigned directly to the user will not be returned. public yii\rbac\Role[] getRolesByUser ( $userId )$userId string|integer The user ID (see yii\web\User::$id) return yii\rbac\Role[] All roles directly assigned to the user. The array is indexed by the role names.

rbac\PhpManager getAssignment()

getAssignment() public method Returns the assignment information regarding a role and a user. public null|yii\rbac\Assignment getAssignment ( $roleName, $userId )$roleName string The role name $userId string|integer The user ID (see yii\web\User::$id) return null|yii\rbac\Assignment The assignment information. Null is returned if the role is not assigned to the user.

console\controllers\MessageController 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.

mongodb\ActiveFixture getCollectionName()

getCollectionName() protected method Returns collection name used by this fixture. protected array|string getCollectionName ( )return array|string Related collection name

console\controllers\MigrateController createMigration()

createMigration() protected method Creates a new migration instance. protected yii\db\Migration createMigration ( $class )$class string The migration class name return yii\db\Migration The migration instance

debug\models\search\Profile attributeLabels()

attributeLabels() public method Returns the attribute labels. Attribute labels are mainly used for display purpose. For example, given an attribute firstName, we can declare a label First Name which is more user-friendly and can be displayed to end users. By default an attribute label is generated using generateAttributeLabel(). This method allows you to explicitly specify attribute labels. Note, in order to inherit labels defined in the parent class, a child class needs to merge the parent

console\controllers\AssetController loadDependency()

loadDependency() protected method Loads asset bundle dependencies recursively. protected void loadDependency ( $bundle, &$result )$bundle yii\web\AssetBundle Bundle instance $result array Already loaded bundles list. throws yii\console\Exception on failure.

elasticsearch\ActiveRecord instantiate()

instantiate() public static method Creates an active record instance. This method is called together with populateRecord() by yii\elasticsearch\ActiveQuery. It is not meant to be used for creating new records directly. You may override this method if the instance being created depends on the row data to be populated into the record. For example, by creating a record based on the value of a column, you may implement the so-called single-table inheritance mapping. public static static insta