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.

rest\UrlRule init()

init() public method Initializes the object. This method is invoked at the end of the constructor after the object is initialized with the given configuration. public void init ( )

test\BaseActiveFixture getData()

getData() protected method Returns the fixture data. The default implementation will try to return the fixture data by including the external file specified by $dataFile. The file should return the data array that will be stored in $data after inserting into the database. protected array getData ( )return array The data to be put into the database throws yii\base\InvalidConfigException if the specified data file does not exist.

base\NotSupportedException getName()

getName() public method public string getName ( )return string The user-friendly name of this exception

validators\FileValidator $tooSmall

$tooSmall public property The error message used when the uploaded file is too small. You may use the following tokens in the message: {attribute}: the attribute name {file}: the uploaded file name {limit}: the value of $minSize {formattedLimit}: the value of $minSize formatted with [[\yii\i18n\Formatter::asShortSize()|Formatter::asShortSize()] public string $tooSmall = null

widgets\ActiveField __toString()

__toString() public method PHP magic method that returns the string representation of this object. public string __toString ( )return string The string representation of this object.

console\Application getRequest()

getRequest() public method Returns the request component. public yii\console\Request getRequest ( )return yii\console\Request The request component.

caching\Cache multiGet()

multiGet() public method (available since version 2.0.7) Retrieves multiple values from cache with the specified keys. Some caches (such as memcache, apc) allow retrieving multiple cached values at the same time, which may improve the performance. In case a cache does not support this feature natively, this method will try to simulate it. public array multiGet ( $keys )$keys string[] List of string keys identifying the cached values return array List of cached values corresponding to

helpers\BaseInflector camel2id()

camel2id() public static method Converts a CamelCase name into an ID in lowercase. Words in the ID may be concatenated using the specified character (defaults to '-'). For example, 'PostTag' will be converted to 'post-tag'. public static string camel2id ( $name, $separator = '-', $strict = false )$name string The string to be converted $separator string The character used to concatenate the words in the ID $strict boolean|string Whether to insert a separator between two consecutive

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