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
PrestaShop\PrestaShop\Core\Domain\CmsPage\Command\AddCmsPageCommand
Adds new cms page
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\CMS\Page\CommandHandler\AddCmsPageHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\CmsPage\ValueObject\CmsPageId |
PrestaShop\PrestaShop\Core\Domain\CmsPage\Command\BulkDeleteCmsPageCommand
Deletes multiple cms pages according to given array.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\CMS\Page\CommandHandler\BulkDeleteCmsPageHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\CmsPage\Command\BulkDisableCmsPageCommand
Disables multiple cms pages.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\CMS\Page\CommandHandler\BulkDisableCmsPageHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\CmsPage\Command\BulkEnableCmsPageCommand
Enables multiple cms pages.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\CMS\Page\CommandHandler\BulkEnableCmsPageHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\CmsPage\Command\DeleteCmsPageCommand
Deletes given cms page.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\CMS\Page\CommandHandler\DeleteCmsPageHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\CmsPage\Command\EditCmsPageCommand
Edits cms page
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\CMS\Page\CommandHandler\EditCmsPageHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\CmsPage\Command\ToggleCmsPageStatusCommand
Changes the status of cms page.
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\CMS\Page\CommandHandler\ToggleCmsPageStatusHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\CmsPage\Query\GetCmsCategoryIdForRedirection
This class is used for getting the id which is used later on to redirect to the right page after certain controller actions.
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\CMS\Page\QueryHandler\GetCmsCategoryIdForRedirectionHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\CmsPageCategory\ValueObject\CmsPageCategoryId |
PrestaShop\PrestaShop\Core\Domain\CmsPage\Query\GetCmsPageForEditing
Gets object which transfers cms page data for editing
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\CMS\Page\QueryHandler\GetCmsPageForEditingHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\CmsPage\QueryResult\EditableCmsPage |