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