db\BaseActiveRecord save()

save() public method Saves the current record. This method will call insert() when $isNewRecord is true, or update() when $isNewRecord is false. For example, to save a customer record: $customer = new Customer; // or $customer = Customer::findOne($id); $customer->name = $name; $customer->email = $email; $customer->save(); public boolean save ( $runValidation = true, $attributeNames = null )$runValidation boolean Whether to perform validation (calling validate()) before saving t

rbac\PhpManager getAssignments()

getAssignments() public method Returns all role assignment information for the specified user. public yii\rbac\Assignment[] getAssignments ( $userId )$userId string|integer The user ID (see yii\web\User::$id) return yii\rbac\Assignment[] The assignments indexed by role names. An empty array will be returned if there is no role assigned to the user.

authclient\OAuthToken $tokenSecretParamKey

$tokenSecretParamKey public property Key in $params array, which stores token secret key. public string $tokenSecretParamKey = 'oauth_token_secret'

rbac\BaseManager remove()

remove() public method Removes a role, permission or rule from the RBAC system. public boolean remove ( $object )$object yii\rbac\Role|yii\rbac\Permission|yii\rbac\Rule return boolean Whether the role, permission or rule is successfully removed

mongodb\file\Cursor __set()

__set() public method PHP magic method, which is invoked on attempt of setting not existing property. It passes value to the inner iterator. public void __set ( $name, $value )$name string Field name. $value mixed Field value.

authclient\BaseClient getName()

getName() public method public string getName ( )return string Service name.

rbac\DbManager getAssignments()

getAssignments() public method Returns all role assignment information for the specified user. public yii\rbac\Assignment[] getAssignments ( $userId )$userId string|integer The user ID (see yii\web\User::$id) return yii\rbac\Assignment[] The assignments indexed by role names. An empty array will be returned if there is no role assigned to the user.

rbac\DbManager revokeAll()

revokeAll() public method Revokes all roles from a user. public boolean revokeAll ( $userId )$userId mixed The user ID (see yii\web\User::$id) return boolean Whether the revoking is successful

rbac\BaseManager executeRule()

executeRule() protected method Executes the rule associated with the specified auth item. If the item does not specify a rule, this method will return true. Otherwise, it will return the value of yii\rbac\Rule::execute(). protected boolean executeRule ( $user, $item, $params )$user string|integer The user ID. This should be either an integer or a string representing the unique identifier of a user. See yii\web\User::$id. $item yii\rbac\Item The auth item that needs to execute its rul

mongodb\Command $readConcern

$readConcern public property Read concern to be used in this command. public \MongoDB\Driver\ReadConcern|string getReadConcern ( )public $this setReadConcern ( $readConcern )