| [ Index ] |
PHP Cross Reference of MantisBT |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * File containing the abstract ezcGraphDataSetIntProperty class 4 * 5 * @package Graph 6 * @version 1.5 7 * @copyright Copyright (C) 2005-2009 eZ Systems AS. All rights reserved. 8 * @license http://ez.no/licenses/new_bsd New BSD License 9 */ 10 /** 11 * Class for axis properties of datasets 12 * 13 * This class is used to store properties for datasets, which should be 14 * validated as objects extending the ezcGraphChartElementAxis class. 15 * 16 * For a basic usage example of those dataset properties take a look at the API 17 * documentation of the ezcGraphDataSetProperty class. 18 * 19 * @version 1.5 20 * @package Graph 21 */ 22 class ezcGraphDataSetAxisProperty extends ezcGraphDataSetProperty 23 { 24 /** 25 * Chacks if value is really an axis 26 * 27 * @param ezcGraphChartElementAxis $value 28 * @return void 29 */ 30 protected function checkValue( &$value ) 31 { 32 if ( ! $value instanceof ezcGraphChartElementAxis ) 33 { 34 throw new ezcBaseValueException( 'default', $value, 'ezcGraphChartElementAxis' ); 35 } 36 37 return true; 38 } 39 40 /** 41 * Set an option. 42 * 43 * Sets an option using ArrayAccess. 44 * 45 * This is deaktivated, because you need not set a different axis for some 46 * data point. 47 * 48 * @param string $key The option to set. 49 * @param mixed $value The value for the option. 50 * @return void 51 * 52 * @throws ezcGraphInvalidAssignementException 53 * Always 54 */ 55 public function offsetSet( $key, $value ) 56 { 57 throw new ezcGraphInvalidAssignementException(); 58 } 59 60 } 61 62 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Jul 28 15:48:31 2011 | Cross-referenced by PHPXref 0.7 |