ContentManagerElementTypeSaveCommand
extends AbstractContentManagerPagesSaveCommand
in package
Class ContentManagerElementTypeSaveCommand
Table of Contents
- $contentDeleteService : ContentDeleterInterface
- $contentManagerPagesService : ContentManagerPagesServiceInterface
- $contentReadService : ContentReadServiceInterface
- $contentValueObjectFactory : bool|mixed
- $contentWriteService : ContentWriteServiceInterface
- $currentTheme : CurrentThemeInterface
- $defaultTitle : string
- $languageService : LanguageService
- $option : AbstractOption
- $configurationRepository : SettingsRepository
- $elementTypeService : ContentManagerElementTypeService
- $isDeleted : bool
- __construct() : mixed
- WysiwygSaveCommand constructor.
- execute() : void
- Execute the command
- isDeleted() : bool
- rollback() : void
- Execute the command
- setConfigurationRepository() : void
- setOption() : void
- setToDelete() : void
- Sets the content manager to delete
- configurationRepository() : SettingsRepository
- create() : void
- createContent() : InfoElementContent
- defaultTitle() : string
- saveOption() : void
- update() : void
- delete() : void
Properties
$contentDeleteService
protected
ContentDeleterInterface
$contentDeleteService
$contentManagerPagesService
protected
ContentManagerPagesServiceInterface
$contentManagerPagesService
$contentReadService
protected
ContentReadServiceInterface
$contentReadService
$contentValueObjectFactory
protected
bool|mixed
$contentValueObjectFactory
$contentWriteService
protected
ContentWriteServiceInterface
$contentWriteService
$currentTheme
protected
CurrentThemeInterface
$currentTheme
$defaultTitle
protected
string
$defaultTitle
$languageService
protected
LanguageService
$languageService
$option
protected
AbstractOption
$option
$configurationRepository
private
SettingsRepository
$configurationRepository
$elementTypeService
private
ContentManagerElementTypeService
$elementTypeService
$isDeleted
private
bool
$isDeleted
= false
Methods
__construct()
WysiwygSaveCommand constructor.
public
__construct(ContentManagerElementTypeService $elementTypeService, LanguageService $languageService, CurrentThemeInterface $currentTheme) : mixed
Parameters
- $elementTypeService : ContentManagerElementTypeService
- $languageService : LanguageService
- $currentTheme : CurrentThemeInterface
Return values
mixed —execute()
Execute the command
public
abstract execute() : void
Return values
void —isDeleted()
public
isDeleted() : bool
Return values
bool —rollback()
Execute the command
public
abstract rollback() : void
Return values
void —setConfigurationRepository()
public
setConfigurationRepository(SettingsRepository $configurationRepository) : void
Parameters
- $configurationRepository : SettingsRepository
Return values
void —setOption()
public
setOption(OptionInterface $option) : void
Parameters
- $option : OptionInterface
Return values
void —setToDelete()
Sets the content manager to delete
public
setToDelete() : void
Return values
void —configurationRepository()
protected
configurationRepository() : SettingsRepository
Tags
Return values
SettingsRepository —create()
protected
create(mixed $contentManagerContent) : void
Parameters
- $contentManagerContent : mixed
Tags
Return values
void —createContent()
protected
createContent() : InfoElementContent
Tags
Return values
InfoElementContent —defaultTitle()
protected
defaultTitle() : string
Tags
Return values
string —saveOption()
protected
saveOption() : void
Tags
Return values
void —update()
protected
update(mixed $contentManagerContent) : void
Parameters
- $contentManagerContent : mixed
Tags
Return values
void —delete()
private
delete(ContentIdentificationInterface $identification) : void
Parameters
- $identification : ContentIdentificationInterface