HTMLPurifier 4.4.0
HTMLPurifier_Filter_YouTube Class Reference
Inheritance diagram for HTMLPurifier_Filter_YouTube:
HTMLPurifier_Filter

List of all members.

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)

Detailed Description

Definition at line 3 of file YouTube.php.


Member Function Documentation

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.


Member Data Documentation

HTMLPurifier_Filter_YouTube::$name = 'YouTube'

Name of the filter for identification purposes.

Reimplemented from HTMLPurifier_Filter.

Definition at line 6 of file YouTube.php.


The documentation for this class was generated from the following file: