/**
docs.ssmods.com
Overview
Namespaces
Interfaces
Classes
Source
Overview
Classes
HTMLPurifier_Injector
prepare
Introduction
Synopsis
Parameter
Return
Source
HTMLPurifier_Injector::
prepare
Prepares the injector by giving it the config and context objects: this allows references to important variables to be made within the injector. This function also checks if the HTML environment will work with the Injector (see checkNeeded()).
Signature
public function prepare(
Instance
$config,
Instance
$context )
Parameters
$config
— object
of HTMLPurifier_Config
$context
— object
of HTMLPurifier_Context
Returns
Boolean
false if success, string of missing needed element/attribute if failure