AttributeGroup domain

AttributeGroup Commands

BulkDeleteAttributeGroupCommand 8.1.0

PrestaShop\PrestaShop\Core\Domain\AttributeGroup\Command\BulkDeleteAttributeGroupCommand Deletes attribute groups in bulk action by provided ids

Command details
Constructor parameters
  • $array $attributeGroupIds
Handler class PrestaShop\PrestaShop\Adapter\AttributeGroup\CommandHandler\BulkDeleteAttributeGroupHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\AttributeGroup\CommandHandler\BulkDeleteAttributeGroupHandlerInterface
Return type void

DeleteAttributeGroupCommand 8.1.0

PrestaShop\PrestaShop\Core\Domain\AttributeGroup\Command\DeleteAttributeGroupCommand Deletes attribute group by provided id

Command details
Constructor parameters
  • $int $attributeGroupId
Handler class PrestaShop\PrestaShop\Adapter\AttributeGroup\CommandHandler\DeleteAttributeGroupHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\AttributeGroup\CommandHandler\DeleteAttributeGroupHandlerInterface
Return type void

BulkDeleteAttributeCommand 8.1.0

PrestaShop\PrestaShop\Core\Domain\AttributeGroup\Attribute\Command\BulkDeleteAttributeCommand Deletes attributes in bulk action

Command details
Constructor parameters
  • $array $attributeIds
Handler class PrestaShop\PrestaShop\Adapter\Attribute\CommandHandler\BulkDeleteAttributeHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\AttributeGroup\Attribute\CommandHandler\BulkDeleteAttributeHandlerInterface
Return type void

DeleteAttributeCommand 8.1.0

PrestaShop\PrestaShop\Core\Domain\AttributeGroup\Attribute\Command\DeleteAttributeCommand Deletes Attribute by provided id

Command details
Constructor parameters
  • $int $attributeId
Handler class PrestaShop\PrestaShop\Adapter\Attribute\CommandHandler\DeleteAttributeHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\AttributeGroup\Attribute\CommandHandler\DeleteAttributeHandlerInterface
Return type void

AttributeGroup Queries

GetAttributeGroupList

PrestaShop\PrestaShop\Core\Domain\AttributeGroup\Query\GetAttributeGroupList Get list of Attribute groups in the shop with their associated attributes

Query details
Constructor parameters
  • $PrestaShop\PrestaShop\Core\Domain\Shop\ValueObject\ShopConstraint $shopConstraint
Handler class PrestaShop\PrestaShop\Adapter\AttributeGroup\QueryHandler\GetAttributeGroupListHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\AttributeGroup\QueryHandler\GetAttributeGroupListHandlerInterface
Return type array