AdminAccessPermissionDeleter

Implements \AdminAccessPermissionDeleterInterface

Class AdminAccessPermissionDeleter

category

System

package

AdminAccess

subpackage

Deleters

Methods

AdminAccessPermissionDeleter constructor.

__construct(\CI_DB_query_builder $queryBuilder) 

Arguments

$queryBuilder

\CI_DB_query_builder

Query builder.

Deletes a permission by given AdminAccessRole and AdminAccessGroup objects.

delete(\AdminAccessRoleInterface $accessRole, \AdminAccessGroupInterface $accessGroup) : \AdminAccessPermissionDeleterInterface

Arguments

$accessRole

\AdminAccessRoleInterface

Role object.

$accessGroup

\AdminAccessGroupInterface

Group object.

Response

\AdminAccessPermissionDeleterInterface

Returns same instance for chained method calls.

Deletes a permission by given AdminAccessRole id and AdminAccessGroup id.

deleteByIds(\IdType $roleId, \IdType $groupId) : \AdminAccessPermissionDeleterInterface

Arguments

$roleId

\IdType

Role ID.

$groupId

\IdType

Group ID.

Response

\AdminAccessPermissionDeleterInterface

Returns same instance for chained method calls.

Properties

queryBuilder

queryBuilder : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder

permissionTable

permissionTable : string
var

Type(s)

string