HTMLPurifier 4.4.0
/home/ezyang/Dev/htmlpurifier/library/HTMLPurifier.standalone.php File Reference

This file was auto-generated by generate-includes.php and includes all of the core files required by HTML Purifier. More...

Go to the source code of this file.

Classes

class  HTMLPurifier
 Facade that coordinates HTML Purifier's subsystems in order to purify HTML. More...
class  HTMLPurifier_AttrCollections
 Defines common attribute collections that modules reference. More...
class  HTMLPurifier_AttrDef
 Base class for all validating attribute definitions. More...
class  HTMLPurifier_AttrTransform
 Processes an entire attribute array for corrections needing multiple values. More...
class  HTMLPurifier_AttrTypes
 Provides lookup array of attribute types to HTMLPurifier_AttrDef objects. More...
class  HTMLPurifier_AttrValidator
 Validates the attributes of a token. More...
class  HTMLPurifier_Bootstrap
 Bootstrap class that contains meta-functionality for HTML Purifier such as the autoload function. More...
class  HTMLPurifier_Definition
 Super-class for definition datatype objects, implements serialization functions for the class. More...
class  HTMLPurifier_CSSDefinition
 Defines allowed CSS attributes and what their values are. More...
class  HTMLPurifier_ChildDef
 Defines allowed child nodes and validates tokens against it. More...
class  HTMLPurifier_Config
 Configuration object that triggers customizable behavior. More...
class  HTMLPurifier_ConfigSchema
 Configuration definition, defines directives and their defaults. More...
class  HTMLPurifier_ContentSets
class  HTMLPurifier_Context
 Registry object that contains information about the current context. More...
class  HTMLPurifier_DefinitionCache
 Abstract class representing Definition cache managers that implements useful common methods and is a factory. More...
class  HTMLPurifier_DefinitionCacheFactory
 Responsible for creating definition caches. More...
class  HTMLPurifier_Doctype
 Represents a document type, contains information on which modules need to be loaded. More...
class  HTMLPurifier_DoctypeRegistry
class  HTMLPurifier_ElementDef
 Structure that stores an HTML element definition. More...
class  HTMLPurifier_Encoder
 A UTF-8 specific character encoder that handles cleaning and transforming. More...
class  HTMLPurifier_EntityLookup
 Object that provides entity lookup table from entity name to character. More...
class  HTMLPurifier_EntityParser
 Handles referencing and derefencing character entities. More...
class  HTMLPurifier_ErrorCollector
 Error collection class that enables HTML Purifier to report HTML problems back to the user. More...
class  HTMLPurifier_ErrorStruct
 Records errors for particular segments of an HTML document such as tokens, attributes or CSS properties. More...
class  HTMLPurifier_Exception
 Global exception class for HTML Purifier; any exceptions we throw are from here. More...
class  HTMLPurifier_Filter
 Represents a pre or post processing filter on HTML Purifier's output. More...
class  HTMLPurifier_Generator
 Generates HTML from tokens. More...
class  HTMLPurifier_HTMLDefinition
 Definition of the purified HTML that describes allowed children, attributes, and many other things. More...
class  HTMLPurifier_HTMLModule
 Represents an XHTML 1.1 module, with information on elements, tags and attributes. More...
class  HTMLPurifier_HTMLModuleManager
class  HTMLPurifier_IDAccumulator
 Component of HTMLPurifier_AttrContext that accumulates IDs to prevent dupes. More...
class  HTMLPurifier_Injector
 Injects tokens into the document while parsing for well-formedness. More...
class  HTMLPurifier_Language
 Represents a language and defines localizable string formatting and other functions, as well as the localized messages for HTML Purifier. More...
class  HTMLPurifier_LanguageFactory
 Class responsible for generating HTMLPurifier_Language objects, managing caching and fallbacks. More...
class  HTMLPurifier_Length
 Represents a measurable length, with a string numeric magnitude and a unit. More...
class  HTMLPurifier_Lexer
 Forgivingly lexes HTML (SGML-style) markup into tokens. More...
class  HTMLPurifier_PercentEncoder
 Class that handles operations involving percent-encoding in URIs. More...
class  HTMLPurifier_PropertyList
 Generic property list implementation. More...
class  HTMLPurifier_PropertyListIterator
 Property list iterator. More...
class  HTMLPurifier_Strategy
 Supertype for classes that define a strategy for modifying/purifying tokens. More...
class  HTMLPurifier_StringHash
 This is in almost every respect equivalent to an array except that it keeps track of which keys were accessed. More...
class  HTMLPurifier_StringHashParser
 Parses string hash files. More...
