4 * XHTML 1.1 Object Module, defines elements for generic object inclusion
5 * @warning Users will commonly use <embed> to cater to legacy browsers: this
6 * module does not allow this sort of behavior
8 class HTMLPurifier_HTMLModule_Object
extends HTMLPurifier_HTMLModule
11 public $name = 'Object';
14 public function setup($config) {
16 $this->addElement('object', 'Inline', 'Optional: #PCDATA | Flow | param', 'Common',
23 'declare' => 'Bool#declare',
27 'tabindex' => 'Number',
28 'type' => 'ContentType',
33 $this->addElement('param', false, 'Empty', false,
39 'valuetype' => 'Enum#data,ref,object'