Retrieves a definition
public getDefinition ( string $type, boolean $raw = false, boolean $optimized = false ) : HTMLPurifier_Definition | ||
$type | string | Type of definition: HTML, CSS, etc |
$raw | boolean | Whether or not definition should be returned raw |
$optimized | boolean | Only has an effect when $raw is true. Whether or not to return null if the result is already present in the cache. This is off by default for backwards compatibility reasons, but you need to do things this way in order to ensure that caching is done properly. Check out enduser-customize.html for more details. We probably won't ever change this default, as much as the maybe semantics is the "right thing to do." |
Résultat | HTMLPurifier_Definition |