PHP Class bedezign\yii2\audit\panels\ErrorPanel

Inheritance: extends bedezign\yii2\audit\components\panels\Panel
Datei anzeigen Open project: bedezign/yii2-audit Class Usage Examples

Public Methods

Method Description
cleanup ( $maxAge = null )
getChart ( )
getDetail ( )
getIndexUrl ( )
getLabel ( )
getName ( )
hasEntryData ( $entry )
init ( )
log ( integer $entry_id, Exception | Throwable $exception ) : null | static Log an exception
logMessage ( integer $entry_id, string $message, integer $code, string $file = '', integer $line, array $trace = [] ) : null | static Log a regular error message
registerAssets ( $view )

Method Details

cleanup() public method

public cleanup ( $maxAge = null )

getChart() public method

public getChart ( )

getDetail() public method

public getDetail ( )

getIndexUrl() public method

public getIndexUrl ( )

getLabel() public method

public getLabel ( )

getName() public method

public getName ( )

hasEntryData() public method

public hasEntryData ( $entry )

init() public method

public init ( )

log() public method

Log an exception
public log ( integer $entry_id, Exception | Throwable $exception ) : null | static
$entry_id integer Entry to associate the error with
$exception Exception | Throwable
return null | static

logMessage() public method

Log a regular error message
public logMessage ( integer $entry_id, string $message, integer $code, string $file = '', integer $line, array $trace = [] ) : null | static
$entry_id integer Entry to associate the error with
$message string
$code integer
$file string
$line integer
$trace array Stack trace to include. Use `Helper::generateTrace()` to create it.
return null | static

registerAssets() public method

public registerAssets ( $view )