AdminAccessPermissionFactory

Implements \AdminAccessPermissionFactoryInterface

Class AdminAccessPermissionFactory

category

System

package

AdminAccess

subpackage

Factories

Methods

AdminAccessPermissionFactory constructor.

__construct(\CI_DB_query_builder $queryBuilder, \AdminAccessGroupReaderInterface $groupReader) 

Arguments

$queryBuilder

\CI_DB_query_builder

Query builder.

$groupReader

\AdminAccessGroupReaderInterface

Admin access group reader.

Creates an admin access permission deleter.

_createAdminAccessPermissionDeleter() : \AdminAccessPermissionDeleter

Response

\AdminAccessPermissionDeleter

Permission deleter object.

Creates an admin access permission reader.

_createAdminAccessPermissionReader() : \AdminAccessPermissionReaderInterface

Response

\AdminAccessPermissionReaderInterface

Permission reader object.

Creates an admin access permission writer.

_createAdminAccessPermissionWriter() : \AdminAccessPermissionWriterInterface

Response

\AdminAccessPermissionWriterInterface

Permission writer object.

Creates an admin access permission.

createAdminAccessPermission() : \AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface

Creates an admin access permission collection.

createAdminAccessPermissionCollection(array $permissionObjectsArray = array()) : \AdminAccessPermissionCollection

Arguments

$permissionObjectsArray

array

Array of permission objects.

Response

\AdminAccessPermissionCollection

Permission collection.

Properties

groupReader

groupReader : \AdminAccessGroupReaderInterface

permissionWriter

permissionWriter : \AdminAccessPermissionWriterInterface

permissionDeleter

permissionDeleter : \AdminAccessPermissionDeleterInterface

permissionReader

permissionReader : \AdminAccessPermissionReaderInterface

queryBuilder

queryBuilder : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder