diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-09-12 11:20:27 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-09-12 11:20:27 +0000 |
commit | 22649b2b81c18461fd85793690de5d04b45806fa (patch) | |
tree | a227e9ebef702838ddc1d84b1348464663b80f16 /src/structs | |
parent | b269dab61f162292ba4ad1f3cb400e182be23cee (diff) | |
download | zetacomponents-graph-22649b2b81c18461fd85793690de5d04b45806fa.zip zetacomponents-graph-22649b2b81c18461fd85793690de5d04b45806fa.tar.gz |
- Added image map support
# This changes all generated SVGs because each genereted element has an ID now
Diffstat (limited to 'src/structs')
-rw-r--r-- | src/structs/context.php | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/structs/context.php b/src/structs/context.php new file mode 100644 index 0000000..351031f --- /dev/null +++ b/src/structs/context.php @@ -0,0 +1,35 @@ +<?php + +class ezcGraphContext +{ + public $dataset = false; + + public $datapoint = false; + + /** + * Empty constructor + */ + public function __construct( $dataset = false, $datapoint = false ) + { + $this->dataset = $dataset; + $this->datapoint = $datapoint; + } + + /** + * Throws a BasePropertyNotFound exception. + */ + public function __set( $name, $value ) + { + throw new ezcBasePropertyNotFoundException( $name ); + } + + /** + * Throws a BasePropertyNotFound exception. + */ + public function __get( $name ) + { + throw new ezcBasePropertyNotFoundException( $name ); + } +} + +?> |