Definition of the purified HTML that describes allowed children, attributes, and many other things.
Conventions:
All member variables that are prefixed with info (including the main $info array) are used by HTML Purifier internals and should not be directly edited when customizing the HTMLDefinition. They can usually be set via configuration directives or custom modules.
On the other hand, member variables without the info prefix are used internally by the HTMLDefinition and MUST NOT be used by other HTML Purifier internals. Many of them, however, are public, and may be edited by userspace code to tweak the behavior of HTMLDefinition.
Located in /lib/core/Parsers/htmlpurifier/HTMLPurifier.standalone.php (line 4033)
HTMLPurifier_Definition | --HTMLPurifier_HTMLDefinition
Doctype object
Associative array of element names to HTMLPurifier_ElementDef
Indexed list of HTMLPurifier_AttrTransform to be performed after validation.
Indexed list of HTMLPurifier_AttrTransform to be performed before validation.
String name of element used to wrap inline elements in block context
Nested lookup array of content set name (Block, Inline) to element name to whether or not it belongs in that content set.
Associative array of global attribute name to attribute definition.
Indexed list of HTMLPurifier_Injector to be used.
String name of parent element HTML will be going into.
Definition for parent element, allows parent element to be a tag that's not allowed inside the HTML fragment.
Associative array of deprecated tag name to HTMLPurifier_TagTransform
Inherited from HTMLPurifier_Definition
HTMLPurifier_Definition::$setup
Performs low-cost, preliminary initialization.
Adds a custom attribute to a pre-existing element
Adds a blank element to your HTML definition, for overriding
existing behavior
Adds a custom element to your HTML definition
Retrieves a reference to the anonymous module, so you can bust out advanced features without having to make your own module.
Parses a TinyMCE-flavored Allowed Elements and Attributes list into separate lists for processing. Format is element[attr1|attr2],element2...
Extract out the information from the manager
Sets up stuff based on config. We need a better way of doing this.
Inherited From HTMLPurifier_Definition
HTMLPurifier_Definition::doSetup()
HTMLPurifier_Definition::setup()
Documentation generated on Sun, 06 Mar 2011 00:24:05 -0500 by phpDocumentor 1.4.3