HTMLPurifier_ConfigSchema_InterchangeBuilder
in package
Table of Contents
Properties
- $varParser : mixed
- Used for processing DEFAULT, nothing else.
Methods
- __construct() : mixed
- build() : mixed
- Builds an interchange object based on a hash.
- buildDir() : HTMLPurifier_ConfigSchema_Interchange
- buildDirective() : mixed
- buildFile() : mixed
- buildFromDirectory() : HTMLPurifier_ConfigSchema_Interchange
- _findUnused() : mixed
- Triggers errors for any unused keys passed in the hash; such keys may indicate typos, missing values, etc.
- evalArray() : mixed
- Evaluates an array PHP code string without array() wrapper
- id() : HTMLPurifier_ConfigSchema_Interchange_Id
- Convenience function that creates an HTMLPurifier_ConfigSchema_Interchange_Id object based on a string Id.
- lookup() : array<string|int, mixed>
- Converts an array list into a lookup array.
Properties
$varParser
Used for processing DEFAULT, nothing else.
protected
mixed
$varParser
Tags
Methods
__construct()
public
__construct([HTMLPurifier_VarParser $varParser = null ]) : mixed
Parameters
- $varParser : HTMLPurifier_VarParser = null
build()
Builds an interchange object based on a hash.
public
build(HTMLPurifier_ConfigSchema_Interchange $interchange, HTMLPurifier_StringHash $hash) : mixed
Parameters
- $interchange : HTMLPurifier_ConfigSchema_Interchange
-
HTMLPurifier_ConfigSchema_Interchange object to build
- $hash : HTMLPurifier_StringHash
-
source data
Tags
buildDir()
public
buildDir(HTMLPurifier_ConfigSchema_Interchange $interchange[, string $dir = null ]) : HTMLPurifier_ConfigSchema_Interchange
Parameters
- $interchange : HTMLPurifier_ConfigSchema_Interchange
- $dir : string = null
Return values
HTMLPurifier_ConfigSchema_InterchangebuildDirective()
public
buildDirective(HTMLPurifier_ConfigSchema_Interchange $interchange, HTMLPurifier_StringHash $hash) : mixed
Parameters
- $interchange : HTMLPurifier_ConfigSchema_Interchange
- $hash : HTMLPurifier_StringHash
Tags
buildFile()
public
buildFile(HTMLPurifier_ConfigSchema_Interchange $interchange, string $file) : mixed
Parameters
- $interchange : HTMLPurifier_ConfigSchema_Interchange
- $file : string
buildFromDirectory()
public
static buildFromDirectory([string $dir = null ]) : HTMLPurifier_ConfigSchema_Interchange
Parameters
- $dir : string = null
Return values
HTMLPurifier_ConfigSchema_Interchange_findUnused()
Triggers errors for any unused keys passed in the hash; such keys may indicate typos, missing values, etc.
protected
_findUnused(HTMLPurifier_StringHash $hash) : mixed
Parameters
- $hash : HTMLPurifier_StringHash
-
Hash to check.
evalArray()
Evaluates an array PHP code string without array() wrapper
protected
evalArray(string $contents) : mixed
Parameters
- $contents : string
id()
Convenience function that creates an HTMLPurifier_ConfigSchema_Interchange_Id object based on a string Id.
protected
id(string $id) : HTMLPurifier_ConfigSchema_Interchange_Id
Parameters
- $id : string
Return values
HTMLPurifier_ConfigSchema_Interchange_Idlookup()
Converts an array list into a lookup array.
protected
lookup(array<string|int, mixed> $array) : array<string|int, mixed>
Parameters
- $array : array<string|int, mixed>