Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

(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

param: string $dir
return: HTMLPurifier_ConfigSchema_Interchange

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

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

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.

param: array $array
return: array

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

param: string $id
return: HTMLPurifier_ConfigSchema_Interchange_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.