HTMLPurifier 4.4.0
HTMLPurifier_Injector_Linkify Class Reference

Injector that converts http, https and ftp text URLs to actual links. More...

Inheritance diagram for HTMLPurifier_Injector_Linkify:
HTMLPurifier_Injector HTMLPurifier_Injector

List of all members.

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.

Detailed Description

Injector that converts http, https and ftp text URLs to actual links.

Definition at line 6 of file Linkify.php.


Member Function Documentation

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().


Member Data Documentation

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.


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