Legend of the Green Dragon

MailController extends AbstractController
in package
implements LotgdControllerInterface Uses LotgdControllerTrait

Interfaces, Classes, Traits and Enums

LotgdControllerInterface
Interface for migrating module to bundle.

Table of Contents

TRANSLATION_DOMAIN  = 'jaxon_mail'
$avatarRepository  : mixed
$repository  : mixed
$sanitize  : mixed
$settings  : mixed
$systemMail  : mixed
$translator  : mixed
__construct()  : mixed
allowAnonymous()  : bool
Not allow anonymous access.
delete()  : Response
Delete mail by ID.
deleteBulk()  : Response
Delete mail in bulk by ID.
inbox()  : Response
overrideForcedNav()  : bool
Override navs.
read()  : Response
reply()  : Response
Reply to a message.
searchAvatar()  : JsonResponse
Undocumented function.
status()  : Response
Status of mail show in button.
unread()  : Response
Mark message as unread.
write()  : Response
Write message for a user.
addNotification()  : never
Adds a notification to the current session for type.
renderBlock()  : Response
Renders a view block.
getParams()  : array<string|int, mixed>
Get default params.
sanitize()  : string
Filter a string.
send()  : void

Constants

TRANSLATION_DOMAIN

public mixed TRANSLATION_DOMAIN = 'jaxon_mail'

Properties

Methods

allowAnonymous()

Not allow anonymous access.

public allowAnonymous() : bool
Return values
bool

deleteBulk()

Delete mail in bulk by ID.

public deleteBulk(Request $request) : Response
Parameters
$request : Request
Return values
Response

overrideForcedNav()

Override navs.

public overrideForcedNav() : bool
Return values
bool

searchAvatar()

Undocumented function.

public searchAvatar(Request $request) : JsonResponse
Parameters
$request : Request
Return values
JsonResponse

status()

Status of mail show in button.

public status() : Response
Return values
Response

unread()

Mark message as unread.

public unread(Request $request) : Response
Parameters
$request : Request
Return values
Response

write()

Write message for a user.

public write(Request $request) : Response
Parameters
$request : Request
Return values
Response

addNotification()

Adds a notification to the current session for type.

protected addNotification(string $type, mixed $message) : never
Parameters
$type : string
$message : mixed
Tags
throws
LogicException
Return values
never

renderBlock()

Renders a view block.

protected renderBlock(string $view, string $block[, array<string|int, mixed> $parameters = [] ][, Response|null $response = null ]) : Response
Parameters
$view : string
$block : string
$parameters : array<string|int, mixed> = []
$response : Response|null = null
Return values
Response

getParams()

Get default params.

private getParams() : array<string|int, mixed>
Return values
array<string|int, mixed>

sanitize()

Filter a string.

private sanitize(string $string, bool $isSubject) : string
Parameters
$string : string
$isSubject : bool
Return values
string

send()

private send(FormInterface &$form, FormInterface $formEmpty) : void
Parameters
$form : FormInterface
$formEmpty : FormInterface
Return values
void

Search results