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

Public Member Functions

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

Static Public Member Functions

static buildFromDirectory ($dir=null)
 

Protected Member Functions

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

Protected Attributes

 $varParser
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $varParser = null)
Parameters
HTMLPurifier_VarParser$varParser

Member Function Documentation

◆ _findUnused()

_findUnused (   $hash)
protected

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

Parameters
HTMLPurifier_StringHash$hashHash to check.
Here is the caller graph for this function:

◆ build()

build (   $interchange,
  $hash 
)

Builds an interchange object based on a hash.

Parameters
HTMLPurifier_ConfigSchema_Interchange$interchangeHTMLPurifier_ConfigSchema_Interchange object to build
HTMLPurifier_StringHash$hashsource data
Exceptions
HTMLPurifier_ConfigSchema_Exception
Here is the call graph for this function:
Here is the caller graph for this function:

◆ buildDir()

buildDir (   $interchange,
  $dir = null 
)
Parameters
HTMLPurifier_ConfigSchema_Interchange$interchange
string$dir
Returns
HTMLPurifier_ConfigSchema_Interchange
Here is the call graph for this function:

◆ buildDirective()

buildDirective (   $interchange,
  $hash 
)
Parameters
HTMLPurifier_ConfigSchema_Interchange$interchange
HTMLPurifier_StringHash$hash
Exceptions
HTMLPurifier_ConfigSchema_Exception
Here is the call graph for this function:
Here is the caller graph for this function:

◆ buildFile()

buildFile (   $interchange,
  $file 
)
Parameters
HTMLPurifier_ConfigSchema_Interchange$interchange
string$file
Here is the call graph for this function:
Here is the caller graph for this function:

◆ buildFromDirectory()

static buildFromDirectory (   $dir = null)
static
Parameters
string$dir
Returns
HTMLPurifier_ConfigSchema_Interchange

◆ evalArray()

evalArray (   $contents)
protected

Evaluates an array PHP code string without array() wrapper

Parameters
string$contents
Here is the caller graph for this function:

◆ id()

id (   $id)
protected

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

Parameters
string$id
Returns
HTMLPurifier_ConfigSchema_Interchange_Id
Here is the call graph for this function:
Here is the caller graph for this function:

◆ lookup()

lookup (   $array)
protected

Converts an array list into a lookup array.

Parameters
array$array
Returns
array
Here is the caller graph for this function:

Field Documentation

◆ $varParser

$varParser
protected

Used for processing DEFAULT, nothing else. @type HTMLPurifier_VarParser


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