Class HTMLPurifier_Injector_PurifierLinkify

Description

Injector that converts configuration directive syntax %Namespace.Directive

to links

Located in /lib/core/Parsers/htmlpurifier/HTMLPurifier.standalone.php (line 13293)

HTMLPurifier_Injector
   |
   --HTMLPurifier_Injector_PurifierLinkify
Variable Summary
mixed $docURL
mixed $name
mixed $needed
Method Summary
void handleText ( &$token)
void prepare ( $config,  $context)
Variables
mixed $docURL (line 13297)
  • access: public
mixed $name = 'PurifierLinkify' (line 13296)
  • access: public

Redefinition of:
HTMLPurifier_Injector::$name
Advisory name of injector, this is for friendly error messages
mixed $needed = array('a' => array('href')) (line 13298)
  • access: public

Redefinition of:
HTMLPurifier_Injector::$needed
Array of elements and attributes this injector creates and therefore

Inherited Variables

Inherited from HTMLPurifier_Injector

HTMLPurifier_Injector::$currentNesting
HTMLPurifier_Injector::$htmlDefinition
HTMLPurifier_Injector::$inputIndex
HTMLPurifier_Injector::$inputTokens
HTMLPurifier_Injector::$rewind
Methods
handleText (line 13305)
  • access: public
void handleText ( &$token)
  • &$token

Redefinition of:
HTMLPurifier_Injector::handleText()
Handler that is called when a text token is processed
prepare (line 13300)
  • access: public
void prepare ( $config,  $context)
  • $config
  • $context

Redefinition of:
HTMLPurifier_Injector::prepare()
Prepares the injector by giving it the config and context objects: this allows references to important variables to be made within the injector. This function also checks if the HTML environment will work with the Injector (see checkNeeded()).

Inherited Methods

Inherited From HTMLPurifier_Injector

HTMLPurifier_Injector::allowsElement()
HTMLPurifier_Injector::backward()
HTMLPurifier_Injector::checkNeeded()
HTMLPurifier_Injector::current()
HTMLPurifier_Injector::forward()
HTMLPurifier_Injector::forwardUntilEndToken()
HTMLPurifier_Injector::getRewind()
HTMLPurifier_Injector::handleElement()
HTMLPurifier_Injector::handleEnd()
HTMLPurifier_Injector::handleText()
HTMLPurifier_Injector::notifyEnd()
HTMLPurifier_Injector::prepare()
HTMLPurifier_Injector::rewind()

Documentation generated on Sun, 06 Mar 2011 00:24:09 -0500 by phpDocumentor 1.4.3