ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
enshrined\svgSanitize\data\AllowedAttributes Class Reference
+ Inheritance diagram for enshrined\svgSanitize\data\AllowedAttributes:
+ Collaboration diagram for enshrined\svgSanitize\data\AllowedAttributes:

Static Public Member Functions

static getAttributes ()
 Returns an array of attributes. More...
 

Detailed Description

Definition at line 12 of file AllowedAttributes.php.

Member Function Documentation

◆ getAttributes()

static enshrined\svgSanitize\data\AllowedAttributes::getAttributes ( )
static

Returns an array of attributes.

Returns
array

Implements enshrined\svgSanitize\data\AttributeInterface.

Definition at line 20 of file AllowedAttributes.php.

References array.

Referenced by enshrined\svgSanitize\Sanitizer\__construct().

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  }
Create styles array
The data for the language used.
+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: