HTMLPurifier 4.4.0
|
00001 <?php 00002 00008 class HTMLPurifier_HTMLModule_Object extends HTMLPurifier_HTMLModule 00009 { 00010 00011 public $name = 'Object'; 00012 public $safe = false; 00013 00014 public function setup($config) { 00015 00016 $this->addElement('object', 'Inline', 'Optional: #PCDATA | Flow | param', 'Common', 00017 array( 00018 'archive' => 'URI', 00019 'classid' => 'URI', 00020 'codebase' => 'URI', 00021 'codetype' => 'Text', 00022 'data' => 'URI', 00023 'declare' => 'Bool#declare', 00024 'height' => 'Length', 00025 'name' => 'CDATA', 00026 'standby' => 'Text', 00027 'tabindex' => 'Number', 00028 'type' => 'ContentType', 00029 'width' => 'Length' 00030 ) 00031 ); 00032 00033 $this->addElement('param', false, 'Empty', false, 00034 array( 00035 'id' => 'ID', 00036 'name*' => 'Text', 00037 'type' => 'Text', 00038 'value' => 'Text', 00039 'valuetype' => 'Enum#data,ref,object' 00040 ) 00041 ); 00042 00043 } 00044 00045 } 00046 00047 // vim: et sw=4 sts=4