![]() |
XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
Graphe d'héritage de HTMLPurifier_Filter_ExtractStyleBlocks:
Graphe de collaboration de HTMLPurifier_Filter_ExtractStyleBlocks:Fonctions membres publiques | |
| __construct () | |
| preFilter ($html, $config, $context) | |
| cleanCSS ($css, $config, $context) | |
Fonctions membres publiques hérités de HTMLPurifier_Filter | |
| postFilter ($html, $config, $context) | |
Champs de données | |
| $name = 'ExtractStyleBlocks' | |
Champs de données hérités de HTMLPurifier_Filter | |
| $name | |
Fonctions membres protégées | |
| styleCallback ($matches) | |
Attributs privés | |
| $_styleMatches = array() | |
| $_tidy | |
| $_id_attrdef | |
| $_class_attrdef | |
| $_enum_attrdef | |
This filter extracts <style> blocks from input HTML, cleans them up using CSSTidy, and then places them in $purifier->context->get('StyleBlocks') so they can be used elsewhere in the document.
| __construct | ( | ) |
| cleanCSS | ( | $css, | |
| $config, | |||
| $context | |||
| ) |
Takes CSS (the stuff found in <style>) and cleans it.
| string | $css | CSS styling to clean |
| HTMLPurifier_Config | $config | |
| HTMLPurifier_Context | $context |
| HTMLPurifier_Exception |
Voici le graphe des appelants de cette fonction :| preFilter | ( | $html, | |
| $config, | |||
| $context | |||
| ) |
Removes inline <style> tags from HTML, saves them for later use
| string | $html | |
| HTMLPurifier_Config | $config | |
| HTMLPurifier_Context | $context |
Réimplémentée à partir de HTMLPurifier_Filter.
Voici le graphe d'appel pour cette fonction :
|
protected |
Save the contents of CSS blocks to style matches
| array | $matches | preg_replace style $matches array |
|
private |
|
private |
|
private |
|
private |
@type array
|
private |
@type csstidy
| $name = 'ExtractStyleBlocks' |
@type string