Class CustomerGroupAjaxController
Class CustomerGroupAjaxController
- HttpViewController implements HttpViewControllerInterface
- ┗ AdminHttpViewController implements AdminStatusOnlyInterface
- ┗ CustomerGroupAjaxController
Category: System
Extends: AdminHttpViewController
Extends: AdminHttpViewController
Located at Controllers/HttpView/AdminAjax/CustomerGroupAjaxController.inc.php
Methods summary
protected
_storeCustomerGroup( CustomerGroupInterface $customerGroup )
: array
Tries to store a customer group entity.
protected
_storeCustomerGroupConfigurations( CustomerGroupInterface $customerGroup, array $postData )
:
Stores posted customer group configurations to the customer group entity.
protected
_storeCustomerGroupSettings( CustomerGroupInterface $customerGroup, array $postData )
:
Stores posted customer group settings to the customer group entity.
protected
_storeCustomerGroupNames( CustomerGroupInterface $customerGroup, array $postData )
:
Stores all names by language id in the given post data.
protected
_getDecimalType( $decimalString )
: DecimalType
Returns a decimal type from given decimal sting.
protected
_getOrderOption( $orderString )
: DecimalType|null
Returns a decimal type, if the string is empty, it returns null.
protected
_getStringArray( $stringValue )
: array
Returns an Array from String, if the string is empty, it returns an empty string.
protected
_updateCustomerGroup( CustomerGroupInterface $customerGroup )
: array
Tries to update a customer group entity.
protected
_getCustomerGroupById( string $type = 'get' )
: CustomerGroup
Returns a customer group entity by post data id.
protected
_serializeCustomerGroup( CustomerGroupInterface $customerGroup )
: array
Serializes customer group entities.
protected
_serializeCustomerGroupSettings( CustomerGroupSettingsInterface $settings )
: array
Serializes customer group settings value object.
protected
_serializeCustomerGroupConfigurations( CustomerGroupConfigurationsInterface $configurations )
: array
Serializes customer group configurations value object.
protected
_serializeCustomerGroupCollection( CustomerGroupCollection $customerGroupCollection )
: array
Serializes customer group collections.
protected
_setAsDefault( CustomerGroupInterface $customerGroup, $postData )
:
Sets default value to customer group entity.
protected
_prepareCustomerGroup( CustomerGroupInterface $customerGroup )
: CustomerGroupAjaxController
Prepares a customer group entity.
protected
_createBaseForCustomerGroup( customerGroupInterface $customerGroup )
:
Creates a base personal offer table if base is not an admin.
Methods inherited from AdminHttpViewController
Methods inherited from HttpViewController
__construct(),
_callActionMethod(),
_getPostData(),
_getPostDataCollection(),
_getQueryParameter(),
_getQueryParametersCollection(),
_getServerData(),
_render(),
_validatePageToken(),
actionDefault(),
getTemplateFile(),
proceed()
Properties summary
Properties inherited from HttpViewController
$assets,
$contentView,
$httpContextReader,
$httpResponseProcessor,
$postDataArray,
$queryParametersArray,
$serverDataArray