Method |
Description |
|
getFixType ( $name ) : array(string |
Parses a fix name and determines what kind of fix it is, as well
as other information defined by the fix |
|
getFixesForLevel ( string $level ) : array |
Retrieves all fixes per a level, returning fixes for that specific
level as well as all levels below it. |
|
makeFixes ( ) : array |
Defines all fixes the module will perform in a compact
associative array of fix name to fix implementation. |
|
makeFixesForLevel ( array $fixes ) |
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 ( array $fixes ) |
Populates the module with transforms and other special-case code
based on a list of fixes passed to it |
|
setup ( HTMLPurifier_Config $config ) |
Lazy load constructs the module by determining the necessary
fixes to create and then delegating to the populate() function. |
|