| [ Index ] |
PHP Cross Reference of MantisBT |
[Source view] [Print] [Project Stats]
File containing the ezcGraphAxisContainer class
| Copyright: | Copyright (C) 2005-2009 eZ Systems AS. All rights reserved. |
| License: | http://ez.no/licenses/new_bsd New BSD License |
| Version: | 1.5 |
| File Size: | 221 lines (6 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
ezcGraphAxisContainer:: (11 methods):
__construct()
offsetExists()
offsetGet()
offsetSet()
offsetUnset()
current()
next()
key()
valid()
rewind()
count()
Class: ezcGraphAxisContainer - X-Ref
The axis container class is internally used to store and validate sets of| __construct( ezcGraphLineChart $chart ) X-Ref |
| Construct container with corresponding chart. param: ezcGraphLineChart $chart return: void |
| offsetExists( $key ) X-Ref |
| Returns if the given offset exists. This method is part of the ArrayAccess interface to allow access to the data of this object as if it was an array. param: string $key Identifier of dataset. return: bool True when the offset exists, otherwise false. |
| offsetGet( $key ) X-Ref |
| Returns the element with the given offset. This method is part of the ArrayAccess interface to allow access to the data of this object as if it was an array. param: string $key Identifier of dataset. return: ezcGraphChartElementAxis |
| offsetSet( $key, $value ) X-Ref |
| Set the element with the given offset. This method is part of the ArrayAccess interface to allow access to the data of this object as if it was an array. param: string $key param: ezcGraphChartElementAxis $value return: void |
| offsetUnset( $key ) X-Ref |
| Unset the element with the given offset. This method is part of the ArrayAccess interface to allow access to the data of this object as if it was an array. param: string $key return: void |
| current() X-Ref |
| Returns the currently selected dataset. This method is part of the Iterator interface to allow access to the datasets of this row by iterating over it like an array (e.g. using foreach). return: ezcGraphChartElementAxis The currently selected dataset. |
| next() X-Ref |
| Returns the next dataset and selects it or false on the last dataset. This method is part of the Iterator interface to allow access to the datasets of this row by iterating over it like an array (e.g. using foreach). return: mixed ezcGraphChartElementAxis if the next dataset exists, or false. |
| key() X-Ref |
| Returns the key of the currently selected dataset. This method is part of the Iterator interface to allow access to the datasets of this row by iterating over it like an array (e.g. using foreach). return: int The key of the currently selected dataset. |
| valid() X-Ref |
| Returns if the current dataset is valid. This method is part of the Iterator interface to allow access to the datasets of this row by iterating over it like an array (e.g. using foreach). return: bool If the current dataset is valid |
| rewind() X-Ref |
| Selects the very first dataset and returns it. This method is part of the Iterator interface to allow access to the datasets of this row by iterating over it like an array (e.g. using foreach). return: ezcGraphChartElementAxis The very first dataset. |
| count() X-Ref |
| Returns the number of datasets in the row. This method is part of the Countable interface to allow the usage of PHP's count() function to check how many datasets exist. return: int Number of datasets. |
| Generated: Thu Jul 28 15:48:31 2011 | Cross-referenced by PHPXref 0.7 |