Warning: You are browsing the documentation for PrestaShop 1.7, which is outdated.

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

Learn how to upgrade to the latest version.

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