57 if (!isset($this->children[
$type][
$id])) {
70 $this->errors[] = array($severity,
$message);
An exception for terminatinating execution or to throw for unit testing.
Records errors for particular segments of an HTML document such as tokens, attributes or CSS properti...
$value
Value of the struct we are recording errors for.
addError($severity, $message)
$errors
Errors registered for this structure.
const TOKEN
Possible values for $children first-key.
$children
Child ErrorStructs that are from this structure.
$type
Type of this struct.
if(!array_key_exists('StateId', $_REQUEST)) $id
catch(Exception $e) $message