Public Member Functions | |
| __construct ($varParser=null) | |
| build ($interchange, $hash) | |
| Builds an interchange object based on a hash. | |
| buildNamespace ($interchange, $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 |
) |
| static HTMLPurifier_ConfigSchema_InterchangeBuilder::buildFromDirectory | ( | $ | dir = null |
) | [static] |
Definition at line 15 of file InterchangeBuilder.php.
| HTMLPurifier_ConfigSchema_InterchangeBuilder::build | ( | $ | interchange, | |
| $ | hash | |||
| ) |
Builds an interchange object based on a hash.
| $interchange | HTMLPurifier_ConfigSchema_Interchange object to build | |
| $hash | HTMLPurifier_ConfigSchema_StringHash source data |
Definition at line 50 of file InterchangeBuilder.php.
References _findUnused(), buildDirective(), and buildNamespace().
| HTMLPurifier_ConfigSchema_InterchangeBuilder::buildNamespace | ( | $ | interchange, | |
| $ | hash | |||
| ) |
| HTMLPurifier_ConfigSchema_InterchangeBuilder::buildDirective | ( | $ | interchange, | |
| $ | hash | |||
| ) |
Definition at line 74 of file InterchangeBuilder.php.
References evalArray(), id(), and lookup().
Referenced by build().
| HTMLPurifier_ConfigSchema_InterchangeBuilder::evalArray | ( | $ | contents | ) | [protected] |
Evaluates an array PHP code string without array() wrapper.
Definition at line 139 of file InterchangeBuilder.php.
Referenced by buildDirective().
| HTMLPurifier_ConfigSchema_InterchangeBuilder::lookup | ( | $ | array | ) | [protected] |
Converts an array list into a lookup array.
Definition at line 146 of file InterchangeBuilder.php.
Referenced by buildDirective().
| HTMLPurifier_ConfigSchema_InterchangeBuilder::id | ( | $ | id | ) | [protected] |
Convenience function that creates an HTMLPurifier_ConfigSchema_Interchange_Id object based on a string Id.
Definition at line 156 of file InterchangeBuilder.php.
References HTMLPurifier_ConfigSchema_Interchange_Id::make().
Referenced by buildDirective().
| HTMLPurifier_ConfigSchema_InterchangeBuilder::_findUnused | ( | $ | hash | ) | [protected] |
Triggers errors for any unused keys passed in the hash; such keys may indicate typos, missing values, etc.
| $hash | Instance of ConfigSchema_StringHash to check. |
Definition at line 165 of file InterchangeBuilder.php.
Referenced by build().
HTMLPurifier_ConfigSchema_InterchangeBuilder::$varParser [protected] |
Used for processing DEFAULT, nothing else.
Definition at line 9 of file InterchangeBuilder.php.
Referenced by __construct().
1.5.3