rbac\ManagerInterface getRolesByUser()

getRolesByUser() public abstract 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 abstract 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.

db\Schema getCacheTag()

getCacheTag() protected method Returns the cache tag name. This allows refresh() to invalidate all cached table schemas. protected string getCacheTag ( )return string The cache tag name

BaseYii getAlias()

getAlias() public static method Translates a path alias into an actual path. The translation is done according to the following procedure: If the given alias does not start with '@', it is returned back without change; Otherwise, look for the longest registered alias that matches the beginning part of the given alias. If it exists, replace the matching part of the given alias with the corresponding registered path. Throw an exception or return false, depending on the $throwException paramet

debug\Module bootstrap()

bootstrap() public method Bootstrap method to be called during application bootstrap stage. public void bootstrap ( $app )$app yii\base\Application The application currently running

gii\generators\module\Generator requiredTemplates()

requiredTemplates() public method Returns a list of code template files that are required. Derived classes usually should override this method if they require the existence of certain template files. public array requiredTemplates ( )return array List of code template files that are required. They should be file paths relative to $templatePath.

mongodb\i18n\MongoDbMessageSource loadMessagesFromDb()

loadMessagesFromDb() protected method Loads the messages from MongoDB. You may override this method to customize the message storage in the MongoDB. protected array loadMessagesFromDb ( $category, $language )$category string The message category. $language string The target language. return array The messages loaded from database.

db\oci\QueryBuilder $typeMap

$typeMap public property Mapping from abstract column types (keys) to physical column types (values). public array $typeMap = [\yii\db\oci\Schema::TYPE_PK => 'NUMBER(10) NOT NULL PRIMARY KEY', \yii\db\oci\Schema::TYPE_UPK => 'NUMBER(10) UNSIGNED NOT NULL PRIMARY KEY', \yii\db\oci\Schema::TYPE_BIGPK => 'NUMBER(20) NOT NULL PRIMARY KEY', \yii\db\oci\Schema::TYPE_UBIGPK => 'NUMBER(20) UNSIGNED NOT NULL PRIMARY KEY', \yii\db\oci\Schema::TYPE_CHAR => 'CHAR(1)', \yii\db\oci\Schema

test\BaseActiveFixture unload()

unload() public method Unloads the fixture. This method is called after every test method finishes. You may override this method to perform necessary cleanup work for the fixture. public void unload ( )

base\Application $extensions

$extensions public property List of installed Yii extensions. Each array element represents a single extension with the following structure: [ 'name' => 'extension name', 'version' => 'version number', 'bootstrap' => 'BootstrapClassName', // optional, may also be a configuration array 'alias' => [ '@alias1' => 'to/path1', '@alias2' => 'to/path2', ], ] The "bootstrap" class listed above will be instantiated during the application bootst

debug\models\search\Db rules()

rules() public method Returns the validation rules for attributes. Validation rules are used by validate() to check if attribute values are valid. Child classes may override this method to declare different validation rules. Each rule is an array with the following structure: [ ['attribute1', 'attribute2'], 'validator type', 'on' => ['scenario1', 'scenario2'], //...other parameters... ] where attribute list: required, specifies the attributes array to be validated, for s