Version: current

# Class CliDebugView

A basic HTML wrapper for stylish rendering of a developement info view. Used to output error messages, and test results.

  DebugView
  CliDebugView

Package: sapphire\dev
Located at sapphire/dev/CliDebugView.php

## Methods summary

`public` | # `writeHeader( mixed $httpRequest = null )` Render HTML header for development views Render HTML header for development views #### Overrides `DebugView::writeHeader`
`public` | # `writeFooter( )` Render HTML footer for development views Render HTML footer for development views #### Overrides `DebugView::writeFooter`
`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 `DebugView::writeError`
`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 `DebugView::writeSourceFragment`
`public` | # `writeTrace( mixed $trace = null )` Write a backtrace Write a backtrace #### Overrides `DebugView::writeTrace`
`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 `DebugView::writeInfo`

### 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. -