PHP Class Nextras\MailPanel\SessionMailer

Deprecation:
Inheritance: implements Nextras\MailPanel\IPersistentMailer
Exibir arquivo Open project: nextras/mail-panel

Public Methods

Method Description
__construct ( Session $session, integer $limit = 100, string $sectionName = __CLASS__ )
deleteAll ( )
deleteOne ( $messageId )
getLimit ( ) : integer Return limit of stored mails
getMessage ( $messageId )
getMessageCount ( )
getMessages ( $limit = NULL )
send ( Nette\Mail\Message $message ) : void Store mails to sessions.

Private Methods

Method Description
requireSessions ( ) : void

Method Details

__construct() public method

public __construct ( Session $session, integer $limit = 100, string $sectionName = __CLASS__ )
$session Nette\Http\Session
$limit integer
$sectionName string

deleteAll() public method

public deleteAll ( )

deleteOne() public method

public deleteOne ( $messageId )

getLimit() public method

Return limit of stored mails
public getLimit ( ) : integer
return integer

getMessage() public method

public getMessage ( $messageId )

getMessageCount() public method

public getMessageCount ( )

getMessages() public method

public getMessages ( $limit = NULL )

send() public method

Store mails to sessions.
public send ( Nette\Mail\Message $message ) : void
$message Nette\Mail\Message
return void