Class HTMLPurifier_ConfigSchema_InterchangeBuilder

Description
Variable Summary
mixed $varParser
Method Summary
static void buildFromDirectory ([ $dir = null])
HTMLPurifier_ConfigSchema_InterchangeBuilder __construct ([ $varParser = null])
void build ($interchange $interchange, $hash $hash)
void buildDir ( $interchange, [ $dir = null])
void buildDirective ( $interchange,  $hash)
void buildFile ( $interchange,  $file)
void evalArray ( $contents)
void id ( $id)
void lookup ( $array)
void _findUnused ($hash $hash)
Variables
mixed $varParser (line 9)

Used for processing DEFAULT, nothing else.

  • access: protected
Methods
static method buildFromDirectory (line 15)
  • access: public
static void buildFromDirectory ([ $dir = null])
  • $dir
Constructor __construct (line 11)
  • access: public
HTMLPurifier_ConfigSchema_InterchangeBuilder __construct ([ $varParser = null])
  • $varParser
build (line 59)

Builds an interchange object based on a hash.

  • access: public
void build ($interchange $interchange, $hash $hash)
  • $interchange $interchange: HTMLPurifier_ConfigSchema_Interchange object to build
  • $hash $hash: HTMLPurifier_ConfigSchema_StringHash source data
buildDir (line 21)
  • access: public
void buildDir ( $interchange, [ $dir = null])
  • $interchange
  • $dir
buildDirective (line 78)
  • access: public
void buildDirective ( $interchange,  $hash)
  • $interchange
  • $hash
buildFile (line 46)
  • access: public
void buildFile ( $interchange,  $file)
  • $interchange
  • $file
evalArray (line 143)

Evaluates an array PHP code string without array() wrapper

  • access: protected
void evalArray ( $contents)
  • $contents
id (line 160)

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

  • access: protected
void id ( $id)
  • $id
lookup (line 150)

Converts an array list into a lookup array.

  • access: protected
void lookup ( $array)
  • $array
_findUnused (line 169)

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

  • access: protected
void _findUnused ($hash $hash)
  • $hash $hash: Instance of ConfigSchema_StringHash to check.

Documentation generated on Sun, 06 Mar 2011 00:24:16 -0500 by phpDocumentor 1.4.3