[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/htmlpurifier/library/HTMLPurifier/Injector/ -> AutoParagraph.php (summary)

(no description)

File Size: 340 lines (13 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

HTMLPurifier_Injector_AutoParagraph:: (7 methods):
  _pStart()
  handleText()
  handleElement()
  _splitText()
  _isInline()
  _pLookAhead()
  _checkNeedsP()


Class: HTMLPurifier_Injector_AutoParagraph  - X-Ref

Injector that auto paragraphs text in the root node based on
double-spacing.

_pStart()   X-Ref
No description

handleText(&$token)   X-Ref
No description

handleElement(&$token)   X-Ref
No description

_splitText($data, &$result)   X-Ref
Splits up a text in paragraph tokens and appends them
to the result stream that will replace the original

param: $data String text data that will be processed
param: $result Reference to array of tokens that the
param: $config Instance of HTMLPurifier_Config
param: $context Instance of HTMLPurifier_Context

_isInline($token)   X-Ref
Returns true if passed token is inline (and, ergo, allowed in
paragraph tags)


_pLookAhead()   X-Ref
Looks ahead in the token list and determines whether or not we need
to insert a <p> tag.


_checkNeedsP($current)   X-Ref
Determines if a particular token requires an earlier inline token
to get a paragraph. This should be used with _forwardUntilEndToken




Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1