Parent Directory | Revision Log
1 | <?php |
2 | /** |
3 | * This file contains all of the default |
4 | * support svg tags by phpHtmlLib. |
5 | * |
6 | * $Id: SVGTAGS.inc,v 1.5 2002/11/07 01:26:24 hemna Exp $ |
7 | * |
8 | * @author Walter A. Boring IV <waboring@buildabetterweb.com> |
9 | * @package phpHtmlLib |
10 | * @link http://phphtmllib.newsblob.com |
11 | */ |
12 | |
13 | /** |
14 | * This overrides the WMLTagClass to |
15 | * define some methods that set |
16 | * some commonly used SVG tag attributes. |
17 | * |
18 | * @author Walter A. Boring IV <waboring@buildabetterweb.com> |
19 | * @package phpHtmlLib |
20 | * @link http://phphtmllib.newsblob.com |
21 | * @link http://www.w3.org/TR/SVG |
22 | * @link http://www.w3.org/TR/SVG/eltindex.html |
23 | */ |
24 | class SVGTagClass extends XMLTagClass { |
25 | |
26 | /** |
27 | * The SVGTagClass constructor |
28 | * |
29 | * @param array - the tag's attributes |
30 | * @param mixed - any N number of params for |
31 | * content for the tag |
32 | */ |
33 | function SVGTagClass( $attributes=array() ) { |
34 | $this->set_tag_attributes( $attributes ); |
35 | $num_args = func_num_args(); |
36 | for ($i=1;$i<$num_args;$i++) { |
37 | $this->add(func_get_arg($i)); |
38 | } |
39 | } |
40 | |
41 | /** |
42 | * Attributes common to ALL SVG tags |
43 | */ |
44 | |
45 | /** |
46 | * This function is a shorthand helper |
47 | * to setting the id attribute on a |
48 | * tag. |
49 | * |
50 | * @param string - the class value. |
51 | * @link http://www.w3.org/TR/SVG/struct.html#StdAttrs |
52 | */ |
53 | function set_id( $value ) { |
54 | $this->set_tag_attribute("id", $value); |
55 | } |
56 | |
57 | /** |
58 | * This method is used for setting the |
59 | * SVG common tag attribute of |
60 | * xml:base |
61 | * |
62 | * @param string - the 'xml:base' attribute |
63 | * @link http://www.w3.org/TR/SVG/struct.html#StdAttrs |
64 | */ |
65 | function set_xmlbase( $xmlbase ) { |
66 | $this->set_tag_attribute( "xml:base", $xmlbase ); |
67 | } |
68 | |
69 | /** |
70 | * some often used SVG tags attributes |
71 | */ |
72 | |
73 | /** |
74 | * This method is used for setting the |
75 | * SVG common tag attribute of |
76 | * xml:lang |
77 | * |
78 | * @param string - the 'xml:lang' attribute |
79 | * @link http://www.w3.org/TR/SVG/struct.html#StdAttrs |
80 | */ |
81 | function set_xmllang( $xmllang ) { |
82 | $this->set_tag_attribute( "xml:lang", $xmlbase ); |
83 | } |
84 | |
85 | /** |
86 | * This method is used for setting the |
87 | * SVG common tag attribute of |
88 | * xml:space |
89 | * |
90 | * @param string - the 'xml:space' attribute |
91 | * @link http://www.w3.org/TR/SVG/struct.html#StdAttrs |
92 | */ |
93 | function set_xmlspace( $xmlspace ) { |
94 | $this->set_tag_attribute( "xml:space", $xmlbase ); |
95 | } |
96 | |
97 | /** |
98 | * This function is a shorthand helper |
99 | * to setting the 'class' attribute on a |
100 | * tag. |
101 | * |
102 | * @param string - the class value. |
103 | */ |
104 | function set_class( $value ) { |
105 | $this->set_tag_attribute("class", $value); |
106 | } |
107 | |
108 | /** |
109 | * This function is a shorthand helper |
110 | * to setting the 'style' attribute on a |
111 | * tag. |
112 | * |
113 | * @param string - the class value. |
114 | */ |
115 | function set_style( $value ) { |
116 | $this->set_tag_attribute("style", $value); |
117 | } |
118 | |
119 | /** |
120 | * This function is used to set the |
121 | * 'transform' attribute of a tag. |
122 | * |
123 | * @param string - the 'transform' attribute |
124 | */ |
125 | function set_transform( $value ) { |
126 | $this->set_tag_attribute("transform", $value ); |
127 | } |
128 | |
129 | /** |
130 | * we override this method |
131 | * to automatically check to |
132 | * see if the tag has content. |
133 | * if it doesn't then we |
134 | * don't need to render the |
135 | * close tag. |
136 | */ |
137 | function _prepare_flags() { |
138 | if ($this->count_content() == 0) { |
139 | $this->_content_required = FALSE; |
140 | $this->_close_tag_required = FALSE; |
141 | } |
142 | } |
143 | } |
144 | |
145 | /** |
146 | * <a> SVG tag |
147 | * @link http://www.w3.org/TR/SVG/linking.html#AElement |
148 | */ |
149 | class Asvgtag extends SVGTagClass { |
150 | var $_tag = "a"; |
151 | } // Asvgtag |
152 | |
153 | /** |
154 | * <altGlyph> SVG tag |
155 | * @link http://www.w3.org/TR/SVG/text.html#AlternateGlyphs |
156 | */ |
157 | class ALTGLYGHsvgtag extends SVGTagClass { |
158 | var $_tag = "altGlyph"; |
159 | } // ALTGLYGHsvgtag |
160 | |
161 | /** |
162 | * <altGlyphDef> SVG tag |
163 | * @link http://www.w3.org/TR/SVG/text.html#AlternateGlyphs |
164 | */ |
165 | class ALTGLYGHDEFsvgtag extends SVGTagClass { |
166 | var $_tag = "altGlyphDef"; |
167 | } // ALTGLYGHDEFsvgtag |
168 | |
169 | /** |
170 | * <altGlyphItem> SVG tag |
171 | * @link http://www.w3.org/TR/SVG/text.html#AltGlyphItemElement |
172 | */ |
173 | class ALTGLYGHITEMsvgtag extends SVGTagClass { |
174 | var $_tag = "altGlyphItem"; |
175 | } // ALTGLYGHITEMsvgtag |
176 | |
177 | /** |
178 | * <animate> SVG tag |
179 | * @link http://www.w3.org/TR/SVG/animate.html#AnimateElement |
180 | */ |
181 | class ANIMATEsvgtag extends SVGTagClass { |
182 | var $_tag = "animate"; |
183 | } // ANIMATEsvgtag |
184 | |
185 | /** |
186 | * <animateColor> SVG tag |
187 | * @link http://www.w3.org/TR/SVG/animate.html#AnimateColorElement |
188 | */ |
189 | class ANIMATECOLORsvgtag extends SVGTagClass { |
190 | var $_tag = "animateColor"; |
191 | } // ANIMATECOLORsvgtag |
192 | |
193 | /** |
194 | * <animateMotion> SVG tag |
195 | * @link http://www.w3.org/TR/SVG/animate.html#AnimateMotionElement |
196 | */ |
197 | class ANIMATEMOTIONsvgtag extends SVGTagClass { |
198 | var $_tag = "animateMotion"; |
199 | } // ANIMATEMOTIONsvgtag |
200 | |
201 | /** |
202 | * <animateTransform> SVG tag |
203 | * @link http://www.w3.org/TR/SVG/animate.html#AnimateTransformElement |
204 | */ |
205 | class ANIMATETTRANSFORMsvgtag extends SVGTagClass { |
206 | var $_tag = "animateTransform"; |
207 | } // ANIMATETTRANSFORMsvgtag |
208 | |
209 | /** |
210 | * <circle> SVG tag |
211 | * @link http://www.w3.org/TR/SVG/shapes.html |
212 | */ |
213 | class CIRCLEsvgtag extends SVGTagClass { |
214 | var $_tag = "circle"; |
215 | } // CIRCLEsvgtag |
216 | |
217 | /** |
218 | * <clipPath> SVG tag |
219 | * @link http://www.w3.org/TR/SVG/masking.html#ClipPathElement |
220 | */ |
221 | class CLIPPATHsvgtag extends SVGTagClass { |
222 | var $_tag = "clipPath"; |
223 | } // CLIPPATHsvgtag |
224 | |
225 | /** |
226 | * <color-profile> SVG tag |
227 | * @link http://www.w3.org/TR/SVG/color.html#ColorProfileElement |
228 | */ |
229 | class COLORPROFILEsvgtag extends SVGTagClass { |
230 | var $_tag = "color-profile"; |
231 | } // COLORPROFILEsvgtag |
232 | |
233 | /** |
234 | * <cursor> SVG tag |
235 | * @link http://www.w3.org/TR/SVG/interact.html#CursorElement |
236 | */ |
237 | class CURSORsvgtag extends SVGTagClass { |
238 | var $_tag = "cursor"; |
239 | } // CIRCLEsvgtag |
240 | |
241 | /** |
242 | * <defs> SVG tag |
243 | * @link http://www.w3.org/TR/SVG/struct.html#DefsElement |
244 | */ |
245 | class DEFSsvgtag extends SVGTagClass { |
246 | var $_tag = "defs"; |
247 | } // DEFSsvgtag |
248 | |
249 | /** |
250 | * <desc> SVG tag |
251 | * @link http://www.w3.org/TR/SVG/struct.html#DefsElement |
252 | */ |
253 | class DESCsvgtag extends SVGTagClass { |
254 | var $_tag = "desc"; |
255 | } // DESCsvgtag |
256 | |
257 | /** |
258 | * <definition-src> SVG tag |
259 | * @link http://www.w3.org/TR/SVG/fonts.html#DefinitionSrcElement |
260 | */ |
261 | class DEFINITIONSRCsvgtag extends SVGTagClass { |
262 | var $_tag = "definition-src"; |
263 | var $_close_tag_required = FALSE; |
264 | var $_content_required = FALSE; |
265 | } // DEFINITIONSRCsvgtag |
266 | |
267 | /** |
268 | * <ellipse> SVG tag |
269 | * @link http://www.w3.org/TR/SVG/shapes.html |
270 | */ |
271 | class ELLIPSEsvgtag extends SVGTagClass { |
272 | var $_tag = "ellipse"; |
273 | var $_close_tag_required = FALSE; |
274 | var $_content_required = FALSE; |
275 | } // ELLIPSEsvgtag |
276 | |
277 | /** |
278 | * <feBlend> SVG tag |
279 | * @link http://www.w3.org/TR/SVG/filters.html#feBlendElement |
280 | */ |
281 | class FEBLENDsvgtag extends SVGTagClass { |
282 | var $_tag = "feBlend"; |
283 | } // FEBLENDsvgtag |
284 | |
285 | /** |
286 | * <feColorMatrix> SVG tag |
287 | * @link http://www.w3.org/TR/SVG/filters.html#feColorMatrixElement |
288 | */ |
289 | class FECOLORMATRIXsvgtag extends SVGTagClass { |
290 | var $_tag = "feColorMatrix"; |
291 | } // FECOLORMATRIXsvgtag |
292 | |
293 | /** |
294 | * <feComponentTransfer> SVG tag |
295 | * @link http://www.w3.org/TR/SVG/filters.html#feComponentTransferElement |
296 | */ |
297 | class FECOMPONENTTANSFERsvgtag extends SVGTagClass { |
298 | var $_tag = "feComponentTransfer"; |
299 | } // FECOMPONENTTANSFERsvgtag |
300 | |
301 | /** |
302 | * <feComposite> SVG tag |
303 | * @link http://www.w3.org/TR/SVG/filters.html#feCompositeElement |
304 | */ |
305 | class FECOMPOSITEsvgtag extends SVGTagClass { |
306 | var $_tag = "feComposite"; |
307 | } // FECOMPOSITEsvgtag |
308 | |
309 | /** |
310 | * <feConvolveMatrix> SVG tag |
311 | * @link http://www.w3.org/TR/SVG/filters.html#feConvolveMatrixElement |
312 | */ |
313 | class FECONVOLVEMATRIXsvgtag extends SVGTagClass { |
314 | var $_tag = "feConvolveMatrix"; |
315 | } // FECONVOLVEMATRIXsvgtag |
316 | |
317 | /** |
318 | * <feDiffuseLighting> SVG tag |
319 | * @link http://www.w3.org/TR/SVG/filters.html#feDiffuseLightingElement |
320 | */ |
321 | class FEDIFFUSELIGHTINGsvgtag extends SVGTagClass { |
322 | var $_tag = "feDiffuseLighting"; |
323 | } // FEDIFFUSELIGHTINGsvgtag |
324 | |
325 | /** |
326 | * <feDisplacementMap> SVG tag |
327 | * @link http://www.w3.org/TR/SVG/filters.html#feDisplacementMapElement |
328 | */ |
329 | class FEDISPLACEMENTMAPsvgtag extends SVGTagClass { |
330 | var $_tag = "feDisplacementMap"; |
331 | } // FEDISPLACEMENTMAPsvgtag |
332 | |
333 | /** |
334 | * <feDistantLight> SVG tag |
335 | * @link http://www.w3.org/TR/SVG/filters.html#feDistantLightElement |
336 | */ |
337 | class FEDISTANTLIGHTsvgtag extends SVGTagClass { |
338 | var $_tag = "feDistantLight"; |
339 | } // FEDISTANTLIGHTsvgtag |
340 | |
341 | /** |
342 | * <feFlood> SVG tag |
343 | * @link http://www.w3.org/TR/SVG/filters.html#feFloodElement |
344 | */ |
345 | class FEFLOODsvgtag extends SVGTagClass { |
346 | var $_tag = "feFlood"; |
347 | } // FEFLOODsvgtag |
348 | |
349 | /** |
350 | * <feFuncA> SVG tag |
351 | * @link http://www.w3.org/TR/SVG/filters.html#feFuncAElement |
352 | */ |
353 | class FEFUNCAsvgtag extends SVGTagClass { |
354 | var $_tag = "feFuncA"; |
355 | } // FEFUNCAsvgtag |
356 | |
357 | /** |
358 | * <feFuncB> SVG tag |
359 | * @link http://www.w3.org/TR/SVG/filters.html#feFuncBElement |
360 | */ |
361 | class FEFUNCBsvgtag extends SVGTagClass { |
362 | var $_tag = "feFuncB"; |
363 | } // FEFUNCBsvgtag |
364 | |
365 | /** |
366 | * <feFuncG> SVG tag |
367 | * @link http://www.w3.org/TR/SVG/filters.html#feFuncGElement |
368 | */ |
369 | class FEFUNCGsvgtag extends SVGTagClass { |
370 | var $_tag = "feFuncG"; |
371 | } // FEFUNCGsvgtag |
372 | |
373 | /** |
374 | * <feFuncR> SVG tag |
375 | * @link http://www.w3.org/TR/SVG/filters.html#feFuncRElement |
376 | */ |
377 | class FEFUNCRsvgtag extends SVGTagClass { |
378 | var $_tag = "feFuncR"; |
379 | } // FEFUNCRsvgtag |
380 | |
381 | /** |
382 | * <feGaussianBlur> SVG tag |
383 | * @link http://www.w3.org/TR/SVG/filters.html#feGaussianBlurElement |
384 | */ |
385 | class FEGAUSSIANBLURsvgtag extends SVGTagClass { |
386 | var $_tag = "feGaussianBlur"; |
387 | } // FEGAUSSIANBLURsvgtag |
388 | |
389 | /** |
390 | * <feImage> SVG tag |
391 | * @link http://www.w3.org/TR/SVG/filters.html#feImageElement |
392 | */ |
393 | class FEIMAGEsvgtag extends SVGTagClass { |
394 | var $_tag = "feImage"; |
395 | } // FEIMAGEsvgtag |
396 | |
397 | /** |
398 | * <feMerge> SVG tag |
399 | * @link http://www.w3.org/TR/SVG/filters.html#feMergeElement |
400 | */ |
401 | class FEMERGEsvgtag extends SVGTagClass { |
402 | var $_tag = "feMerge"; |
403 | } // FEMERGEsvgtag |
404 | |
405 | /** |
406 | * <feMergeNode> SVG tag |
407 | * @link http://www.w3.org/TR/SVG/filters.html#feMergeNodeElement |
408 | */ |
409 | class FEMERGENODEsvgtag extends SVGTagClass { |
410 | var $_tag = "feMergeNode"; |
411 | } // FEMERGENODEsvgtag |
412 | |
413 | /** |
414 | * <feMorphology> SVG tag |
415 | * @link http://www.w3.org/TR/SVG/filters.html#feMorphologyElement |
416 | */ |
417 | class FEMORPHOLOGYsvgtag extends SVGTagClass { |
418 | var $_tag = "feMorphology"; |
419 | } // FEMORPHOLOGYsvgtag |
420 | |
421 | /** |
422 | * <feOffset> SVG svgtag |
423 | * @link http://www.w3.org/TR/SVG/filters.html#feOffsetElement |
424 | */ |
425 | class FEOFFSETsvgtag extends SVGTagClass { |
426 | var $_tag = "feOffset"; |
427 | } // FEOFFSETsvgtag |
428 | |
429 | /** |
430 | * <fePointLight> SVG tag |
431 | * @link http://www.w3.org/TR/SVG/filters.html#fePointLightElement |
432 | */ |
433 | class FEPOINTLIGHTsvgtag extends SVGTagClass { |
434 | var $_tag = "fePointLight"; |
435 | } // FEPOINTLIGHTsvgtag |
436 | |
437 | /** |
438 | * <feSpecularLighting> SVG tag |
439 | * @link http://www.w3.org/TR/SVG/filters.html#feSpecularLightingElement |
440 | */ |
441 | class FESPECTACULARLIGHTINGsvgtag extends SVGTagClass { |
442 | var $_tag = "feSpecularLighting"; |
443 | } // FESPECTACULARLIGHTINGsvgtag |
444 | |
445 | /** |
446 | * <feSpotLight> SVG tag |
447 | * @link http://www.w3.org/TR/SVG/filters.html#feSpotLightElement |
448 | */ |
449 | class FESPOTLIGHTsvgtag extends SVGTagClass { |
450 | var $_tag = "feSpotLight"; |
451 | } // FESPOTLIGHTsvgtag |
452 | |
453 | /** |
454 | * <feTile> SVG tag |
455 | * @link http://www.w3.org/TR/SVG/filters.html#feTileElement |
456 | */ |
457 | class FETILEsvgtag extends SVGTagClass { |
458 | var $_tag = "feTile"; |
459 | } // FETILEsvgtag |
460 | |
461 | /** |
462 | * <feTurbulence> SVG tag |
463 | * @link http://www.w3.org/TR/SVG/filters.html#feTurbulenceElement |
464 | */ |
465 | class FETURBULENCEsvgtag extends SVGTagClass { |
466 | var $_tag = "feTurbulence"; |
467 | } // FETURBULENCEsvgtag |
468 | |
469 | /** |
470 | * <filter> SVG tag |
471 | * @link http://www.w3.org/TR/SVG/filters.html#FilterElement |
472 | */ |
473 | class FILTERsvgtag extends SVGTagClass { |
474 | var $_tag = "filter"; |
475 | } // FILTERsvgtag |
476 | |
477 | /** |
478 | * <font> SVG tag |
479 | * @link http://www.w3.org/TR/SVG/fonts.html#FontElement |
480 | */ |
481 | class FONTsvgtag extends SVGTagClass { |
482 | var $_tag = "font"; |
483 | } // FONTsvgtag |
484 | |
485 | /** |
486 | * <font-face> SVG tag |
487 | * @link http://www.w3.org/TR/SVG/fonts.html#FontFaceElement |
488 | */ |
489 | class FONTFACEsvgtag extends SVGTagClass { |
490 | var $_tag = "font-face"; |
491 | } // FONTFACEsvgtag |
492 | |
493 | /** |
494 | * <font-face-format> SVG tag |
495 | * @link http://www.w3.org/TR/SVG/fonts.html#FontFaceNameElement |
496 | */ |
497 | class FONTFACEFORMATsvgtag extends SVGTagClass { |
498 | var $_tag = "font-face-format"; |
499 | var $_close_tag_required = FALSE; |
500 | var $_content_required = FALSE; |
501 | } // FONTFACEFORMATsvgtag |
502 | |
503 | /** |
504 | * <font-face-name> SVG tag |
505 | * @link http://www.w3.org/TR/SVG/fonts.html#FontFaceNameElement |
506 | */ |
507 | class FONTFACENAMEsvgtag extends SVGTagClass { |
508 | var $_tag = "font-face-name"; |
509 | var $_close_tag_required = FALSE; |
510 | var $_content_required = FALSE; |
511 | } // FONTFACEFORMATsvgtag |
512 | |
513 | /** |
514 | * <font-face-src> SVG tag |
515 | * @link http://www.w3.org/TR/SVG/fonts.html#FontFaceSrcElement |
516 | */ |
517 | class FONTFACESRCsvgtag extends SVGTagClass { |
518 | var $_tag = "font-face-src"; |
519 | } // FONTFACESRCsvgtag |
520 | |
521 | /** |
522 | * <font-face-uri> SVG tag |
523 | * @link http://www.w3.org/TR/SVG/fonts.html#FontFaceNameElement |
524 | */ |
525 | class FONTFACEURIsvgtag extends SVGTagClass { |
526 | var $_tag = "font-face-uri"; |
527 | } // FONTFACEURIsvgtag |
528 | |
529 | /** |
530 | * <foreignObject> SVG tag |
531 | * @link http://www.w3.org/TR/SVG/extend.html#ForeignObjectElement |
532 | */ |
533 | class FOREIGNOBJECTsvgtag extends SVGTagClass { |
534 | var $_tag = "foreignObject"; |
535 | } // FOREIGNOBJECTsvgtag |
536 | |
537 | /** |
538 | * <g> SVG tag |
539 | * @link http://www.w3.org/TR/SVG/struct.html#GElement |
540 | */ |
541 | class Gsvgtag extends SVGTagClass { |
542 | var $_tag = "g"; |
543 | } // Gsvgtag |
544 | |
545 | /** |
546 | * <glyph> SVG tag |
547 | * @link http://www.w3.org/TR/SVG/fonts.html#GlyphElement |
548 | */ |
549 | class GLYPHsvgtag extends SVGTagClass { |
550 | var $_tag = "glyph"; |
551 | } // GLYPHsvgtag |
552 | |
553 | /** |
554 | * <glyphRef> SVG tag |
555 | * @link http://www.w3.org/TR/SVG/text.html#AlternateGlyphs |
556 | */ |
557 | class GLYPHREFsvgtag extends SVGTagClass { |
558 | var $_tag = "glyphRef"; |
559 | } // GLYPHREFsvgtag |
560 | |
561 | /** |
562 | * <hkern> SVG tag |
563 | * @link http://www.w3.org/TR/SVG/fonts.html#HKernElement |
564 | */ |
565 | class HKERNsvgtag extends SVGTagClass { |
566 | var $_tag = "hkern"; |
567 | var $_close_tag_required = FALSE; |
568 | var $_content_required = FALSE; |
569 | } // HKERNsvgtag |
570 | |
571 | /** |
572 | * <image> SVG tag |
573 | * @link http://www.w3.org/TR/SVG/struct.html#ImageElement |
574 | */ |
575 | class IMAGEsvgtag extends SVGTagClass { |
576 | var $_tag = "image"; |
577 | } // IMAGEsvgtag |
578 | |
579 | /** |
580 | * <line> SVG tag |
581 | * @link http://www.w3.org/TR/SVG/shapes.html |
582 | */ |
583 | class LINEsvgtag extends SVGTagClass { |
584 | var $_tag = "line"; |
585 | } // LINEsvgtag |
586 | |
587 | /** |
588 | * <linearGradient> SVG tag |
589 | * @link http://www.w3.org/TR/SVG/pservers.html#LinearGradientElement |
590 | */ |
591 | class LINEARGRADIENTsvgtag extends SVGTagClass { |
592 | var $_tag = "linearGradient"; |
593 | } // LINEARGRADIENTsvgtag |
594 | |
595 | /** |
596 | * <maker> SVG tag |
597 | * @link http://www.w3.org/TR/SVG/painting.html#MarkerElement |
598 | */ |
599 | class MARKERsvgtag extends SVGTagClass { |
600 | var $_tag = "marker"; |
601 | } // MARKERsvgtag |
602 | |
603 | /** |
604 | * <mask> SVG tag |
605 | * @link http://www.w3.org/TR/SVG/masking.html#MaskElement |
606 | */ |
607 | class MASKsvgtag extends SVGTagClass { |
608 | var $_tag = "mask"; |
609 | } // MASKsvgtag |
610 | |
611 | /** |
612 | * <metadata> SVG tag |
613 | * @link http://www.w3.org/TR/SVG/metadata.html#MetadataElement |
614 | */ |
615 | class METADATAsvgtag extends SVGTagClass { |
616 | var $_tag = "metadata"; |
617 | } // METADATAsvgtag |
618 | |
619 | /** |
620 | * <missing-glyph> SVG tag |
621 | * @link http://www.w3.org/TR/SVG/fonts.html#MissingGlyphElement |
622 | */ |
623 | class MISSINGGLYPHsvgtag extends SVGTagClass { |
624 | var $_tag = "missing-glyph"; |
625 | } // MISSINGGLYPHsvgtag |
626 | |
627 | /** |
628 | * <mpath> SVG tag |
629 | * @link http://www.w3.org/TR/SVG/animate.html#mpathElement |
630 | */ |
631 | class MPATHsvgtag extends SVGTagClass { |
632 | var $_tag = "mpath"; |
633 | } // MPATHsvgtag |
634 | |
635 | /** |
636 | * <path> SVG tag |
637 | * @link http://www.w3.org/TR/SVG/paths.html#PathElement |
638 | */ |
639 | class PATHsvgtag extends SVGTagClass { |
640 | var $_tag = "path"; |
641 | } // PATHsvgtag |
642 | |
643 | /** |
644 | * <pattern> SVG tag |
645 | * @link http://www.w3.org/TR/SVG/pservers.html#PatternElement |
646 | */ |
647 | class PATTERNsvgtag extends SVGTagClass { |
648 | var $_tag = "pattern"; |
649 | } // PATTERNsvgtag |
650 | |
651 | /** |
652 | * <polygon> SVG tag |
653 | * @link http://www.w3.org/TR/SVG/shapes.html#PolygonElement |
654 | */ |
655 | class POLYGONsvgtag extends SVGTagClass { |
656 | var $_tag = "polygon"; |
657 | } // POLYGONsvgtag |
658 | |
659 | /** |
660 | * <polyline> SVG tag |
661 | * @link http://www.w3.org/TR/SVG/shapes.html#PolylineElement |
662 | */ |
663 | class POLYLINEsvgtag extends SVGTagClass { |
664 | var $_tag = "polyline"; |
665 | } // POLYLINEsvgtag |
666 | |
667 | /** |
668 | * <radialGradient> SVG tag |
669 | * @link http://www.w3.org/TR/SVG/pservers.html#RadialGradientElement |
670 | */ |
671 | class RADIALGRADIENTsvgtag extends SVGTagClass { |
672 | var $_tag = "radialGradient"; |
673 | } // RADIALGRADIENTsvgtag |
674 | |
675 | /** |
676 | * <rect> SVG tag |
677 | * @link http://www.w3.org/TR/SVG/shapes.html#RectElement |
678 | */ |
679 | class RECTsvgtag extends SVGTagClass { |
680 | var $_tag = "rect"; |
681 | } // RECTsvgtag |
682 | |
683 | /** |
684 | * <script> SVG tag |
685 | * @link http://www.w3.org/TR/SVG/script.html#ScriptElement |
686 | */ |
687 | class SCRIPTsvgtag extends SVGTagClass { |
688 | var $_tag = "script"; |
689 | var $_cdata_content_wrap = TRUE; |
690 | } // SCRIPTsvgtag |
691 | |
692 | /** |
693 | * <set> SVG tag |
694 | * @link http://www.w3.org/TR/SVG/animate.html#SetElement |
695 | */ |
696 | class SETsvgtag extends SVGTagClass { |
697 | var $_tag = "set"; |
698 | } // SETsvgtag |
699 | |
700 | /** |
701 | * <stop> SVG tag |
702 | * @link http://www.w3.org/TR/SVG/pservers.html#StopElement |
703 | */ |
704 | class STOPsvgtag extends SVGTagClass { |
705 | var $_tag = "stop"; |
706 | } // STOPsvgtag |
707 | |
708 | /** |
709 | * <style> SVG tag |
710 | * @link http://www.w3.org/TR/SVG/styling.html#StyleElement |
711 | */ |
712 | class STYLEsvgtag extends SVGTagClass { |
713 | var $_tag = "style"; |
714 | var $_cdata_content_wrap = TRUE; |
715 | } // STYLEsvgtag |
716 | |
717 | /** |
718 | * <svg> SVG tag |
719 | * @link http://www.w3.org/TR/SVG/struct.html#SVGElement |
720 | */ |
721 | class SVGsvgtag extends SVGTagClass { |
722 | var $_tag = "svg"; |
723 | } // SVGsvgtag |
724 | |
725 | /** |
726 | * <switch> SVG tag |
727 | * @link http://www.w3.org/TR/SVG/struct.html#SwitchElement |
728 | */ |
729 | class SWITCHsvgtag extends SVGTagClass { |
730 | var $_tag = "switch"; |
731 | } // SWITCHsvgtag |
732 | |
733 | /** |
734 | * <symbol> SVG tag |
735 | * @link http://www.w3.org/TR/SVG/struct.html#SymbolElement |
736 | */ |
737 | class SYMBOLsvgtag extends SVGTagClass { |
738 | var $_tag = "symbol"; |
739 | } // SYMBOLsvgtag |
740 | |
741 | /** |
742 | * <text> SVG tag |
743 | * @link http://www.w3.org/TR/SVG/text.html |
744 | */ |
745 | class TEXTsvgtag extends SVGTagClass { |
746 | var $_tag = "text"; |
747 | } // TEXTsvgtag |
748 | |
749 | /** |
750 | * <textpath> SVG tag |
751 | * @link http://www.w3.org/TR/SVG/text.html#TextPathElement |
752 | */ |
753 | class TEXTPATHsvgtag extends SVGTagClass { |
754 | var $_tag = "text"; |
755 | } // TEXTsvgtag |
756 | |
757 | /** |
758 | * <title> SVG tag |
759 | * @link http://www.w3.org/TR/SVG/struct.html#TitleElement |
760 | */ |
761 | class TITLEsvgtag extends SVGTagClass { |
762 | var $_tag = "title"; |
763 | } // TITLEsvgtag |
764 | |
765 | /** |
766 | * <tref> SVG tag |
767 | * @link http://www.w3.org/TR/SVG/text.html |
768 | */ |
769 | class TREFsvgtag extends SVGTagClass { |
770 | var $_tag = "tref"; |
771 | } // TEXTsvgtag |
772 | |
773 | /** |
774 | * <tspan> SVG tag |
775 | * @link http://www.w3.org/TR/SVG/text.html |
776 | */ |
777 | class TSPANsvgtag extends SVGTagClass { |
778 | var $_tag = "tspan"; |
779 | } // TEXTsvgtag |
780 | |
781 | /** |
782 | * <use> SVG tag |
783 | * @link http://www.w3.org/TR/SVG/struct.html#UseElement |
784 | */ |
785 | class USEsvgtag extends SVGTagClass { |
786 | var $_tag = "use"; |
787 | } // USEsvgtag |
788 | |
789 | /** |
790 | * <view> SVG tag |
791 | * @link http://www.w3.org/TR/SVG/linking.html#ViewElement |
792 | */ |
793 | class VIEWsvgtag extends SVGTagClass { |
794 | var $_tag = "view"; |
795 | } // VIEWsvgtag |
796 | |
797 | /** |
798 | * <vkern> SVG tag |
799 | * @link |
800 | */ |
801 | class VKERNsvgtag extends SVGTagClass { |
802 | var $_tag = "vkern"; |
803 | var $_close_tag_required = FALSE; |
804 | var $_content_required = FALSE; |
805 | } // VKERNsvgtag |
806 | ?> |
MailToCvsAdmin">MailToCvsAdmin | ViewVC Help |
Powered by ViewVC 1.1.26 |