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

You might want to read the documentation for the current version, PrestaShop 1.7.

Meta domain

Meta Commands

AddMetaCommand

PrestaShop\PrestaShop\Core\Domain\Meta\Command\AddMetaCommand Class AddMetaCommand is responsible for saving meta entities data.

Command details
Constructor parameters
  • $string $pageName
Handler class PrestaShop\PrestaShop\Adapter\Meta\CommandHandler\AddMetaHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\Meta\CommandHandler\AddMetaHandlerInterface
Return type PrestaShop\PrestaShop\Core\Domain\Meta\ValueObject\MetaId

EditMetaCommand

PrestaShop\PrestaShop\Core\Domain\Meta\Command\EditMetaCommand Class EditMetaCommand

Command details
Constructor parameters
  • $int $metaId
Handler class PrestaShop\PrestaShop\Adapter\Meta\CommandHandler\EditMetaHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\Meta\CommandHandler\EditMetaHandlerInterface
Return type void

Meta Queries

GetMetaForEditing

PrestaShop\PrestaShop\Core\Domain\Meta\Query\GetMetaForEditing Class GetMetaForEditing is responsible for providing required data for GetMetaForEditingHandler to return meta data.

Query details
Constructor parameters
  • $int $metaId
Handler class PrestaShop\PrestaShop\Adapter\Meta\QueryHandler\GetMetaForEditingHandler

Implements:

  • PrestaShop\PrestaShop\Core\Domain\Meta\QueryHandler\GetMetaForEditingHandlerInterface
Return type PrestaShop\PrestaShop\Core\Domain\Meta\QueryResult\EditableMeta

GetPagesForLayoutCustomization

PrestaShop\PrestaShop\Core\Domain\Meta\Query\GetPagesForLayoutCustomization Gets pages for which theme�s layout can be customized.

Query details
Constructor parameters
    Handler class PrestaShop\PrestaShop\Adapter\Meta\QueryHandler\GetPagesForLayoutCustomizationHandler

    Implements:

    • PrestaShop\PrestaShop\Core\Domain\Meta\QueryHandler\GetPagesForLayoutCustomizationHandlerInterface
    Return type void