API - XOOPS 2.5.11 Beta 2
By monxoops.fr
HTMLPurifier_AttrDef_URI Class Reference
Inheritance diagram for HTMLPurifier_AttrDef_URI:
Collaboration diagram for HTMLPurifier_AttrDef_URI:

Public Member Functions

 __construct ($embeds_resource=false)
 
 make ($string)
 
 validate ($uri, $config, $context)
 
- Public Member Functions inherited from HTMLPurifier_AttrDef
 validate ($string, $config, $context)
 
 parseCDATA ($string)
 
 make ($string)
 

Protected Attributes

 $parser
 
 $embedsResource
 

Additional Inherited Members

- Data Fields inherited from HTMLPurifier_AttrDef
 $minimized = false
 
 $required = false
 
- Protected Member Functions inherited from HTMLPurifier_AttrDef
 mungeRgb ($string)
 
 expandCSSEscape ($string)
 

Detailed Description

Validates a URI as defined by RFC 3986.

Note
Scheme-specific mechanics deferred to HTMLPurifier_URIScheme

Constructor & Destructor Documentation

◆ __construct()

__construct (   $embeds_resource = false)
Parameters
bool$embeds_resourceDoes the URI here result in an extra HTTP request?

Member Function Documentation

◆ make()

make (   $string)
Parameters
string$string
Returns
HTMLPurifier_AttrDef_URI

Reimplemented from HTMLPurifier_AttrDef.

◆ validate()

validate (   $uri,
  $config,
  $context 
)
Parameters
string$uri
HTMLPurifier_Config$config
HTMLPurifier_Context$context
Returns
bool|string

Reimplemented from HTMLPurifier_AttrDef.

Reimplemented in HTMLPurifier_AttrDef_CSS_URI.

Here is the call graph for this function:

Field Documentation

◆ $embedsResource

$embedsResource
protected

@type bool

◆ $parser

$parser
protected

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