diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-05-08 07:38:24 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-05-08 07:38:24 +0000 |
commit | 2ec481fc479ba898c9b4506cdeb9450887a3fa57 (patch) | |
tree | dc859b95781e71e5f529149b27b44e6a516e99f3 /src/structs | |
parent | 6207fc1ece307264f8e9e877edfade373f6da1f3 (diff) | |
download | zetacomponents-graph-2ec481fc479ba898c9b4506cdeb9450887a3fa57.zip zetacomponents-graph-2ec481fc479ba898c9b4506cdeb9450887a3fa57.tar.gz |
- Added class stubs for ezcGraph
Diffstat (limited to 'src/structs')
-rw-r--r-- | src/structs/chart_config.php | 35 | ||||
-rw-r--r-- | src/structs/color.php | 39 | ||||
-rw-r--r-- | src/structs/coordinate.php | 35 |
3 files changed, 109 insertions, 0 deletions
diff --git a/src/structs/chart_config.php b/src/structs/chart_config.php new file mode 100644 index 0000000..5ac6235 --- /dev/null +++ b/src/structs/chart_config.php @@ -0,0 +1,35 @@ +<?php + +class ezcGraphChartOption +{ + public $width = false; + + public $height = false; + + /** + * Empty constructor + */ + public function __construct() + { + } + + /** + * 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 ); + } +} + +? + +?> diff --git a/src/structs/color.php b/src/structs/color.php new file mode 100644 index 0000000..049610a --- /dev/null +++ b/src/structs/color.php @@ -0,0 +1,39 @@ +<?php + +class ezcGraphColor +{ + public $red = 0; + + public $green = 0; + + public $blue = 0; + + public $alpha = 0; + + /** + * Empty constructor + */ + public function __construct() + { + } + + /** + * 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 ); + } +} + +? + +?> diff --git a/src/structs/coordinate.php b/src/structs/coordinate.php new file mode 100644 index 0000000..11193a1 --- /dev/null +++ b/src/structs/coordinate.php @@ -0,0 +1,35 @@ +<?php + +class ezcGraphCoordinate +{ + public $x = 0; + + public $y = 0; + + /** + * Empty constructor + */ + public function __construct() + { + } + + /** + * 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 ); + } +} + +? + +?> |