Class html
Formats incident summary and trace as HTML. To further format the output, a stylesheet should be used.
- Core\Object implements Core\Chainable
- Core\Set implements Core\Accessor
- Core\Fault\Formatter
- Core\Fault\Formatter\Driver\html
Package: Core\Fault\Formatter
Since: 3.2
Requires: PHP 5.3
Version: 1.0
Located at Fault/Formatter/Driver/html.inc.php
Methods summary
public
string
|
#
contentType( )
Returns the content type of the output generated by the formatter. This is used by some reporters that allows a flexible configuration of the formatter being used but need to know the type of output generated. |
public
string
|
#
encodeCDATA( $string )
Encodes CDATA for output. Takes the current character set into account if available. |
public
mixed
|
|
public
mixed
|
|
public
string
|
#
stylesheet( )
Returns a stylesheet declaration with the definitions for all CSS classes used by the formatter. |
public
string
|
#
stylesheetPath( string $type = null )
Retrieves the path of the stylesheet file that contains definitions for all CSS classes used by the formatter. |
Methods inherited from Core\Fault\Formatter
Methods inherited from Core\Object
__autocreateFactory()
,
__call()
,
__processParameters()
,
__toString()
,
attachMethod()
,
chain()
,
getValueForKey()
,
getValueForKeyPath()
,
getValueForUndefinedKey()
,
hash()
,
issetValueForKey()
,
setValueForKey()
,
setValueForKeyPath()
,
setValueForUndefinedKey()
,
uuid()
Constants summary
string |
CDNStylesheetPath
Retrieves the stylesheet CDN path. |
#
'cdn'
|
string |
ModuleStylesheetPath
Retrieves the local module resource stylesheet path. |
#
'module'
|
Constants inherited from Core\Object
AnyParameterType
,
AutochainParameterType
,
AutocreateParameterType
,
BooleanParameterType
,
CharParameterType
,
EnumParameterType
,
IntegerParameterType
,
RealParameterType
,
StringParameterType
,
UserParameterType
Properties summary
Properties inherited from Core\Fault\Formatter
Magic properties
public read-only
string
|
$stylesheet
Full stylesheet definition for HTML generated by the formatter. |
public read-only
string
|
$stylesheetPath
Path of stylesheet resource for HTML generated by the formatter. |