summaryrefslogtreecommitdiffstats
path: root/src/driver/svg.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-11-30 11:11:42 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-11-30 11:11:42 +0000
commitf7ffcb314f4cbb09e3ae16653a944f11201dd1d1 (patch)
treeef5c140bb6448c1a595fc8b79c0fbc4812eab49b /src/driver/svg.php
parent52e8f6cd727f0fd0bbd735d2c72fe7cffff8f565 (diff)
downloadzetacomponents-graph-f7ffcb314f4cbb09e3ae16653a944f11201dd1d1.zip
zetacomponents-graph-f7ffcb314f4cbb09e3ae16653a944f11201dd1d1.tar.gz
- Implemented #9647 (Add render to output method)
Diffstat (limited to 'src/driver/svg.php')
-rw-r--r--src/driver/svg.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/driver/svg.php b/src/driver/svg.php
index 4965a51..dd14912 100644
--- a/src/driver/svg.php
+++ b/src/driver/svg.php
@@ -982,6 +982,16 @@ class ezcGraphSvgDriver extends ezcGraphDriver
}
/**
+ * Return mime type for current image format
+ *
+ * @return string
+ */
+ public function getMimeType()
+ {
+ return 'image/svg+xml';
+ }
+
+ /**
* Finally save image
*
* @param string $file Destination filename
OpenPOWER on IntegriCloud