class  HTMLPurifier_TagTransform
 Defines a mutation of an obsolete tag into a valid tag. More...
class  HTMLPurifier_Token
 Abstract base token class that all others inherit from. More...
class  HTMLPurifier_TokenFactory
 Factory for token generation. More...
class  HTMLPurifier_URI
 HTML Purifier's internal representation of a URI. More...
class  HTMLPurifier_URIDefinition
class  HTMLPurifier_URIFilter
 Chainable filters for custom URI processing. More...
class  HTMLPurifier_URIParser
 Parses a URI into the components and fragment identifier as specified by RFC 3986. More...
class  HTMLPurifier_URIScheme
 Validator for the components of a URI for a specific scheme. More...
class  HTMLPurifier_URISchemeRegistry
 Registry for retrieving specific URI scheme validator objects. More...
class  HTMLPurifier_UnitConverter
 Class for converting between different unit-lengths as specified by CSS. More...
class  HTMLPurifier_VarParser
 Parses string representations into their corresponding native PHP variable type. More...
class  HTMLPurifier_VarParserException
 Exception type for HTMLPurifier_VarParser. More...
class  HTMLPurifier_AttrDef_CSS
 Validates the HTML attribute style, otherwise known as CSS. More...
class  HTMLPurifier_AttrDef_Clone
 Dummy AttrDef that mimics another AttrDef, BUT it generates clones with make. More...
class  HTMLPurifier_AttrDef_Enum
 Validates a keyword against a list of valid values. More...
class  HTMLPurifier_AttrDef_Integer
 Validates an integer. More...
class  HTMLPurifier_AttrDef_Lang
 Validates the HTML attribute lang, effectively a language code. More...
class  HTMLPurifier_AttrDef_Switch
 Decorator that, depending on a token, switches between two definitions. More...
class  HTMLPurifier_AttrDef_Text
 Validates arbitrary text according to the HTML spec. More...
class  HTMLPurifier_AttrDef_URI
 Validates a URI as defined by RFC 3986. More...
class  HTMLPurifier_AttrDef_CSS_Number
 Validates a number as defined by the CSS spec. More...
class  HTMLPurifier_AttrDef_CSS_AlphaValue
class  HTMLPurifier_AttrDef_CSS_Background
 Validates shorthand CSS property background. More...
class  HTMLPurifier_AttrDef_CSS_BackgroundPosition
 Validates the value of background-position. More...
class  HTMLPurifier_AttrDef_CSS_Border
 Validates the border property as defined by CSS. More...
class  HTMLPurifier_AttrDef_CSS_Color
 Validates Color as defined by CSS. More...
class  HTMLPurifier_AttrDef_CSS_Composite
 Allows multiple validators to attempt to validate attribute. More...
class  HTMLPurifier_AttrDef_CSS_DenyElementDecorator
 Decorator which enables CSS properties to be disabled for specific elements. More...
class  HTMLPurifier_AttrDef_CSS_Filter
 Microsoft's proprietary filter: CSS property. More...
class  HTMLPurifier_AttrDef_CSS_Font
 Validates shorthand CSS property font. More...
class  HTMLPurifier_AttrDef_CSS_FontFamily
 Validates a font family list according to CSS spec. More...
class  HTMLPurifier_AttrDef_CSS_Ident
 Validates based on {ident} CSS grammar production. More...
class  HTMLPurifier_AttrDef_CSS_ImportantDecorator
 Decorator which enables !important to be used in CSS values. More...
class  HTMLPurifier_AttrDef_CSS_Length
 Represents a Length as defined by CSS. More...
class  HTMLPurifier_AttrDef_CSS_ListStyle
 Validates shorthand CSS property list-style. More...
class  HTMLPurifier_AttrDef_CSS_Multiple
 Framework class for strings that involve multiple values. More...
class  HTMLPurifier_AttrDef_CSS_Percentage
 Validates a Percentage as defined by the CSS spec. More...
class  HTMLPurifier_AttrDef_CSS_TextDecoration
 Validates the value for the CSS property text-decoration. More...
class  HTMLPurifier_AttrDef_CSS_URI
 Validates a URI in CSS syntax, which uses url('http://example.com') More...
class  HTMLPurifier_AttrDef_HTML_Bool
 Validates a boolean attribute. More...
class  HTMLPurifier_AttrDef_HTML_Nmtokens
 Validates contents based on NMTOKENS attribute type. More...
class  HTMLPurifier_AttrDef_HTML_Class
 Implements special behavior for class attribute (normally NMTOKENS) More...
