diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-11-30 11:11:42 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-11-30 11:11:42 +0000 |
commit | f7ffcb314f4cbb09e3ae16653a944f11201dd1d1 (patch) | |
tree | ef5c140bb6448c1a595fc8b79c0fbc4812eab49b /src/driver/svg.php | |
parent | 52e8f6cd727f0fd0bbd735d2c72fe7cffff8f565 (diff) | |
download | zetacomponents-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.php | 10 |
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 |