ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
AllowedAttributes.php
Go to the documentation of this file.
1
<?
php
2
3
4
namespace
enshrined\svgSanitize\data
;
5
6
12
class
AllowedAttributes
implements
AttributeInterface
13
{
14
20
public
static
function
getAttributes
()
21
{
22
return
array(
23
// HTML
24
'accept'
,
'action'
,
'align'
,
'alt'
,
'autocomplete'
,
'background'
,
'bgcolor'
,
25
'border'
,
'cellpadding'
,
'cellspacing'
,
'checked'
,
'cite'
,
'class'
,
'clear'
,
'color'
,
26
'cols'
,
'colspan'
,
'coords'
,
'datetime'
,
'default'
,
'dir'
,
'disabled'
,
27
'download'
,
'enctype'
,
'face'
,
'for'
,
'headers'
,
'height'
,
'hidden'
,
'high'
,
'href'
,
28
'hreflang'
,
'id'
,
'ismap'
,
'label'
,
'lang'
,
'list'
,
'loop'
,
'low'
,
'max'
,
29
'maxlength'
,
'media'
,
'method'
,
'min'
,
'multiple'
,
'name'
,
'noshade'
,
'novalidate'
,
30
'nowrap'
,
'open'
,
'optimum'
,
'pattern'
,
'placeholder'
,
'poster'
,
'preload'
,
'pubdate'
,
31
'radiogroup'
,
'readonly'
,
'rel'
,
'required'
,
'rev'
,
'reversed'
,
'rows'
,
32
'rowspan'
,
'spellcheck'
,
'scope'
,
'selected'
,
'shape'
,
'size'
,
'span'
,
33
'srclang'
,
'start'
,
'src'
,
'step'
,
'style'
,
'summary'
,
'tabindex'
,
'title'
,
34
'type'
,
'usemap'
,
'valign'
,
'value'
,
'width'
,
'xmlns'
,
35
36
// SVG
37
'accent-height'
,
'accumulate'
,
'additivive'
,
'alignment-baseline'
,
38
'ascent'
,
'azimuth'
,
'baseline-shift'
,
'bias'
,
'clip'
,
'clip-path'
,
39
'clip-rule'
,
'color'
,
'color-interpolation'
,
'color-interpolation-filters'
,
40
'color-profile'
,
'color-rendering'
,
'cx'
,
'cy'
,
'd'
,
'dy'
,
'dy'
,
'direction'
,
41
'display'
,
'divisor'
,
'dur'
,
'elevation'
,
'end'
,
'fill'
,
'fill-opacity'
,
42
'fill-rule'
,
'filter'
,
'flood-color'
,
'flood-opacity'
,
'font-family'
,
43
'font-size'
,
'font-size-adjust'
,
'font-stretch'
,
'font-style'
,
'font-variant'
,
44
'font-weight'
,
'image-rendering'
,
'in'
,
'in2'
,
'k1'
,
'k2'
,
'k3'
,
'k4'
,
'kerning'
,
45
'letter-spacing'
,
'lighting-color'
,
'local'
,
'marker-end'
,
'marker-mid'
,
46
'marker-start'
,
'max'
,
'mask'
,
'mode'
,
'min'
,
'offset'
,
'operator'
,
'opacity'
,
47
'order'
,
'orient'
,
'overflow'
,
'paint-order'
,
'path'
,
'points'
,
'r'
,
'rx'
,
'ry'
,
'radius'
,
48
'restart'
,
'scale'
,
'seed'
,
'shape-rendering'
,
'stop-color'
,
'stop-opacity'
,
49
'stroke-dasharray'
,
'stroke-dashoffset'
,
'stroke-linecap'
,
'stroke-linejoin'
,
50
'stroke-miterlimit'
,
'stroke-opacity'
,
'stroke'
,
'stroke-width'
,
'transform'
,
51
'text-anchor'
,
'text-decoration'
,
'text-rendering'
,
'u1'
,
'u2'
,
'viewbox'
,
52
'visibility'
,
'word-spacing'
,
'wrap'
,
'writing-mode'
,
'x'
,
'x1'
,
'x2'
,
'y'
,
53
'y1'
,
'y2'
,
'z'
,
54
55
// MathML
56
'accent'
,
'accentunder'
,
'bevelled'
,
'close'
,
'columnsalign'
,
'columnlines'
,
57
'columnspan'
,
'denomalign'
,
'depth'
,
'display'
,
'displaystyle'
,
'fence'
,
58
'frame'
,
'largeop'
,
'length'
,
'linethickness'
,
'lspace'
,
'lquote'
,
59
'mathbackground'
,
'mathcolor'
,
'mathsize'
,
'mathvariant'
,
'maxsize'
,
60
'minsize'
,
'movablelimits'
,
'notation'
,
'numalign'
,
'open'
,
'rowalign'
,
61
'rowlines'
,
'rowspacing'
,
'rowspan'
,
'rspace'
,
'rquote'
,
'scriptlevel'
,
62
'scriptminsize'
,
'scriptsizemultiplier'
,
'selection'
,
'separator'
,
63
'separators'
,
'stretchy'
,
'subscriptshift'
,
'supscriptshift'
,
'symmetric'
,
64
'voffset'
,
65
66
// XML
67
'xlink:href'
,
'xml:id'
,
'xlink:title'
,
'xml:space'
,
68
69
70
// Camel Case
71
"allowreorder"
,
"attributename"
,
"attributetype"
,
"autoreverse"
,
"basefrequency"
,
72
"baseprofile"
,
"calcmode"
,
"clippathunits"
,
"contentscripttype"
,
"contentstyletype"
,
73
"diffuseconstant"
,
"edgemode"
,
"externalresourcesrequired"
,
"filterres"
,
74
"filterunits"
,
"glyphref"
,
"gradienttransform"
,
"gradientunits"
,
"kernelmatrix"
,
75
"kernelunitlength"
,
"keypoints"
,
"keysplines"
,
"keytimes"
,
"lengthadjust"
,
76
"limitingconeangle"
,
"markerheight"
,
"markerunits"
,
"markerwidth"
,
"maskcontentunits"
,
77
"maskunits"
,
"numoctaves"
,
"pathlength"
,
"patterncontentunits"
,
"patterntransform"
,
78
"patternunits"
,
"pointsatx"
,
"pointsaty"
,
"pointsatz"
,
"preservealpha"
,
79
"preserveaspectratio"
,
"primitiveunits"
,
"refx"
,
"refy"
,
"repeatcount"
,
80
"repeatdur"
,
"requiredextensions"
,
"requiredfeatures"
,
"specularconstant"
,
81
"specularexponent"
,
"spreadmethod"
,
"startoffset"
,
"stddeviation"
,
"stitchtiles"
,
82
"surfacescale"
,
"systemlanguage"
,
"tablevalues"
,
"targetx"
,
"targety"
,
"textlength"
,
83
"viewbox"
,
"viewtarget"
,
"xchannelselector"
,
"ychannelselector"
,
"zoomandpan"
,
84
);
85
}
86
}
php
An exception for terminatinating execution or to throw for unit testing.
enshrined\svgSanitize\data\AllowedAttributes
Definition:
AllowedAttributes.php:13
enshrined\svgSanitize\data\AllowedAttributes\getAttributes
static getAttributes()
Returns an array of attributes.
Definition:
AllowedAttributes.php:20
enshrined\svgSanitize\data\AttributeInterface
Definition:
AttributeInterface.php:13
enshrined\svgSanitize\data
Definition:
AllowedAttributes.php:4
Services
MediaObjects
lib
svg-sanitizer-master
src
data
AllowedAttributes.php
Generated on Fri Oct 3 2025 19:01:00 for ILIAS by
1.9.4 (using
Doxyfile
)