Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.

You might want to read the documentation for the current version, PrestaShop 8. Read the current version of this page

ShowcaseCard domain

ShowcaseCard Commands

CloseShowcaseCardCommand

PrestaShop\PrestaShop\Core\Domain\ShowcaseCard\Command\CloseShowcaseCardCommand This command permanently closes a showcase card

Command details
Constructor parameters
  • $int $employeeId
  • $string $showcaseCardName
Handler class PrestaShop\PrestaShop\Core\Domain\ShowcaseCard\CommandHandler\CloseShowcaseCardHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\ShowcaseCard\CommandHandler\CloseShowcaseCardHandlerInterface
Return type void

ShowcaseCard Queries

GetShowcaseCardIsClosed

PrestaShop\PrestaShop\Core\Domain\ShowcaseCard\Query\GetShowcaseCardIsClosed This query retrieves the "closed status" of a showcase card

Query details
Constructor parameters
  • $int $employeeId
  • $string $showcaseCardName
Handler class PrestaShop\PrestaShop\Core\Domain\ShowcaseCard\QueryHandler\GetShowcaseCardIsClosedHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\ShowcaseCard\QueryHandler\GetShowcaseCardIsClosedHandlerInterface
Return type bool