2 namespace TYPO3\CMS\Frontend\ContentObject;
28 public function render($conf = array())
30 $width = isset($conf[
'width.']) ? $this->cObj->stdWrap($conf[
'width'], $conf[
'width.']) : $conf[
'width'];
34 $height = isset($conf[
'height.']) ? $this->cObj->stdWrap($conf[
'height'], $conf[
'height.']) : $conf[
'height'];
38 $src = isset($conf[
'src.']) ? $this->cObj->stdWrap($conf[
'src'], $conf[
'src.']) : $conf[
'src'];
42 $value = isset($conf[
'value.']) ? $this->cObj->stdWrap($conf[
'value'], $conf[
'value.']) : $conf[
'value'];
43 $noscript = isset($conf[
'noscript.']) ? $this->cObj->stdWrap($conf[
'noscript'], $conf[
'noscript.']) : $conf[
'noscript'];
48 <object src="' . $src .
'" classid="image/svg+xml" width="' . $width .
'" height="' . $height .
'">
51 <object data="' . $src .
'" type="image/svg+xml" width="' . $width .
'" height="' . $height .
'">
59 <script type="image/svg+xml">
60 <svg xmlns="http://www.w3.org/2000/svg"
61 xmlns:xlink="http://www.w3.org/1999/xlink"
62 width="' . $width .
'"
63 height="' . $height .
'">
72 if (isset($conf[
'stdWrap.'])) {
73 $content = $this->cObj->stdWrap($content, $conf[
'stdWrap.']);