XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
HTMLPurifier_ConfigSchema_InterchangeBuilder Class Reference

Public Member Functions

 __construct ($varParser=null)
 
 build ($interchange, $hash)
 
 buildDir ($interchange, $dir=null)
 
 buildDirective ($interchange, $hash)
 
 buildFile ($interchange, $file)
 

Static Public Member Functions

static buildFromDirectory ($dir=null)
 

Protected Member Functions

 _findUnused ($hash)
 
 evalArray ($contents)
 
 id ($id)
 
 lookup ($array)
 

Protected Attributes

 $varParser
 

Detailed Description

Definition at line 3 of file InterchangeBuilder.php.

Constructor & Destructor Documentation

HTMLPurifier_ConfigSchema_InterchangeBuilder::__construct (   $varParser = null)

Definition at line 11 of file InterchangeBuilder.php.

References $varParser.

Member Function Documentation

HTMLPurifier_ConfigSchema_InterchangeBuilder::_findUnused (   $hash)
protected

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

Parameters
$hashInstance of ConfigSchema_StringHash to check.

Definition at line 169 of file InterchangeBuilder.php.

Referenced by build().

Here is the caller graph for this function:

HTMLPurifier_ConfigSchema_InterchangeBuilder::build (   $interchange,
  $hash 
)

Builds an interchange object based on a hash.

Parameters
$interchangeHTMLPurifier_ConfigSchema_Interchange object to build
$hashHTMLPurifier_ConfigSchema_StringHash source data

Definition at line 59 of file InterchangeBuilder.php.

References _findUnused(), and buildDirective().

Referenced by buildFile().

Here is the call graph for this function:

Here is the caller graph for this function:

HTMLPurifier_ConfigSchema_InterchangeBuilder::buildDir (   $interchange,
  $dir = null 
)

Definition at line 21 of file InterchangeBuilder.php.

References $dir, $file, and buildFile().

Here is the call graph for this function:

HTMLPurifier_ConfigSchema_InterchangeBuilder::buildDirective (   $interchange,
  $hash 
)

Definition at line 78 of file InterchangeBuilder.php.

References $type, evalArray(), id(), and lookup().

Referenced by build().

Here is the call graph for this function:

Here is the caller graph for this function:

HTMLPurifier_ConfigSchema_InterchangeBuilder::buildFile (   $interchange,
  $file 
)

Definition at line 46 of file InterchangeBuilder.php.

References $file, $parser, and build().

Referenced by buildDir().

Here is the call graph for this function:

Here is the caller graph for this function:

static HTMLPurifier_ConfigSchema_InterchangeBuilder::buildFromDirectory (   $dir = null)
static

Definition at line 15 of file InterchangeBuilder.php.

References $dir.

HTMLPurifier_ConfigSchema_InterchangeBuilder::evalArray (   $contents)
protected

Evaluates an array PHP code string without array() wrapper

Definition at line 143 of file InterchangeBuilder.php.

Referenced by buildDirective().

Here is the caller graph for this function:

HTMLPurifier_ConfigSchema_InterchangeBuilder::id (   $id)
protected

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

Definition at line 160 of file InterchangeBuilder.php.

References HTMLPurifier_ConfigSchema_Interchange_Id\make().

Referenced by buildDirective().

Here is the call graph for this function:

Here is the caller graph for this function:

HTMLPurifier_ConfigSchema_InterchangeBuilder::lookup (   $array)
protected

Converts an array list into a lookup array.

Definition at line 150 of file InterchangeBuilder.php.

References $ret.

Referenced by buildDirective().

Here is the caller graph for this function:

Member Data Documentation

HTMLPurifier_ConfigSchema_InterchangeBuilder::$varParser
protected

Used for processing DEFAULT, nothing else.

Definition at line 9 of file InterchangeBuilder.php.

Referenced by __construct().


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