ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
__construct ($varParser=null) | |
buildDir ($interchange, $dir=null) | |
buildFile ($interchange, $file) | |
build ($interchange, $hash) | |
Builds an interchange object based on a hash. | |
buildDirective ($interchange, $hash) |
Static Public Member Functions | |
static | buildFromDirectory ($dir=null) |
Protected Member Functions | |
evalArray ($contents) | |
Evaluates an array PHP code string without array() wrapper. | |
lookup ($array) | |
Converts an array list into a lookup array. | |
id ($id) | |
Convenience function that creates an HTMLPurifier_ConfigSchema_Interchange_Id object based on a string Id. | |
_findUnused ($hash) | |
Triggers errors for any unused keys passed in the hash; such keys may indicate typos, missing values, etc. |
Protected Attributes | |
$varParser | |
Used for processing DEFAULT, nothing else. |
Definition at line 3 of file InterchangeBuilder.php.
HTMLPurifier_ConfigSchema_InterchangeBuilder::__construct | ( | $varParser = null | ) |
HTMLPurifier_VarParser | $varParser |
Definition at line 15 of file InterchangeBuilder.php.
References $varParser.
|
protected |
Triggers errors for any unused keys passed in the hash; such keys may indicate typos, missing values, etc.
HTMLPurifier_StringHash | $hash | Hash to check. |
Definition at line 215 of file InterchangeBuilder.php.
Referenced by build().
HTMLPurifier_ConfigSchema_InterchangeBuilder::build | ( | $interchange, | |
$hash | |||
) |
Builds an interchange object based on a hash.
HTMLPurifier_ConfigSchema_Interchange | $interchange | HTMLPurifier_ConfigSchema_Interchange object to build |
HTMLPurifier_StringHash | $hash | source data |
HTMLPurifier_ConfigSchema_Exception |
Definition at line 82 of file InterchangeBuilder.php.
References _findUnused(), and buildDirective().
Referenced by buildFile().
HTMLPurifier_ConfigSchema_InterchangeBuilder::buildDir | ( | $interchange, | |
$dir = null |
|||
) |
HTMLPurifier_ConfigSchema_Interchange | $interchange | |
string | $dir |
Definition at line 36 of file InterchangeBuilder.php.
References $file, and buildFile().
HTMLPurifier_ConfigSchema_InterchangeBuilder::buildDirective | ( | $interchange, | |
$hash | |||
) |
HTMLPurifier_ConfigSchema_Interchange | $interchange | |
HTMLPurifier_StringHash | $hash |
HTMLPurifier_ConfigSchema_Exception |
Definition at line 107 of file InterchangeBuilder.php.
References evalArray(), id(), and lookup().
Referenced by build().
HTMLPurifier_ConfigSchema_InterchangeBuilder::buildFile | ( | $interchange, | |
$file | |||
) |
HTMLPurifier_ConfigSchema_Interchange | $interchange | |
string | $file |
Definition at line 67 of file InterchangeBuilder.php.
References $file, and build().
Referenced by buildDir().
|
static |
string | $dir |
Definition at line 24 of file InterchangeBuilder.php.
References $builder.
|
protected |
Evaluates an array PHP code string without array() wrapper.
string | $contents |
Definition at line 180 of file InterchangeBuilder.php.
Referenced by buildDirective().
|
protected |
Convenience function that creates an HTMLPurifier_ConfigSchema_Interchange_Id object based on a string Id.
string | $id |
Definition at line 205 of file InterchangeBuilder.php.
References HTMLPurifier_ConfigSchema_Interchange_Id\make().
Referenced by buildDirective().
|
protected |
Converts an array list into a lookup array.
array | $array |
Definition at line 190 of file InterchangeBuilder.php.
References $ret.
Referenced by buildDirective().
|
protected |
Used for processing DEFAULT, nothing else.
Definition at line 10 of file InterchangeBuilder.php.
Referenced by __construct().