HumHub Documentation (unofficial)

HTMLPurifier_Arborize
in package

Converts a stream of HTMLPurifier_Token into an HTMLPurifier_Node, and back again.

Tags
note

This transformation is not an equivalence. We mutate the input token stream to make it so; see all [MUT] markers in code.

Table of Contents

Methods

arborize()  : mixed
flatten()  : mixed

Methods

arborize()

public static arborize(mixed $tokens, mixed $config, mixed $context) : mixed
Parameters
$tokens : mixed
$config : mixed
$context : mixed

flatten()

public static flatten(mixed $node, mixed $config, mixed $context) : mixed
Parameters
$node : mixed
$config : mixed
$context : mixed

        
On this page

Search results