Moodle  2.2.1
http://www.collinsharper.com
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

Detailed Description

Definition at line 3 of file InterchangeBuilder.php.


Constructor & Destructor Documentation

__construct ( varParser = null)

Definition at line 11 of file InterchangeBuilder.php.


Member Function Documentation

_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.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

buildDir ( interchange,
dir = null 
)

Definition at line 21 of file InterchangeBuilder.php.

Here is the call graph for this function:

buildDirective ( interchange,
hash 
)

Definition at line 78 of file InterchangeBuilder.php.

Here is the call graph for this function:

Here is the caller graph for this function:

buildFile ( interchange,
file 
)

Definition at line 46 of file InterchangeBuilder.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static buildFromDirectory ( dir = null) [static]

Definition at line 15 of file InterchangeBuilder.php.

evalArray ( contents) [protected]

Evaluates an array PHP code string without array() wrapper

Definition at line 143 of file InterchangeBuilder.php.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

lookup ( array) [protected]

Converts an array list into a lookup array.

Definition at line 150 of file InterchangeBuilder.php.

Here is the caller graph for this function:


Field Documentation

$varParser [protected]

Used for processing DEFAULT, nothing else.

Definition at line 9 of file InterchangeBuilder.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations