HTMLPurifier 4.4.0
HTMLPurifier_AttrDef_HTML_FrameTarget Class Reference

Special-case enum attribute definition that lazy loads allowed frame targets. More...

Inheritance diagram for HTMLPurifier_AttrDef_HTML_FrameTarget:
HTMLPurifier_AttrDef_Enum HTMLPurifier_AttrDef_Enum HTMLPurifier_AttrDef HTMLPurifier_AttrDef HTMLPurifier_AttrDef HTMLPurifier_AttrDef

List of all members.

Public Member Functions

 __construct ()
 validate ($string, $config, $context)
 Validates and cleans passed string according to a definition.
 __construct ()
 validate ($string, $config, $context)
 Validates and cleans passed string according to a definition.

Public Attributes

 $valid_values = false
 Lookup table of valid values.

Protected Attributes

 $case_sensitive = false
 Bool indicating whether or not enumeration is case sensitive.

Detailed Description

Special-case enum attribute definition that lazy loads allowed frame targets.

Definition at line 6 of file FrameTarget.php.


Constructor & Destructor Documentation

HTMLPurifier_AttrDef_HTML_FrameTarget::__construct ( )

Definition at line 12 of file FrameTarget.php.

HTMLPurifier_AttrDef_HTML_FrameTarget::__construct ( )

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


Member Function Documentation

HTMLPurifier_AttrDef_HTML_FrameTarget::validate ( string,
config,
context 
)

Validates and cleans passed string according to a definition.

Parameters:
$stringString to be validated and cleaned.
$configMandatory HTMLPurifier_Config object.
$contextMandatory HTMLPurifier_AttrContext object.

Reimplemented from HTMLPurifier_AttrDef_Enum.

Definition at line 14 of file FrameTarget.php.

References $config.

Referenced by validate().

HTMLPurifier_AttrDef_HTML_FrameTarget::validate ( string,
config,
context 
)

Validates and cleans passed string according to a definition.

Parameters:
$stringString to be validated and cleaned.
$configMandatory HTMLPurifier_Config object.
$contextMandatory HTMLPurifier_AttrContext object.

Reimplemented from HTMLPurifier_AttrDef_Enum.

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

References $config, and validate().


Member Data Documentation

HTMLPurifier_AttrDef_HTML_FrameTarget::$case_sensitive = false [protected]

Bool indicating whether or not enumeration is case sensitive.

Note:
In general this is always case insensitive.

Reimplemented from HTMLPurifier_AttrDef_Enum.

Definition at line 10 of file FrameTarget.php.

HTMLPurifier_AttrDef_HTML_FrameTarget::$valid_values = false

Lookup table of valid values.

Todo:
Make protected
Todo:
Make protected

Reimplemented from HTMLPurifier_AttrDef_Enum.

Definition at line 9 of file FrameTarget.php.


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