validators\IpValidator validateValue()

validateValue() protected method Validates a value. A validator class can implement this method to support data validation out of the context of a data model. protected array|null validateValue ( $value )$value mixed The data value to be validated. return array|null The error message and the parameters to be inserted into the error message. Null should be returned if the data is valid. throws yii\base\NotSupportedException if the validator does not supporting data validation withou

mongodb\file\ActiveQuery populate()

populate() public method Converts the raw query results into the format as specified by this query. This method is internally used to convert the data fetched from MongoDB into the format as required by this query. public array populate ( $rows )$rows array The raw query result from MongoDB return array The converted query result

mongodb\rbac\MongoDbManager getPermissionsByRole()

getPermissionsByRole() public method Returns all permissions that the specified role represents. public yii\rbac\Permission[] getPermissionsByRole ( $roleName )$roleName string The role name return yii\rbac\Permission[] All permissions that the role represents. The array is indexed by the permission names.

validators\CompareValidator $operator

$operator public property The operator for comparison. The following operators are supported: ==: check if two values are equal. The comparison is done is non-strict mode. ===: check if two values are equal. The comparison is done is strict mode. !=: check if two values are NOT equal. The comparison is done is non-strict mode. !==: check if two values are NOT equal. The comparison is done is strict mode. >: check if value being validated is greater than the value being compared with

helpers\BaseArrayHelper index()

index() public static method Indexes and/or groups the array according to a specified key. The input should be either multidimensional array or an array of objects. The $key can be either a key name of the sub-array, a property name of object, or an anonymous function that must return the value that will be used as a key. $groups is an array of keys, that will be used to group the input array into one or more sub-arrays based on keys specified. If the $key is specified as null or a value of

bootstrap\ToggleButtonGroup renderItem()

renderItem() public method Default callback for checkbox/radio list item rendering. See also: yii\bootstrap\Html::checkbox() yii\bootstrap\Html::radio() public string renderItem ( $index, $label, $name, $checked, $value )$index integer Item index. $label string Item label. $name string Input name. $checked boolean Whether value is checked or not. $value string Input value. return string Generated HTML.

captcha\CaptchaAction init()

init() public method Initializes the action. public void init ( )throws yii\base\InvalidConfigException if the font file does not exist.

authclient\BaseOAuth refreshAccessToken()

refreshAccessToken() public abstract method Gets new auth token to replace expired one. public abstract yii\authclient\OAuthToken refreshAccessToken ( yii\authclient\OAuthToken $token )$token yii\authclient\OAuthToken Expired auth token. return yii\authclient\OAuthToken New auth token.

gii\Module $controllerNamespace

$controllerNamespace public property The namespace that controller classes are in. This namespace will be used to load controller classes by prepending it to the controller class name. If not set, it will use the controllers sub-namespace under the namespace of this module. For example, if the namespace of this module is foo\bar, then the default controller namespace would be foo\bar\controllers. See also the guide section on autoloading to learn more about defining namespaces and how class

mongodb\ActiveQuery modify()

modify() public method Performs 'findAndModify' query and returns a single row of result. Warning: in case 'new' option is set to 'false' (which is by default) usage of this method may lead to unexpected behavior at some Active Record features, because object will be populated by outdated data. public yii\mongodb\ActiveRecord|array|null modify ( $update, $options = [], $db = null )$update array Update criteria $options array List of options in format: optionName => optionValue. $db