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

  • AdminAccessAjaxController
  • AdminAccessController
  • AdminFavoritesAjaxController
  • AdminInfoBoxAjaxController
  • AfterbuyAjaxController
  • CatalogSelectWidgetAjaxController
  • ContentManagerElementsAjaxController
  • ContentManagerElementsController
  • ContentManagerPagesAjaxController
  • ContentManagerPagesController
  • ContentManagerProductContentsAjaxController
  • ContentManagerProductContentsController
  • CustomerGroupAjaxController
  • CustomerLoginController
  • DashboardController
  • DynamicShopMessagesController
  • EmailsController
  • EmbeddedModuleController
  • FileManagerController
  • GeschaeftskundenversandController
  • ImageProcessingController
  • InvoicesModalsAjaxController
  • InvoicesOverviewAjaxController
  • InvoicesOverviewController
  • JSWidgetsAjaxController
  • LawsController
  • ManufacturerAjaxController
  • MaxFileSizeController
  • ModuleCenterController
  • NewAttributesController
  • OrdersModalsAjaxController
  • OrdersOverviewAjaxController
  • OrdersOverviewController
  • OrderTooltipController
  • PackedDownloadController
  • QuantityUnitAjaxController
  • QuantityUnitController
  • QuickEditOverviewAjaxController
  • QuickEditOverviewController
  • QuickEditProductPropertiesAjaxController
  • QuickEditSpecialPricesAjaxController
  • SessionTimeoutAjaxController
  • ShopKeyController
  • SlidersDetailsAjaxController
  • SlidersDetailsController
  • SlidersOverviewAjaxController
  • SlidersOverviewController
  • StaticSeoUrlAjaxController
  • StaticSeoUrlController
  • TemplateConfigurationController
  • UserConfigurationController
  • VPEAjaxController
  • VPEController

Class CustomerGroupAjaxController

Class CustomerGroupAjaxController

HttpViewController implements HttpViewControllerInterface
Extended by AdminHttpViewController implements AdminStatusOnlyInterface
Extended by CustomerGroupAjaxController
Package: AdminHttpViewControllers
Category: System
Extends: AdminHttpViewController
Extends: AdminHttpViewController
Located at Controllers/HttpView/AdminAjax/CustomerGroupAjaxController.inc.php

Methods summary

public
# init( )

Initialization of customer group controller

Initialization of customer group controller

public boolean
# actionStore( )

Creates an entity in the database.

Creates an entity in the database.

Returns

boolean
public boolean
# actionUpdate( )

Updates a customer entity in the database.

Updates a customer entity in the database.

Returns

boolean
public boolean
# actionDelete( )

Deletes a customer group entity in the database.

Deletes a customer group entity in the database.

Returns

boolean
public boolean
# actionGetNameById( )

Returns a customer group entity name and id by id.

Returns a customer group entity name and id by id.

Returns

boolean
public boolean
# actionGetById( )

Returns all data from one customer group by id.

Returns all data from one customer group by id.

Returns

boolean
public boolean
# actionGetData( )

Gets all customer group entity's from the database.

Gets all customer group entity's from the database.

Returns

boolean
protected array
# _storeCustomerGroup( CustomerGroupInterface $customerGroup )

Tries to store a customer group entity.

Tries to store a customer group entity.

Parameters

$customerGroup
to store it in the database.

Returns

array
protected
# _storeCustomerGroupConfigurations( CustomerGroupInterface $customerGroup, array $postData )

Stores posted customer group configurations to the customer group entity.

Stores posted customer group configurations to the customer group entity.

Parameters

$customerGroup
to set configurations on it.
$postData

Returns


$this
protected
# _storeCustomerGroupSettings( CustomerGroupInterface $customerGroup, array $postData )

Stores posted customer group settings to the customer group entity.

Stores posted customer group settings to the customer group entity.

Parameters

$customerGroup
to set settings on it.
$postData

Returns


$this
protected
# _storeCustomerGroupNames( CustomerGroupInterface $customerGroup, array $postData )

Stores all names by language id in the given post data.

Stores all names by language id in the given post data.

Parameters

$customerGroup
to set name.
$postData

Returns


$this
protected DecimalType
# _getDecimalType( $decimalString )

Returns a decimal type from given decimal sting.

Returns a decimal type from given decimal sting.

Parameters

$decimalString

Returns

DecimalType
protected DecimalType|null
# _getOrderOption( $orderString )

Returns a decimal type, if the string is empty, it returns null.

Returns a decimal type, if the string is empty, it returns null.

Parameters

$orderString

Returns

DecimalType|null
protected array
# _getStringArray( $stringValue )

Returns an Array from String, if the string is empty, it returns an empty string.

Returns an Array from String, if the string is empty, it returns an empty string.

Parameters

$stringValue

Returns

array
protected array
# _updateCustomerGroup( CustomerGroupInterface $customerGroup )

Tries to update a customer group entity.

Tries to update a customer group entity.

Parameters

$customerGroup
to update it in the database.

Returns

array
protected CustomerGroup
# _getCustomerGroupById( string $type = 'get' )

Returns a customer group entity by post data id.

Returns a customer group entity by post data id.

Parameters

$type

Returns

CustomerGroup
entity.
protected array
# _serializeCustomerGroup( CustomerGroupInterface $customerGroup )

Serializes customer group entities.

Serializes customer group entities.

Parameters

$customerGroup
to serialize data.

Returns

array
serialized customer group array.
protected array
# _serializeCustomerGroupSettings( CustomerGroupSettingsInterface $settings )

Serializes customer group settings value object.

Serializes customer group settings value object.

Parameters

$settings
to serialize data.

Returns

array
serialized customer group settings array.
protected array
# _serializeCustomerGroupConfigurations( CustomerGroupConfigurationsInterface $configurations )

Serializes customer group configurations value object.

Serializes customer group configurations value object.

Parameters

$configurations
to serialize data.

Returns

array
serialized customer group configurations array.
protected array
# _serializeCustomerGroupCollection( CustomerGroupCollection $customerGroupCollection )

Serializes customer group collections.

Serializes customer group collections.

Parameters

$customerGroupCollection
to be serialized.

Returns

array
serialized customer group collection array
protected
# _setAsDefault( CustomerGroupInterface $customerGroup, $postData )

Sets default value to customer group entity.

Sets default value to customer group entity.

Parameters

$customerGroup
$postData

Returns


$this
protected CustomerGroupAjaxController
# _prepareCustomerGroup( CustomerGroupInterface $customerGroup )

Prepares a customer group entity.

Prepares a customer group entity.

Parameters

$customerGroup

Returns

CustomerGroupAjaxController
protected
# _createBaseForCustomerGroup( customerGroupInterface $customerGroup )

Creates a base personal offer table if base is not an admin.

Creates a base personal offer table if base is not an admin.

Parameters

$customerGroup

Returns


$this

Methods inherited from AdminHttpViewController

validateCurrentAdminStatus()

Methods inherited from HttpViewController

__construct(), _callActionMethod(), _getPostData(), _getPostDataCollection(), _getQueryParameter(), _getQueryParametersCollection(), _getServerData(), _render(), _validatePageToken(), actionDefault(), getTemplateFile(), proceed()

Properties summary

protected CustomerGroupReadService $customerGroupReadService
#
protected CustomerGroupWriteService $customerGroupWriteService
#
protected LanguageProvider $languageProvider
#

Properties inherited from HttpViewController

$assets, $contentView, $httpContextReader, $httpResponseProcessor, $postDataArray, $queryParametersArray, $serverDataArray

API documentation generated by ApiGen