Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

(no description)

File Size: 226 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

HTMLPurifier_ConfigSchema_InterchangeBuilder:: (10 methods):
  __construct()
  buildFromDirectory()
  buildDir()
  buildFile()
  build()
  buildDirective()
  evalArray()
  lookup()
  id()
  _findUnused()


Class: HTMLPurifier_ConfigSchema_InterchangeBuilder  - X-Ref

__construct($varParser = null)   X-Ref

param: HTMLPurifier_VarParser $varParser

buildFromDirectory($dir = null)   X-Ref

return: HTMLPurifier_ConfigSchema_Interchange
param: string $dir

buildDir($interchange, $dir = null)   X-Ref

return: HTMLPurifier_ConfigSchema_Interchange
param: HTMLPurifier_ConfigSchema_Interchange $interchange
param: string $dir

buildFile($interchange, $file)   X-Ref

param: HTMLPurifier_ConfigSchema_Interchange $interchange
param: string $file

build($interchange, $hash)   X-Ref
Builds an interchange object based on a hash.

param: HTMLPurifier_ConfigSchema_Interchange $interchange HTMLPurifier_ConfigSchema_Interchange object to build
param: HTMLPurifier_StringHash $hash source data

buildDirective($interchange, $hash)   X-Ref

param: HTMLPurifier_ConfigSchema_Interchange $interchange
param: HTMLPurifier_StringHash $hash

evalArray($contents)   X-Ref
Evaluates an array PHP code string without array() wrapper

param: string $contents

lookup($array)   X-Ref
Converts an array list into a lookup array.

return: array
param: array $array

id($id)   X-Ref
Convenience function that creates an HTMLPurifier_ConfigSchema_Interchange_Id
object based on a string Id.

return: HTMLPurifier_ConfigSchema_Interchange_Id
param: string $id

_findUnused($hash)   X-Ref
Triggers errors for any unused keys passed in the hash; such keys
may indicate typos, missing values, etc.

param: HTMLPurifier_StringHash $hash Hash to check.