PHP Class HTMLPurifier_ErrorCollector, yii

Mostrar archivo Open project: yiisoft/yii

Protected Properties

Property Type Description
$_current
$_stacks
$context
$errors
$generator
$lines
$locale

Public Methods

Method Description
__construct ( HTMLPurifier_Context $context )
getHTMLFormatted ( HTMLPurifier_Config $config, array $errors = null ) : string Default HTML formatting implementation for error messages
getRaw ( ) Retrieves raw error data for custom formatter to use
send ( integer $severity, string $msg ) Sends an error message to the collector for later use

Private Methods

Method Description
_renderStruct ( &$ret, $struct, $line = null, $col = null )

Method Details

__construct() public method

public __construct ( HTMLPurifier_Context $context )
$context HTMLPurifier_Context

getHTMLFormatted() public method

Default HTML formatting implementation for error messages
public getHTMLFormatted ( HTMLPurifier_Config $config, array $errors = null ) : string
$config HTMLPurifier_Config Configuration, vital for HTML output nature
$errors array Errors array to display; used for recursion.
return string

getRaw() public method

Retrieves raw error data for custom formatter to use
public getRaw ( )

send() public method

Sends an error message to the collector for later use
public send ( integer $severity, string $msg )
$severity integer Error severity, PHP error style (don't use E_USER_)
$msg string Error message text

Property Details

$_current protected_oe property

protected $_current

$_stacks protected_oe property

protected $_stacks

$context protected_oe property

protected $context

$errors protected_oe property

protected $errors

$generator protected_oe property

protected $generator

$lines protected_oe property

protected $lines

$locale protected_oe property

protected $locale