CpShotsController
extends Controller
in package
Table of Contents
- actionAddShot() : Response
- Add shot action
- actionDelete() : Response
- Delete shot action
- actionDeleteLogs() : Response
- Delete shot logs action
- actionEditShot() : Response
- Edit shot action
- actionIndex() : Response
- Shots dashboard action
- actionLogEmails() : Response
- Get shot log emails action
- actionLogs() : Response
- Shot logs action
- actionQuickShot() : Response
- Add quick shot action
- actionSaveShot() : Response
- Save shot action
- actionSend() : Response
- Send shot action
- actionSendQuickShot() : Response
- Send quick shot action
- actionShotEmails() : Response
- Get shot emails action
- beforeAction() : mixed
- All actions require permission 'accessPlugin-emails'
- allEmails() : array<string|int, mixed>
- Get all emails
- allSources() : array<string|int, mixed>
- Get all sources
Methods
actionAddShot()
Add shot action
public
actionAddShot([EmailShot|null $shot = null ]) : Response
Parameters
- $shot : EmailShot|null = null
Return values
Response —actionDelete()
Delete shot action
public
actionDelete() : Response
Return values
Response —actionDeleteLogs()
Delete shot logs action
public
actionDeleteLogs() : Response
Return values
Response —actionEditShot()
Edit shot action
public
actionEditShot(int $id) : Response
Parameters
- $id : int
Return values
Response —actionIndex()
Shots dashboard action
public
actionIndex() : Response
Return values
Response —actionLogEmails()
Get shot log emails action
public
actionLogEmails() : Response
Return values
Response —actionLogs()
Shot logs action
public
actionLogs(int $id) : Response
Parameters
- $id : int
Return values
Response —actionQuickShot()
Add quick shot action
public
actionQuickShot([EmailShot|null $shot = null ]) : Response
Parameters
- $shot : EmailShot|null = null
Return values
Response —actionSaveShot()
Save shot action
public
actionSaveShot() : Response
Return values
Response —actionSend()
Send shot action
public
actionSend() : Response
Return values
Response —actionSendQuickShot()
Send quick shot action
public
actionSendQuickShot() : Response
Return values
Response —actionShotEmails()
Get shot emails action
public
actionShotEmails() : Response
Return values
Response —beforeAction()
All actions require permission 'accessPlugin-emails'
public
beforeAction(mixed $action) : mixed
Parameters
- $action : mixed
Return values
mixed —allEmails()
Get all emails
protected
allEmails() : array<string|int, mixed>
Return values
array<string|int, mixed> —allSources()
Get all sources
protected
allSources() : array<string|int, mixed>