library/HTMLPurifier/AttrDef/HTML/FrameTarget.php

Go to the documentation of this file.
00001 <?php
00002 
00006 class HTMLPurifier_AttrDef_HTML_FrameTarget extends HTMLPurifier_AttrDef_Enum
00007 {
00008     
00009     public $valid_values = false; // uninitialized value
00010     protected $case_sensitive = false;
00011     
00012     public function __construct() {}
00013     
00014     public function validate($string, $config, $context) {
00015         if ($this->valid_values === false) $this->valid_values = $config->get('Attr', 'AllowedFrameTargets');
00016         return parent::validate($string, $config, $context);
00017     }
00018     
00019 }
00020 

Generated on Thu Jun 19 18:47:25 2008 for HTMLPurifier by  doxygen 1.5.3