Cheetah
All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Protected Attributes | List of all members
HTMLPurifier_AttrDef_URI Class Reference
Inheritance diagram for HTMLPurifier_AttrDef_URI:
HTMLPurifier_AttrDef HTMLPurifier_AttrDef_CSS_URI

Public Member Functions

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

Protected Attributes

 $parser
 
 $embedsResource
 

Additional Inherited Members

- Public Attributes 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

Definition at line 10817 of file HTMLPurifier.standalone.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 10833 of file HTMLPurifier.standalone.php.

Member Function Documentation

◆ make()

HTMLPurifier_AttrDef_URI::make (   $string)
Parameters
string$string
Returns
HTMLPurifier_AttrDef_URI

Reimplemented from HTMLPurifier_AttrDef.

Definition at line 10843 of file HTMLPurifier.standalone.php.

◆ validate()

HTMLPurifier_AttrDef_URI::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.

Definition at line 10855 of file HTMLPurifier.standalone.php.

Member Data Documentation

◆ $embedsResource

HTMLPurifier_AttrDef_URI::$embedsResource
protected

@type bool

Definition at line 10828 of file HTMLPurifier.standalone.php.

◆ $parser

HTMLPurifier_AttrDef_URI::$parser
protected

@type HTMLPurifier_URIParser

Definition at line 10823 of file HTMLPurifier.standalone.php.


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