XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
HTMLPurifier_AttrDef_HTML_LinkTypes Class Reference
Inheritance diagram for HTMLPurifier_AttrDef_HTML_LinkTypes:
Inheritance graph

Public Member Functions

 __construct ($name)
 
 validate ($string, $config, $context)
 
- Public Member Functions inherited from HTMLPurifier_AttrDef
 make ($string)
 
 parseCDATA ($string)
 
 validate ($string, $config, $context)
 

Protected Attributes

 $name
 

Additional Inherited Members

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

Detailed Description

Validates a rel/rev link attribute against a directive of allowed values

Note
We cannot use Enum because link types allow multiple values.
Assumes link types are ASCII text

Definition at line 9 of file LinkTypes.php.

Constructor & Destructor Documentation

HTMLPurifier_AttrDef_HTML_LinkTypes::__construct (   $name)

Definition at line 15 of file LinkTypes.php.

References $name.

Member Function Documentation

HTMLPurifier_AttrDef_HTML_LinkTypes::validate (   $string,
  $config,
  $context 
)

Definition at line 28 of file LinkTypes.php.

References $allowed, $config, and HTMLPurifier_AttrDef\parseCDATA().

Here is the call graph for this function:

Member Data Documentation

HTMLPurifier_AttrDef_HTML_LinkTypes::$name
protected

Name config attribute to pull.

Definition at line 13 of file LinkTypes.php.

Referenced by __construct().


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