Retrieves object reference to the HTML definition.
public getHTMLDefinition ( boolean $raw = false, boolean $optimized = false ) : HTMLPurifier_HTMLDefinition | ||
$raw | boolean | Return a copy that has not been setup yet. Must be called before it's been setup, otherwise won't work. |
$optimized | boolean | If true, this method may return null, to indicate that a cached version of the modified definition object is available and no further edits are necessary. Consider using maybeGetRawHTMLDefinition, which is more explicitly named, instead. |
return | HTMLPurifier_HTMLDefinition |