Class HTMLPurifier_ConfigSchema_InterchangeBuilder

InheritanceHTMLPurifier_ConfigSchema_InterchangeBuilder

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$varParser Used for processing DEFAULT, nothing else. HTMLPurifier_ConfigSchema_InterchangeBuilder

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
_findUnused() Triggers errors for any unused keys passed in the hash; such keys may indicate typos, missing values, etc. HTMLPurifier_ConfigSchema_InterchangeBuilder
evalArray() Evaluates an array PHP code string without array() wrapper HTMLPurifier_ConfigSchema_InterchangeBuilder
id() Convenience function that creates an HTMLPurifier_ConfigSchema_Interchange_Id object based on a string Id. HTMLPurifier_ConfigSchema_InterchangeBuilder
lookup() Converts an array list into a lookup array. HTMLPurifier_ConfigSchema_InterchangeBuilder

Property Details

$varParser protected property
protected $varParser null

Method Details

__construct() public method

public void __construct ( $varParser null )
$varParser HTMLPurifier_VarParser
_findUnused() protected method

Triggers errors for any unused keys passed in the hash; such keys may indicate typos, missing values, etc.

protected void _findUnused ( $hash )
$hash HTMLPurifier_StringHash

Hash to check.

build() public method

Builds an interchange object based on a hash.

public void build ( $interchange, $hash )
$interchange HTMLPurifier_ConfigSchema_Interchange

HTMLPurifier_ConfigSchema_Interchange object to build

$hash HTMLPurifier_StringHash

Source data

throws HTMLPurifier_ConfigSchema_Exception
buildDir() public method

public HTMLPurifier_ConfigSchema_Interchange buildDir ( $interchange, $dir null )
$interchange HTMLPurifier_ConfigSchema_Interchange
$dir string
buildDirective() public method

public void buildDirective ( $interchange, $hash )
$interchange HTMLPurifier_ConfigSchema_Interchange
$hash HTMLPurifier_StringHash
throws HTMLPurifier_ConfigSchema_Exception
buildFile() public method

public void buildFile ( $interchange, $file )
$interchange HTMLPurifier_ConfigSchema_Interchange
$file string
buildFromDirectory() public static method

public static HTMLPurifier_ConfigSchema_Interchange buildFromDirectory ( $dir null )
$dir string
evalArray() protected method

Evaluates an array PHP code string without array() wrapper

protected void evalArray ( $contents )
$contents string
id() protected method

Convenience function that creates an HTMLPurifier_ConfigSchema_Interchange_Id object based on a string Id.

protected HTMLPurifier_ConfigSchema_Interchange_Id id ( $id )
$id string
lookup() protected method

Converts an array list into a lookup array.

protected array lookup ( $array )
$array array