|
HTMLPurifier 4.4.0
|
Public Member Functions | |
| preFilter ($html, $config, $context) | |
| Pre-processor function, handles HTML before HTML Purifier. | |
| postFilter ($html, $config, $context) | |
| Post-processor function, handles HTML after HTML Purifier. | |
Public Attributes | |
| $name = 'YouTube' | |
| Name of the filter for identification purposes. | |
Protected Member Functions | |
| armorUrl ($url) | |
| postFilterCallback ($matches) | |
Definition at line 3 of file YouTube.php.
| HTMLPurifier_Filter_YouTube::armorUrl | ( | $ | url | ) | [protected] |
Definition at line 20 of file YouTube.php.
Referenced by postFilterCallback().
| HTMLPurifier_Filter_YouTube::postFilter | ( | $ | html, |
| $ | config, | ||
| $ | context | ||
| ) |
Post-processor function, handles HTML after HTML Purifier.
Reimplemented from HTMLPurifier_Filter.
Definition at line 15 of file YouTube.php.
References $html.
| HTMLPurifier_Filter_YouTube::postFilterCallback | ( | $ | matches | ) | [protected] |
Definition at line 24 of file YouTube.php.
References armorUrl().
| HTMLPurifier_Filter_YouTube::preFilter | ( | $ | html, |
| $ | config, | ||
| $ | context | ||
| ) |
Pre-processor function, handles HTML before HTML Purifier.
Reimplemented from HTMLPurifier_Filter.
Definition at line 8 of file YouTube.php.
References $html.
| HTMLPurifier_Filter_YouTube::$name = 'YouTube' |
Name of the filter for identification purposes.
Reimplemented from HTMLPurifier_Filter.
Definition at line 6 of file YouTube.php.