HTMLPurifier 4.4.0
|
Injector that converts http, https and ftp text URLs to actual links. More...
Public Member Functions | |
handleText (&$token) | |
Handler that is called when a text token is processed. | |
handleText (&$token) | |
Handler that is called when a text token is processed. | |
Public Attributes | |
$name = 'Linkify' | |
Advisory name of injector, this is for friendly error messages. | |
$needed = array('a' => array('href')) | |
Array of elements and attributes this injector creates and therefore need to be allowed by the definition. |
Injector that converts http, https and ftp text URLs to actual links.
Definition at line 6 of file Linkify.php.
HTMLPurifier_Injector_Linkify::handleText | ( | &$ | token | ) |
Handler that is called when a text token is processed.
Reimplemented from HTMLPurifier_Injector.
Definition at line 12 of file Linkify.php.
References HTMLPurifier_Injector::allowsElement().
HTMLPurifier_Injector_Linkify::handleText | ( | &$ | token | ) |
Handler that is called when a text token is processed.
Reimplemented from HTMLPurifier_Injector.
Definition at line 14394 of file HTMLPurifier.standalone.php.
References HTMLPurifier_Injector::allowsElement().
HTMLPurifier_Injector_Linkify::$name = 'Linkify' |
Advisory name of injector, this is for friendly error messages.
Reimplemented from HTMLPurifier_Injector.
Definition at line 9 of file Linkify.php.
HTMLPurifier_Injector_Linkify::$needed = array('a' => array('href')) |
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 Linkify.php.