Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminAccess
    • Collections
    • Deleters
    • Entities
    • Exceptions
    • Factories
    • Interfaces
    • Managers
    • Readers
    • Writers
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Authentication
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Strategies
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • CustomerGroup
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Serializers
    • Services
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Geschaeftskundenversand
    • Helpers
    • Invoices
    • Orders
    • ParcelShopFinder
    • QuickEdit
    • Serializers
    • Templates
  • Geschaeftskundenversand
    • Exceptions
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Manufacturer
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • OrderStatus
    • Collections
    • Entities
    • Exceptions
    • Factories
    • Interfaces
    • Repositories
  • Precheck
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • QuantityUnit
    • Entities
    • Factories
    • Repositories
  • QuickEdit
    • Interfaces
    • Repositories
  • Review
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Services
    • ValueObjects
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Smarty
    • plugins
  • StaticSeoUrl
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • StaticSeoUrls
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository
  • VersionInfo
    • Factories
    • Reader
    • ValueObjects
  • VPE
    • Entities
    • Factories
    • Repositories
  • Withdrawal
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Services
    • ValueObjects

Classes

  • AdminAccessGroupReader
  • AdminAccessPermissionReader
  • AdminAccessRoleReader
  • AdminAccessUserReader

Interfaces

  • AdminAccessGroupReaderInterface
  • AdminAccessPermissionReaderInterface
  • AdminAccessRoleReaderInterface
  • AdminAccessUserReaderInterface

Class AdminAccessRoleReader

Class AdminAccessRoleReader

AdminAccessRoleReader implements AdminAccessRoleReaderInterface
Package: AdminAccess\Readers
Category: System
Located at Services/System/AdminAccess/Repositories/Readers/AdminAccessRoleReader.inc.php

Methods summary

public
# __construct( CI_DB_query_builder $queryBuilder, AdminAccessRoleFactoryInterface $roleFactory, LanguageProviderInterface $languageProvider )

AdminAccessRoleReader constructor.

AdminAccessRoleReader constructor.

Parameters

$queryBuilder
Query builder.
$roleFactory
Role Factory.
$languageProvider
Language provider.
public AdminAccessRoleInterface
# getById( IdType $roleId )

Returns all available roles as a role collection.

Returns all available roles as a role collection.

Parameters

$roleId
Role ID.

Returns

AdminAccessRoleInterface
Role object.

Throws

RoleNotFoundException
When role is not found in db.

Implementation of

AdminAccessRoleReaderInterface::getById()
public AdminAccessRoleCollection
# getAll( )

Returns all roles of a certain user by a given customer ID.

Returns all roles of a certain user by a given customer ID.

Returns

AdminAccessRoleCollection
Role collection with all available roles.

Implementation of

AdminAccessRoleReaderInterface::getAll()
public AdminAccessRoleCollection
# getByCustomerId( IdType $customerId )

Returns a role object by a given role ID.

Returns a role object by a given role ID.

Parameters

$customerId
Customer ID.

Returns

AdminAccessRoleCollection
Role collection with all roles of a certain user.

Throws

RoleNotFoundException

Implementation of

AdminAccessRoleReaderInterface::getByCustomerId()
protected array
# _getRoleMetaData( integer $roleId )

Returns the role descriptions from the database.

Returns the role descriptions from the database.

Parameters

$roleId
Role ID.

Returns

array
Array with role descriptions.
protected AdminAccessRoleInterface
# _createAdminAccessRoleByArray( array $roleData )

Creates a role object by a given array with the role data.

Creates a role object by a given array with the role data.

Parameters

$roleData
Role data.

Returns

AdminAccessRoleInterface
Role object.

Properties summary

protected CI_DB_query_builder $queryBuilder
#
protected AdminAccessRoleFactoryInterface $roleFactory
#
protected string $rolesTable
#
protected string $rolesMetaTable
#
protected string $customersTable
#
protected LanguageProviderInterface $languageProvider
#
API documentation generated by ApiGen