Class yii\debug\panels\MailPanel

Inheritanceyii\debug\panels\MailPanel » yii\debug\Panel » yii\base\Component
Available since version2.0

Debugger panel that collects and displays the generated emails.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$actions array Array of actions to add to the debug modules default controller. yii\debug\Panel
$data mixed Data associated with panel yii\debug\Panel
$id string Panel unique identifier. yii\debug\Panel
$mailPath string Path where all emails will be saved. yii\debug\panels\MailPanel
$module yii\debug\Module yii\debug\Panel
$tag string Request data set identifier. yii\debug\Panel

Public Methods

Hide inherited methods

MethodDescriptionDefined By
getDetail() yii\debug\panels\MailPanel
getMessages() Returns info about messages of current request. Each element is array holding message info, such as: time, reply, bc, cc, from, to and other. yii\debug\panels\MailPanel
getName() yii\debug\panels\MailPanel
getSummary() yii\debug\panels\MailPanel
getTraceLine() Returns a trace line yii\debug\Panel
getUrl() yii\debug\Panel
init() yii\debug\panels\MailPanel
load() Loads data into the panel yii\debug\Panel
save() Saves data to be later used in debugger detail view. yii\debug\panels\MailPanel

Property Details

$mailPath public property

Path where all emails will be saved. should be an alias.

public string $mailPath '@runtime/debug/mail'

Method Details

getDetail() public method

public string getDetail ( )
return string

Content that is displayed in debugger detail view

getMessages() public method

Returns info about messages of current request. Each element is array holding message info, such as: time, reply, bc, cc, from, to and other.

public array getMessages ( )
return array

Messages

getName() public method

public string getName ( )
return string

Name of the panel

getSummary() public method

public string getSummary ( )
return string

Content that is displayed at debug toolbar

init() public method

public void init ( )
save() public method

Saves data to be later used in debugger detail view.

This method is called on every page where debugger is enabled.

public mixed save ( )
return mixed

Data to be saved