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... | |
| protocol | < HTMLPurifier_AttrDef > |
| Base class for all validating attribute definitions. More... | |
| protocol | < 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... | |
| protocol | < 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... | |
| protocol | < 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... | |
| protocol | < 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_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... | |
| protocol | < 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... | |
| protocol | < 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... | |
| protocol | < 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 |
| protocol | < 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_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_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_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_HTML_Nmtokens |
| Validates contents based on NMTOKENS attribute type. More... | |
| protocol | < 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_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_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_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_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_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_Hypertext |
| XHTML 1.1 Hypertext Module, defines hypertext links. 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_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_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_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_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_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... | |
| protocol | < 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_HostBlacklist |
| class | HTMLPurifier_URIFilter_MakeAbsolute |
| class | HTMLPurifier_URIFilter_Munge |
| 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... | |
Variables | |
| break | |
| case | __pad0__ |
| case | r |
| break | |
| default | __pad1__ |
| default | n |
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.
This file requires that the include path contains the HTML Purifier library directory; this is not auto-set.
Definition in file HTMLPurifier.standalone.php.
| case __pad0__ |
Definition at line 767 of file HTMLPurifier.standalone.php.
| default __pad1__ |
Definition at line 770 of file HTMLPurifier.standalone.php.
Definition at line 768 of file HTMLPurifier.standalone.php.
Definition at line 765 of file HTMLPurifier.standalone.php.
| default n |
Definition at line 770 of file HTMLPurifier.standalone.php.
| case r |
Definition at line 767 of file HTMLPurifier.standalone.php.
1.5.3