Class CliDebugView
A basic HTML wrapper for stylish rendering of a developement info view. Used
to output error messages, and test results.
-
DebugView
-
CliDebugView
Methods summary
public
|
#
writeError( mixed $httpRequest, mixed $errno, mixed $errstr, mixed $errfile, mixed $errline, mixed $errcontext )
Write information about the error to the screen
Write information about the error to the screen
Overrides
|
public
|
#
writeSourceFragment( mixed $lines, mixed $errline )
Write a fragment of the a source file
Write a fragment of the a source file
Parameters
- $lines
- $lines An array of file lines; the keys should be the original line numbers
- $errline
Overrides
|
public
|
#
writeTrace( mixed $trace = null )
Write a backtrace
Overrides
|
public
|
#
writeInfo( string $title, string $subtitle, mixed $description = false )
Render the information header for the view
Render the information header for the view
Parameters
- $title
- string $title
- $subtitle
- string $title
- $description
Overrides
|
Methods inherited from DebugView
Breadcrumbs(),
writeParagraph()
Magic methods summary
Properties summary
Properties inherited from DebugView
$error_types
[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the
Silverstripe Forums to ask development related questions.
-