HTMLPurifier 4.4.0
/home/ezyang/Dev/htmlpurifier/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 
00021 // vim: et sw=4 sts=4