Moodle  2.2.1
http://www.collinsharper.com
HTMLPurifier_Injector_Linkify Class Reference
Inheritance diagram for HTMLPurifier_Injector_Linkify:
Collaboration diagram for HTMLPurifier_Injector_Linkify:

Public Member Functions

 handleText (&$token)

Data Fields

 $name = 'Linkify'
 $needed = array('a' => array('href'))

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

handleText ( &$  token)

Handler that is called when a text token is processed

Reimplemented from HTMLPurifier_Injector.

Definition at line 12 of file Linkify.php.

Here is the call graph for this function:


Field Documentation

$name = 'Linkify'

Advisory name of injector, this is for friendly error messages

Reimplemented from HTMLPurifier_Injector.

Definition at line 9 of file Linkify.php.

$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 file:
 All Data Structures Namespaces Files Functions Variables Enumerations