CpEmailsController
extends Controller
in package
Table of Contents
- actionAdd() : Response
- Add email action
- actionAddTranslation() : Response
- Action add translation
- actionDelete() : Response
- Delete email action
- actionDeleteLogs() : Response
- Delete email logs action
- actionDeleteTranslation() : Response
- Action delete translation
- actionEditConfig() : Response
- Edit email config action
- actionEditContent() : Response
- Edit email content action
- actionIndex() : Response
- Email dashboard action
- actionLogs() : Response
- View email logs action
- actionPreview() : Reponse
- Preview action
- actionReinstall() : mixed
- Reinstall all emails
- actionResend() : Response
- Resend email action
- actionSaveConfig() : Response
- Save config action
- actionSaveContent() : Response
- Save email content action
- actionView() : Response
- View email action
- beforeAction() : mixed
- All actions require permission 'accessPlugin-emails'
- editContent() : Response
- Edit system message
Methods
actionAdd()
Add email action
public
actionAdd() : Response
Return values
Response —actionAddTranslation()
Action add translation
public
actionAddTranslation() : Response
Return values
Response —actionDelete()
Delete email action
public
actionDelete(int $id) : Response
Parameters
- $id : int
Return values
Response —actionDeleteLogs()
Delete email logs action
public
actionDeleteLogs() : Response
Return values
Response —actionDeleteTranslation()
Action delete translation
public
actionDeleteTranslation() : Response
Return values
Response —actionEditConfig()
Edit email config action
public
actionEditConfig(int $id) : Response
Parameters
- $id : int
Return values
Response —actionEditContent()
Edit email content action
public
actionEditContent(int $id[, string|null $langId = null ]) : Response
Parameters
- $id : int
- $langId : string|null = null
Return values
Response —actionIndex()
Email dashboard action
public
actionIndex() : Response
Return values
Response —actionLogs()
View email logs action
public
actionLogs(int $emailId) : Response
Parameters
- $emailId : int
Return values
Response —actionPreview()
Preview action
public
actionPreview(int $id, string $langId) : Reponse
Parameters
- $id : int
- $langId : string
Return values
Reponse —actionReinstall()
Reinstall all emails
public
actionReinstall() : mixed
Tags
Return values
mixed —actionResend()
Resend email action
public
actionResend() : Response
Return values
Response —actionSaveConfig()
Save config action
public
actionSaveConfig() : Response
Return values
Response —actionSaveContent()
Save email content action
public
actionSaveContent() : Response
Return values
Response —actionView()
View email action
public
actionView() : Response
Return values
Response —beforeAction()
All actions require permission 'accessPlugin-emails'
public
beforeAction(mixed $action) : mixed
Parameters
- $action : mixed
Return values
mixed —editContent()
Edit system message
protected
editContent(SystemMessage $message, string $langId) : Response
Parameters
- $message : SystemMessage
- $langId : string