Class HTMLPurifier_HTMLModule_Bdo
Inheritance | HTMLPurifier_HTMLModule_Bdo » HTMLPurifier_HTMLModule |
---|
XHTML 1.1 Bi-directional Text Module, defines elements that declare directionality of content. Text Extension Module.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$attr_collections | HTMLPurifier_HTMLModule_Bdo | ||
$content_sets | Associative array of content set names to content set additions. | HTMLPurifier_HTMLModule | |
$defines_child_def | Boolean flag that indicates whether or not getChildDef is implemented. | HTMLPurifier_HTMLModule | |
$elements | Informally, a list of elements this module changes. | HTMLPurifier_HTMLModule | |
$info | Associative array of element names to element definitions. | HTMLPurifier_HTMLModule | |
$info_attr_transform_post | List of HTMLPurifier_AttrTransform to be performed after validation. | HTMLPurifier_HTMLModule | |
$info_attr_transform_pre | List of HTMLPurifier_AttrTransform to be performed before validation. | HTMLPurifier_HTMLModule | |
$info_injector | List of HTMLPurifier_Injector to be performed during well-formedness fixing. | HTMLPurifier_HTMLModule | |
$info_tag_transform | Associative array of deprecated tag name to HTMLPurifier_TagTransform. | HTMLPurifier_HTMLModule | |
$name | HTMLPurifier_HTMLModule_Bdo | ||
$safe | Boolean flag whether or not this module is safe. If it is not safe, all of its members are unsafe. Modules are safe by default (this might be slightly dangerous, but it doesn't make much sense to force HTML Purifier, which is based off of safe HTML, to explicitly say, "This is safe," even though there are modules which are "unsafe") | HTMLPurifier_HTMLModule |
Public Methods
Method | Description | Defined By |
---|---|---|
addBlankElement() | Convenience function that creates a totally blank, non-standalone element. | HTMLPurifier_HTMLModule |
addElement() | Convenience function that sets up a new element | HTMLPurifier_HTMLModule |
addElementToContentSet() | Convenience function that registers an element to a content set | HTMLPurifier_HTMLModule |
getChildDef() | Retrieves a proper HTMLPurifier_ChildDef subclass based on content_model and content_model_type member variables of the HTMLPurifier_ElementDef class. There is a similar function in HTMLPurifier_HTMLDefinition. | HTMLPurifier_HTMLModule |
makeLookup() | Convenience function that generates a lookup table with boolean true as value. | HTMLPurifier_HTMLModule |
mergeInAttrIncludes() | Convenience function that merges a list of attribute includes into an attribute array. | HTMLPurifier_HTMLModule |
parseContents() | Convenience function that transforms single-string contents into separate content model and content model type | HTMLPurifier_HTMLModule |
setup() | HTMLPurifier_HTMLModule_Bdo |