AdminAccessGroupWriter

Implements \AdminAccessGroupWriterInterface

Class AdminAccessGroupWriter

category

System

package

AdminAccess

subpackage

Writers

Methods

AdminAccessGroupWriter constructor.

__construct(\CI_DB_query_builder $db, \LanguageProviderInterface $languageProvider) 

Arguments

$db

\CI_DB_query_builder

Query builder.

$languageProvider

\LanguageProviderInterface

Language provider.

Stores a role into the database.

insert(\AdminAccessGroup $group) : integer

Arguments

$group

\AdminAccessGroup

Group object.

Response

integer

ID of stored group.

Updates a role from the database.

update(\AdminAccessGroup $group) : \AdminAccessGroupWriterInterface

Arguments

$group

\AdminAccessGroup

Group object.

Response

\AdminAccessGroupWriterInterface

Returns same instance for chained method calls.

Properties

db

db : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder

languageProvider

languageProvider : \LanguageProviderInterface

groupsTable

groupsTable : string
var

Type(s)

string

groupItemsTable

groupItemsTable : string
var

Type(s)

string

groupDescriptionsTable

groupDescriptionsTable : string
var

Type(s)

string