\HTMLPurifier_ConfigSchema_ValidatorAtom

Fluent interface for validating the contents of member variables.

This should be immutable. See HTMLPurifier_ConfigSchema_Validator for use-cases. We name this an 'atom' because it's ONLY for validations that are independent and usually scalar.

Summary

Methods
Properties
Constants
__construct()
assertIsString()
assertIsBool()
assertIsArray()
assertNotNull()
assertAlnum()
assertNotEmpty()
assertIsLookup()
No public properties found
No constants found
error()
$context
$obj
$member
$contents
N/A
No private methods found
No private properties found
N/A

Properties

$context

$context

$obj

$obj

$member

$member

$contents

$contents

Methods

__construct()

__construct(mixed  $context, mixed  $obj, mixed  $member) : mixed

Parameters

mixed $context
mixed $obj
mixed $member

Returns

mixed —

assertIsString()

assertIsString() : \HTMLPurifier_ConfigSchema_ValidatorAtom

Returns

\HTMLPurifier_ConfigSchema_ValidatorAtom —

assertIsBool()

assertIsBool() : \HTMLPurifier_ConfigSchema_ValidatorAtom

Returns

\HTMLPurifier_ConfigSchema_ValidatorAtom —

assertIsArray()

assertIsArray() : \HTMLPurifier_ConfigSchema_ValidatorAtom

Returns

\HTMLPurifier_ConfigSchema_ValidatorAtom —

assertNotNull()

assertNotNull() : \HTMLPurifier_ConfigSchema_ValidatorAtom

Returns

\HTMLPurifier_ConfigSchema_ValidatorAtom —

assertAlnum()

assertAlnum() : \HTMLPurifier_ConfigSchema_ValidatorAtom

Returns

\HTMLPurifier_ConfigSchema_ValidatorAtom —

assertNotEmpty()

assertNotEmpty() : \HTMLPurifier_ConfigSchema_ValidatorAtom

Returns

\HTMLPurifier_ConfigSchema_ValidatorAtom —

assertIsLookup()

assertIsLookup() : \HTMLPurifier_ConfigSchema_ValidatorAtom

Returns

\HTMLPurifier_ConfigSchema_ValidatorAtom —

error()

error(string  $msg) : mixed

Parameters

string $msg

Throws

\HTMLPurifier_ConfigSchema_Exception

Returns

mixed —