ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
Object.php
Go to the documentation of this file.
1
<?
php
2
8
class
HTMLPurifier_HTMLModule_Object
extends
HTMLPurifier_HTMLModule
9
{
13
public
$name
=
'Object'
;
14
18
public
$safe
=
false
;
19
23
public
function
setup
(
$config
)
24
{
25
$this->
addElement
(
26
'object'
,
27
'Inline'
,
28
'Optional: #PCDATA | Flow | param'
,
29
'Common'
,
30
array(
31
'archive'
=>
'URI'
,
32
'classid'
=>
'URI'
,
33
'codebase'
=>
'URI'
,
34
'codetype'
=>
'Text'
,
35
'data'
=>
'URI'
,
36
'declare'
=>
'Bool#declare'
,
37
'height'
=>
'Length'
,
38
'name'
=>
'CDATA'
,
39
'standby'
=>
'Text'
,
40
'tabindex'
=>
'Number'
,
41
'type'
=>
'ContentType'
,
42
'width'
=>
'Length'
43
)
44
);
45
46
$this->
addElement
(
47
'param'
,
48
false
,
49
'Empty'
,
50
null,
51
array(
52
'id'
=>
'ID'
,
53
'name*'
=>
'Text'
,
54
'type'
=>
'Text'
,
55
'value'
=>
'Text'
,
56
'valuetype'
=>
'Enum#data,ref,object'
57
)
58
);
59
}
60
}
61
62
// vim: et sw=4 sts=4
HTMLPurifier_HTMLModule_Object\setup
setup($config)
Definition:
Object.php:23
$config
$config
Definition:
bootstrap.php:15
HTMLPurifier_HTMLModule_Object\$name
$name
string
Definition:
Object.php:13
HTMLPurifier_HTMLModule_Object
XHTML 1.1 Object Module, defines elements for generic object inclusion.
Definition:
Object.php:8
HTMLPurifier_HTMLModule\addElement
addElement($element, $type, $contents, $attr_includes=array(), $attr=array())
Convenience function that sets up a new element.
Definition:
HTMLModule.php:144
HTMLPurifier_HTMLModule_Object\$safe
$safe
bool
Definition:
Object.php:18
HTMLPurifier_HTMLModule
Represents an XHTML 1.1 module, with information on elements, tags and attributes.
Definition:
HTMLModule.php:18
php
libs
composer
vendor
ezyang
htmlpurifier
library
HTMLPurifier
HTMLModule
Object.php
Generated on Thu Jan 30 2025 19:01:16 for ILIAS by
1.8.13 (using
Doxyfile
)