HTMLPurifier 4.4.0
HTMLPurifier_Injector_DisplayLinkURI Class Reference

Injector that displays the URL of an anchor instead of linking to it, in addition to showing the text of the link. More...

Inheritance diagram for HTMLPurifier_Injector_DisplayLinkURI:
HTMLPurifier_Injector HTMLPurifier_Injector

List of all members.

Public Member Functions

 handleElement (&$token)
 Handler that is called when a start or empty token is processed.
 handleEnd (&$token)
 Handler that is called when an end token is processed.
 handleElement (&$token)
 Handler that is called when a start or empty token is processed.
 handleEnd (&$token)
 Handler that is called when an end token is processed.

Public Attributes

 $name = 'DisplayLinkURI'
 Advisory name of injector, this is for friendly error messages.
 $needed = array('a')
 Array of elements and attributes this injector creates and therefore need to be allowed by the definition.

Detailed Description

Injector that displays the URL of an anchor instead of linking to it, in addition to showing the text of the link.

Definition at line 6 of file DisplayLinkURI.php.


Member Function Documentation

HTMLPurifier_Injector_DisplayLinkURI::handleElement ( &$  token)

Handler that is called when a start or empty token is processed.

Reimplemented from HTMLPurifier_Injector.

Definition at line 12 of file DisplayLinkURI.php.

HTMLPurifier_Injector_DisplayLinkURI::handleElement ( &$  token)

Handler that is called when a start or empty token is processed.

Reimplemented from HTMLPurifier_Injector.

Definition at line 14367 of file HTMLPurifier.standalone.php.

HTMLPurifier_Injector_DisplayLinkURI::handleEnd ( &$  token)

Handler that is called when an end token is processed.

Reimplemented from HTMLPurifier_Injector.

Definition at line 14370 of file HTMLPurifier.standalone.php.

HTMLPurifier_Injector_DisplayLinkURI::handleEnd ( &$  token)

Handler that is called when an end token is processed.

Reimplemented from HTMLPurifier_Injector.

Definition at line 15 of file DisplayLinkURI.php.


Member Data Documentation

HTMLPurifier_Injector_DisplayLinkURI::$name = 'DisplayLinkURI'

Advisory name of injector, this is for friendly error messages.

Reimplemented from HTMLPurifier_Injector.

Definition at line 9 of file DisplayLinkURI.php.

HTMLPurifier_Injector_DisplayLinkURI::$needed = array('a')

Array of elements and attributes this injector creates and therefore need to be allowed by the definition.

Takes form of array('element' => array('attr', 'attr2'), 'element2')

Reimplemented from HTMLPurifier_Injector.

Definition at line 10 of file DisplayLinkURI.php.


The documentation for this class was generated from the following files: