Class HTMLPurifier_AttrDef_URI
Validates a URI as defined by RFC 3986.
-
HTMLPurifier_AttrDef
-
HTMLPurifier_AttrDef_URI
Methods summary
public
|
#
__construct( $embeds_resource_resource $embeds_resource = false )
Parameters
- $embeds_resource
$embeds_resource_resource Does the URI here result in an extra HTTP request?
|
public
Created
|
#
make( $string $string )
Factory method for creating this class from a string.
Factory method for creating this class from a string.
Parameters
- $string
$string String construction info
Returns
Created AttrDef object corresponding to $string
Overrides
|
public
|
#
validate( $string $uri, $config $config, $context $context )
Validates and cleans passed string according to a definition.
Validates and cleans passed string according to a definition.
Parameters
- $uri
$string String to be validated and cleaned.
- $config
$config Mandatory HTMLPurifier_Config object.
- $context
$context Mandatory HTMLPurifier_AttrContext object.
|