API - XOOPS 2.5.11 Beta 2
By monxoops.fr
HTMLPurifier_ConfigSchema_ValidatorAtom Class Reference

Public Member Functions

 __construct ($context, $obj, $member)
 
 assertIsString ()
 
 assertIsBool ()
 
 assertIsArray ()
 
 assertNotNull ()
 
 assertAlnum ()
 
 assertNotEmpty ()
 
 assertIsLookup ()
 

Protected Member Functions

 error ($msg)
 

Protected Attributes

 $context
 
 $obj
 
 $member
 
 $contents
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $context,
  $obj,
  $member 
)

Member Function Documentation

◆ assertAlnum()

assertAlnum ( )
Returns
HTMLPurifier_ConfigSchema_ValidatorAtom
Here is the call graph for this function:

◆ assertIsArray()

assertIsArray ( )
Returns
HTMLPurifier_ConfigSchema_ValidatorAtom
Here is the call graph for this function:
Here is the caller graph for this function:

◆ assertIsBool()

assertIsBool ( )
Returns
HTMLPurifier_ConfigSchema_ValidatorAtom
Here is the call graph for this function:

◆ assertIsLookup()

assertIsLookup ( )
Returns
HTMLPurifier_ConfigSchema_ValidatorAtom
Here is the call graph for this function:

◆ assertIsString()

assertIsString ( )
Returns
HTMLPurifier_ConfigSchema_ValidatorAtom
Here is the call graph for this function:
Here is the caller graph for this function:

◆ assertNotEmpty()

assertNotEmpty ( )
Returns
HTMLPurifier_ConfigSchema_ValidatorAtom
Here is the call graph for this function:

◆ assertNotNull()

assertNotNull ( )
Returns
HTMLPurifier_ConfigSchema_ValidatorAtom
Here is the call graph for this function:

◆ error()

error (   $msg)
protected
Parameters
string$msg
Exceptions
HTMLPurifier_ConfigSchema_Exception
Here is the caller graph for this function:

Field Documentation

◆ $contents

$contents
protected

@type mixed

◆ $context

$context
protected

@type string

◆ $member

$member
protected

@type string

◆ $obj

$obj
protected

@type object


The documentation for this class was generated from the following file: