PHP Class HTMLPurifier_ErrorStruct, yii

Mostrar archivo Open project: yiisoft/yii

Public Properties

Property Type Description
$children Child ErrorStructs that are from this structure. For example, a TOKEN ErrorStruct would contain ATTR ErrorStructs. This is a multi-dimensional array in structure: [TYPE]['identifier']
$errors Errors registered for this structure.
$type Type of this struct.
$value Value of the struct we are recording errors for. There are various values for this: - TOKEN: Instance of HTMLPurifier_Token - ATTR: array('attr-name', 'value') - CSSPROP: array('prop-name', 'value')

Public Methods

Method Description
addError ( integer $severity, string $message )
getChild ( string $type, string $id ) : mixed

Method Details

addError() public method

public addError ( integer $severity, string $message )
$severity integer
$message string

getChild() public method

public getChild ( string $type, string $id ) : mixed
$type string
$id string
return mixed

Property Details

$children public_oe property

Child ErrorStructs that are from this structure. For example, a TOKEN ErrorStruct would contain ATTR ErrorStructs. This is a multi-dimensional array in structure: [TYPE]['identifier']
public $children

$errors public_oe property

Errors registered for this structure.
public $errors

$type public_oe property

Type of this struct.
public $type

$value public_oe property

Value of the struct we are recording errors for. There are various values for this: - TOKEN: Instance of HTMLPurifier_Token - ATTR: array('attr-name', 'value') - CSSPROP: array('prop-name', 'value')
public $value