HTMLPurifier 4.4.0
|
XHTML 1.1 Text Module, defines basic text containers. More...
Public Member Functions | |
setup ($config) | |
Lazy load construction of the module after determining whether or not it's needed, and also when a finalized configuration object is available. | |
setup ($config) | |
Lazy load construction of the module after determining whether or not it's needed, and also when a finalized configuration object is available. | |
Public Attributes | |
$name = 'Text' | |
Short unique string identifier of the module. | |
$content_sets | |
Associative array of content set names to content set additions. |
XHTML 1.1 Text Module, defines basic text containers.
Core Module.
HTMLPurifier_HTMLModule_Text::setup | ( | $ | config | ) |
Lazy load construction of the module after determining whether or not it's needed, and also when a finalized configuration object is available.
$config | Instance of HTMLPurifier_Config |
Reimplemented from HTMLPurifier_HTMLModule.
Definition at line 23 of file Text.php.
References HTMLPurifier_HTMLModule::addElement(), and HTMLPurifier_HTMLModule::makeLookup().
HTMLPurifier_HTMLModule_Text::setup | ( | $ | config | ) |
Lazy load construction of the module after determining whether or not it's needed, and also when a finalized configuration object is available.
$config | Instance of HTMLPurifier_Config |
Reimplemented from HTMLPurifier_HTMLModule.
Definition at line 13475 of file HTMLPurifier.standalone.php.
References HTMLPurifier_HTMLModule::addElement(), and HTMLPurifier_HTMLModule::makeLookup().
HTMLPurifier_HTMLModule_Text::$content_sets |
array( 'Flow' => 'Heading | Block | Inline' )
Associative array of content set names to content set additions.
This is commonly used to, say, add an A element to the Inline content set. This corresponds to an internal variable $content_sets and NOT info_content_sets member variable of HTMLDefinition.
Reimplemented from HTMLPurifier_HTMLModule.
HTMLPurifier_HTMLModule_Text::$name = 'Text' |
Short unique string identifier of the module.
Reimplemented from HTMLPurifier_HTMLModule.