[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/htmlpurifier/library/HTMLPurifier/HTMLModule/ -> Tidy.php (summary)

(no description)

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

Defines 1 class

HTMLPurifier_HTMLModule_Tidy:: (6 methods):
  setup()
  getFixesForLevel()
  makeFixesForLevel()
  populate()
  getFixType()
  makeFixes()


Class: HTMLPurifier_HTMLModule_Tidy  - X-Ref

Abstract class for a set of proprietary modules that clean up (tidy)
poorly written HTML.

setup($config)   X-Ref
Lazy load constructs the module by determining the necessary
fixes to create and then delegating to the populate() function.


getFixesForLevel($level)   X-Ref
Retrieves all fixes per a level, returning fixes for that specific
level as well as all levels below it.

param: $level String level identifier, see $levels for valid values
return: Lookup up table of fixes

makeFixesForLevel($fixes)   X-Ref
Dynamically populates the $fixesForLevel member variable using
the fixes array. It may be custom overloaded, used in conjunction
with $defaultLevel, or not used at all.


populate($fixes)   X-Ref
Populates the module with transforms and other special-case code
based on a list of fixes passed to it

param: $lookup Lookup table of fixes to activate

getFixType($name)   X-Ref
Parses a fix name and determines what kind of fix it is, as well
as other information defined by the fix

param: $name String name of fix
return: array(string $fix_type, array $fix_parameters)

makeFixes()   X-Ref
Defines all fixes the module will perform in a compact
associative array of fix name to fix implementation.




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