Abstract Class HTMLPurifier_Definition

InheritanceHTMLPurifier_Definition
SubclassesHTMLPurifier_CSSDefinition, HTMLPurifier_HTMLDefinition, HTMLPurifier_URIDefinition

Super-class for definition datatype objects, implements serialization functions for the class.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$optimized If true, write out the final definition object to the cache after setup. This will be true only if all invocations to get a raw definition object are also optimized. This does not cause file system thrashing because on subsequent calls the cached object is used and any writes to the raw definition object are short circuited. See enduser-customize.html for the high-level picture. HTMLPurifier_Definition
$setup Has setup() been called yet? HTMLPurifier_Definition
$type What type of definition is it? HTMLPurifier_Definition

Public Methods

Hide inherited methods

MethodDescriptionDefined By
setup() Setup function that aborts if already setup HTMLPurifier_Definition

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
doSetup() Sets up the definition object into the final form, something not done by the constructor HTMLPurifier_Definition

Property Details

$optimized public property
public $optimized null
$setup public property
public $setup false
$type public property
public $type null

Method Details

doSetup() protected abstract method

Sets up the definition object into the final form, something not done by the constructor

protected abstract void doSetup ( $config )
$config HTMLPurifier_Config
setup() public method

Setup function that aborts if already setup

public void setup ( $config )
$config HTMLPurifier_Config