class  HTMLPurifier_AttrDef_HTML_Color
 Validates a color according to the HTML spec. More...
class  HTMLPurifier_AttrDef_HTML_FrameTarget
 Special-case enum attribute definition that lazy loads allowed frame targets. More...
class  HTMLPurifier_AttrDef_HTML_ID
 Validates the HTML attribute ID. More...
class  HTMLPurifier_AttrDef_HTML_Pixels
 Validates an integer representation of pixels according to the HTML spec. More...
class  HTMLPurifier_AttrDef_HTML_Length
 Validates the HTML type length (not to be confused with CSS's length). More...
class  HTMLPurifier_AttrDef_HTML_LinkTypes
 Validates a rel/rev link attribute against a directive of allowed values. More...
class  HTMLPurifier_AttrDef_HTML_MultiLength
 Validates a MultiLength as defined by the HTML spec. More...
class  HTMLPurifier_AttrDef_URI_Email
class  HTMLPurifier_AttrDef_URI_Host
 Validates a host according to the IPv4, IPv6 and DNS (future) specifications. More...
class  HTMLPurifier_AttrDef_URI_IPv4
 Validates an IPv4 address. More...
class  HTMLPurifier_AttrDef_URI_IPv6
 Validates an IPv6 address. More...
class  HTMLPurifier_AttrDef_URI_Email_SimpleCheck
 Primitive email validation class based on the regexp found at http://www.regular-expressions.info/email.html. More...
class  HTMLPurifier_AttrTransform_Background
 Pre-transform that changes proprietary background attribute to CSS. More...
class  HTMLPurifier_AttrTransform_BdoDir
 Post-trasnform that ensures that bdo tags have the dir attribute set. More...
class  HTMLPurifier_AttrTransform_BgColor
 Pre-transform that changes deprecated bgcolor attribute to CSS. More...
class  HTMLPurifier_AttrTransform_BoolToCSS
 Pre-transform that changes converts a boolean attribute to fixed CSS. More...
class  HTMLPurifier_AttrTransform_Border
 Pre-transform that changes deprecated border attribute to CSS. More...
class  HTMLPurifier_AttrTransform_EnumToCSS
 Generic pre-transform that converts an attribute with a fixed number of values (enumerated) to CSS. More...
class  HTMLPurifier_AttrTransform_ImgRequired
 Transform that supplies default values for the src and alt attributes in img tags, as well as prevents the img tag from being removed because of a missing alt tag. More...
class  HTMLPurifier_AttrTransform_ImgSpace
 Pre-transform that changes deprecated hspace and vspace attributes to CSS. More...
class  HTMLPurifier_AttrTransform_Input
 Performs miscellaneous cross attribute validation and filtering for input elements. More...
class  HTMLPurifier_AttrTransform_Lang
 Post-transform that copies lang's value to xml:lang (and vice-versa) More...
class  HTMLPurifier_AttrTransform_Length
 Class for handling width/height length attribute transformations to CSS. More...
class  HTMLPurifier_AttrTransform_Name
 Pre-transform that changes deprecated name attribute to ID if necessary. More...
class  HTMLPurifier_AttrTransform_NameSync
 Post-transform that performs validation to the name attribute; if it is present with an equivalent id attribute, it is passed through; otherwise validation is performed. More...
class  HTMLPurifier_AttrTransform_Nofollow
 Adds rel="nofollow" to all outbound links. More...
class  HTMLPurifier_AttrTransform_SafeEmbed
class  HTMLPurifier_AttrTransform_SafeObject
 Writes default type for all objects. More...
class  HTMLPurifier_AttrTransform_SafeParam
 Validates name/value pairs in param tags to be used in safe objects. More...
class  HTMLPurifier_AttrTransform_ScriptRequired
 Implements required attribute stipulation for <script> More...
class  HTMLPurifier_AttrTransform_TargetBlank
 Adds target="blank" to all outbound links. More...
class  HTMLPurifier_AttrTransform_Textarea
 Sets height/width defaults for <textarea> More...
class  HTMLPurifier_ChildDef_Chameleon
 Definition that uses different definitions depending on context. More...
class  HTMLPurifier_ChildDef_Custom
 Custom validation class, accepts DTD child definitions. More...
class  HTMLPurifier_ChildDef_Empty
 Definition that disallows all elements. More...
class  HTMLPurifier_ChildDef_List
 Definition for list containers ul and ol. More...
class  HTMLPurifier_ChildDef_Required
 Definition that allows a set of elements, but disallows empty children. More...
class  HTMLPurifier_ChildDef_Optional
 Definition that allows a set of elements, and allows no children. More...
class  HTMLPurifier_ChildDef_StrictBlockquote
 Takes the contents of blockquote when in strict and reformats for validation. More...
class  HTMLPurifier_ChildDef_Table
 Definition for tables. More...
class  HTMLPurifier_DefinitionCache_Decorator
class  HTMLPurifier_DefinitionCache_Null
 Null cache object to use when no caching is on. More...
class  HTMLPurifier_DefinitionCache_Serializer
class  HTMLPurifier_DefinitionCache_Decorator_Cleanup
 Definition cache decorator class that cleans up the cache whenever there is a cache miss. More...
class  HTMLPurifier_DefinitionCache_Decorator_Memory
 Definition cache decorator class that saves all cache retrievals to PHP's memory; good for unit tests or circumstances where there are lots of configuration objects floating around. More...
class  HTMLPurifier_HTMLModule_Bdo
 XHTML 1.1 Bi-directional Text Module, defines elements that declare directionality of content. More...
class  HTMLPurifier_HTMLModule_CommonAttributes
class  HTMLPurifier_HTMLModule_Edit
 XHTML 1.1 Edit Module, defines editing-related elements. More...
class  HTMLPurifier_HTMLModule_Forms
 XHTML 1.1 Forms module, defines all form-related elements found in HTML 4. More...
class  HTMLPurifier_HTMLModule_Hypertext
 XHTML 1.1 Hypertext Module, defines hypertext links. More...
class  HTMLPurifier_HTMLModule_Iframe
 XHTML 1.1 Iframe Module provides inline frames. More...
class  HTMLPurifier_HTMLModule_Image
 XHTML 1.1 Image Module provides basic image embedding. More...
class  HTMLPurifier_HTMLModule_Legacy
 XHTML 1.1 Legacy module defines elements that were previously deprecated. More...
class  HTMLPurifier_HTMLModule_List
 XHTML 1.1 List Module, defines list-oriented elements. More...
class  HTMLPurifier_HTMLModule_Name
class  HTMLPurifier_HTMLModule_Nofollow
 Module adds the nofollow attribute transformation to a tags. More...
class  HTMLPurifier_HTMLModule_NonXMLCommonAttributes
class  HTMLPurifier_HTMLModule_Object
 XHTML 1.1 Object Module, defines elements for generic object inclusion. More...
class  HTMLPurifier_HTMLModule_Presentation
 XHTML 1.1 Presentation Module, defines simple presentation-related markup. More...
class  HTMLPurifier_HTMLModule_Proprietary
 Module defines proprietary tags and attributes in HTML. More...
class  HTMLPurifier_HTMLModule_Ruby
 XHTML 1.1 Ruby Annotation Module, defines elements that indicate short runs of text alongside base text for annotation or pronounciation. More...
class  HTMLPurifier_HTMLModule_SafeEmbed
 A "safe" embed module. More...
class  HTMLPurifier_HTMLModule_SafeObject
 A "safe" object module. More...
class  HTMLPurifier_HTMLModule_Scripting
 XHTML 1.1 Scripting module, defines elements that are used to contain information pertaining to executable scripts or the lack of support for executable scripts. More...
class  HTMLPurifier_HTMLModule_StyleAttribute
 XHTML 1.1 Edit Module, defines editing-related elements. More...
class  HTMLPurifier_HTMLModule_Tables
 XHTML 1.1 Tables Module, fully defines accessible table elements. More...
class  HTMLPurifier_HTMLModule_Target
 XHTML 1.1 Target Module, defines target attribute in link elements. More...
class  HTMLPurifier_HTMLModule_TargetBlank
 Module adds the target=blank attribute transformation to a tags. More...
class  HTMLPurifier_HTMLModule_Text
 XHTML 1.1 Text Module, defines basic text containers. More...
class  HTMLPurifier_HTMLModule_Tidy
 Abstract class for a set of proprietary modules that clean up (tidy) poorly written HTML. More...
class  HTMLPurifier_HTMLModule_XMLCommonAttributes
class  HTMLPurifier_HTMLModule_Tidy_Name
 Name is deprecated, but allowed in strict doctypes, so onl. More...
class  HTMLPurifier_HTMLModule_Tidy_Proprietary
class  HTMLPurifier_HTMLModule_Tidy_XHTMLAndHTML4
class  HTMLPurifier_HTMLModule_Tidy_Strict
class  HTMLPurifier_HTMLModule_Tidy_Transitional
class  HTMLPurifier_HTMLModule_Tidy_XHTML
class  HTMLPurifier_Injector_AutoParagraph
 Injector that auto paragraphs text in the root node based on double-spacing. More...
class  HTMLPurifier_Injector_DisplayLinkURI
 Injector that displays the URL of an anchor instead of linking to it, in addition to showing the text of the link. More...
class  HTMLPurifier_Injector_Linkify
 Injector that converts http, https and ftp text URLs to actual links. More...
class  HTMLPurifier_Injector_PurifierLinkify
 Injector that converts configuration directive syntax Namespace.Directive to links. More...
class  HTMLPurifier_Injector_RemoveEmpty
class  HTMLPurifier_Injector_RemoveSpansWithoutAttributes
 Injector that removes spans with no attributes. More...
class  HTMLPurifier_Injector_SafeObject
 Adds important param elements to inside of object in order to make things safe. More...
class  HTMLPurifier_Lexer_DOMLex
 Parser that uses PHP 5's DOM extension (part of the core). More...
class  HTMLPurifier_Lexer_DirectLex
 Our in-house implementation of a parser. More...
class  HTMLPurifier_Strategy_Composite
 Composite strategy that runs multiple strategies on tokens. More...
class  HTMLPurifier_Strategy_Core
 Core strategy composed of the big four strategies. More...
class  HTMLPurifier_Strategy_FixNesting
 Takes a well formed list of tokens and fixes their nesting. More...
class  HTMLPurifier_Strategy_MakeWellFormed
 Takes tokens makes them well-formed (balance end tags, etc.) More...
class  HTMLPurifier_Strategy_RemoveForeignElements
 Removes all unrecognized tags from the list of tokens. More...
class  HTMLPurifier_Strategy_ValidateAttributes
 Validate all attributes in the tokens. More...
class  HTMLPurifier_TagTransform_Font
 Transforms FONT tags to the proper form (SPAN with CSS styling) More...
class  HTMLPurifier_TagTransform_Simple
 Simple transformation, just change tag name to something else, and possibly add some styling. More...
class  HTMLPurifier_Token_Comment
 Concrete comment token class. More...
class  HTMLPurifier_Token_Tag
 Abstract class of a tag token (start, end or empty), and its behavior. More...
class  HTMLPurifier_Token_Empty
 Concrete empty token class. More...
class  HTMLPurifier_Token_End
 Concrete end token class. More...
class  HTMLPurifier_Token_Start
 Concrete start token class. More...
class  HTMLPurifier_Token_Text
 Concrete text token class. More...
class  HTMLPurifier_URIFilter_DisableExternal
class  HTMLPurifier_URIFilter_DisableExternalResources
class  HTMLPurifier_URIFilter_DisableResources
class  HTMLPurifier_URIFilter_HostBlacklist
class  HTMLPurifier_URIFilter_MakeAbsolute
class  HTMLPurifier_URIFilter_Munge
class  HTMLPurifier_URIFilter_SafeIframe
 Implements safety checks for safe iframes. More...
class  HTMLPurifier_URIScheme_data
 Implements data: URI for base64 encoded images supported by GD. More...
class  HTMLPurifier_URIScheme_file
 Validates file as defined by RFC 1630 and RFC 1738. More...
class  HTMLPurifier_URIScheme_ftp
 Validates ftp (File Transfer Protocol) URIs as defined by generic RFC 1738. More...
class  HTMLPurifier_URIScheme_http
 Validates http (HyperText Transfer Protocol) as defined by RFC 2616. More...
class  HTMLPurifier_URIScheme_https
 Validates https (Secure HTTP) according to http scheme. More...
class  HTMLPurifier_URIScheme_mailto
 Validates mailto (for E-mail) according to RFC 2368. More...
class  HTMLPurifier_URIScheme_news
 Validates news (Usenet) as defined by generic RFC 1738. More...
class  HTMLPurifier_URIScheme_nntp
 Validates nntp (Network News Transfer Protocol) as defined by generic RFC 1738. More...
class  HTMLPurifier_VarParser_Flexible
 Performs safe variable parsing based on types which can be used by users. More...
class  HTMLPurifier_VarParser_Native
 This variable parser uses PHP's internal code engine. More...

Detailed Description

This file was auto-generated by generate-includes.php and includes all of the core files required by HTML Purifier.

Use this if performance is a primary concern and you are using an opcode cache. PLEASE DO NOT EDIT THIS FILE, changes will be overwritten the next time the script is run.

Version:
4.4.0
Warning:
You must *not* include any other HTML Purifier files before this file, because 'require' not 'require_once' is used.
This file requires that the include path contains the HTML Purifier library directory; this is not auto-set.

Definition in file HTMLPurifier.standalone.php.