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\Language\Command\AddLanguageCommand
Adds new language with given data
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Language\CommandHandler\AddLanguageHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Language\ValueObject\LanguageId |
PrestaShop\PrestaShop\Core\Domain\Language\Command\BulkDeleteLanguagesCommand
Deletes given languages
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Language\CommandHandler\BulkDeleteLanguagesHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Language\Command\BulkToggleLanguagesStatusCommand
Enables/disables languages status
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Language\CommandHandler\BulkToggleLanguagesStatusHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Language\Command\DeleteLanguageCommand
Deletes given languages
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Language\CommandHandler\DeleteLanguageHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Language\Command\EditLanguageCommand
Edits given language with provided data
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Language\CommandHandler\EditLanguageHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Language\Command\ToggleLanguageStatusCommand
Enables or disables language based in given status
Command details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Language\CommandHandler\ToggleLanguageStatusHandler Implements:
|
Return type | void |
PrestaShop\PrestaShop\Core\Domain\Language\Query\GetLanguageForEditing
Gets language for editing in Back Office
Query details | |
---|---|
Constructor parameters |
|
Handler class | PrestaShop\PrestaShop\Adapter\Language\QueryHandler\GetLanguageForEditingHandler Implements:
|
Return type | PrestaShop\PrestaShop\Core\Domain\Language\QueryResult\EditableLanguage |