Scalr\Upgrade\Updates\Update20150505143635::setGrantedAccountResource PHP Метод

setGrantedAccountResource() приватный Метод

Sets granted value for the specified account level ACL resource
private setGrantedAccountResource ( string $accountRoleId, integer $resourceId, string $granted )
$accountRoleId string The identifier of the account role
$resourceId integer The identifier of the ACL resource
$granted string The granted value
    private function setGrantedAccountResource($accountRoleId, $resourceId, $granted)
    {
        $this->db->Execute("\n            REPLACE acl_account_role_resources (`account_role_id`, `resource_id`, `granted`)\n            VALUES (?, ?, ?)\n        ", [$accountRoleId, $resourceId, $granted]);
    }