Class Zend_Measure_Acceleration

Description
  • license: New BSD License
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Measure/Acceleration.php (line 38)

Zend_Measure_Abstract
   |
   --Zend_Measure_Acceleration
Class Constant Summary
 CENTIGAL = 'CENTIGAL'
 CENTIMETER_PER_SQUARE_SECOND = 'CENTIMETER_PER_SQUARE_SECOND'
 DECIGAL = 'DECIGAL'
 DECIMETER_PER_SQUARE_SECOND = 'DECIMETER_PER_SQUARE_SECOND'
 DEKAMETER_PER_SQUARE_SECOND = 'DEKAMETER_PER_SQUARE_SECOND'
 FOOT_PER_SQUARE_SECOND = 'FOOT_PER_SQUARE_SECOND'
 G = 'G'
 GAL = 'GAL'
 GALILEO = 'GALILEO'
 GRAV = 'GRAV'
 HECTOMETER_PER_SQUARE_SECOND = 'HECTOMETER_PER_SQUARE_SECOND'
 INCH_PER_SQUARE_SECOND = 'INCH_PER_SQUARE_SECOND'
 KILOMETER_PER_HOUR_SECOND = 'KILOMETER_PER_HOUR_SECOND'
 KILOMETER_PER_SQUARE_SECOND = 'KILOMETER_PER_SQUARE_SECOND'
 METER_PER_SQUARE_SECOND = 'METER_PER_SQUARE_SECOND'
 MILE_PER_HOUR_MINUTE = 'MILE_PER_HOUR_MINUTE'
 MILE_PER_HOUR_SECOND = 'MILE_PER_HOUR_SECOND'
 MILE_PER_SQUARE_SECOND = 'MILE_PER_SQUARE_SECOND'
 MILLIGAL = 'MILLIGAL'
 MILLIMETER_PER_SQUARE_SECOND = 'MILLIMETER_PER_SQUARE_SECOND'
 STANDARD = 'METER_PER_SQUARE_SECOND'
Method Summary
 boolean equals (Zend_Measure_Acceleration $object)
 Zend_Measure_Acceleration __construct (integer|string $value, [string $type = null], [string|Zend_Locale $locale = null])
 void setType (string $type)
 void setValue (integer|string $value, [string $type = null], [string|Zend_Locale $locale = null])
 string toString ()
 string __toString ()
Methods
equals (line 114)

Compare if the value and type is equal

  • access: public
boolean equals (Zend_Measure_Acceleration $object)

Redefinition of:
Zend_Measure_Abstract::equals()
Compare if the value and type is equal
getConversionList (line 238)

Returns the conversion list

  • access: public
array getConversionList ()

Redefinition of:
Zend_Measure_Abstract::getConversionList()
Returns the conversion list
Constructor __construct (line 102)

Zend_Measure_Acceleration provides an locale aware class for conversion and formatting of acceleration values

Zend_Measure $input can be a locale based input string or a value. $locale can be used to define that the input is made in a different language than the actual one.

  • access: public
  • throws: Zend_Measure_Exception
Zend_Measure_Acceleration __construct (integer|string $value, [string $type = null], [string|Zend_Locale $locale = null])
  • integer|string $value: Value as string, integer, real or float
  • string $type: OPTIONAL A Zend_Measure_Acceleration Type
  • string|Zend_Locale $locale: OPTIONAL Locale for parsing numbers
setType (line 167)

Set a new type, and convert the value

  • access: public
  • throws: Zend_Measure_Exception
void setType (string $type)
  • string $type: New type to set

Redefinition of:
Zend_Measure_Abstract::setType()
Sets the original type
setValue (line 132)

Set a new value

  • access: public
  • throws: Zend_Measure_Exception
void setValue (integer|string $value, [string $type = null], [string|Zend_Locale $locale = null])
  • integer|string $value: Value as string, integer, real or float
  • string $type: OPTIONAL A Zend_Measure_Acceleration Type
  • string|Zend_Locale $locale: OPTIONAL Locale for parsing numbers

Redefinition of:
Zend_Measure_Abstract::setValue()
Sets the internal value
toString (line 216)

Returns a string representation

  • access: public
string toString ()

Redefinition of:
Zend_Measure_Abstract::toString()
Returns a string representation
__toString (line 227)

Returns a string representation

  • access: public
string __toString ()

Redefinition of:
Zend_Measure_Abstract::__toString()
Returns a string representation

Inherited Methods

Inherited From Zend_Measure_Abstract

 Zend_Measure_Abstract::equals()
 Zend_Measure_Abstract::getConversionList()
 Zend_Measure_Abstract::getType()
 Zend_Measure_Abstract::getValue()
 Zend_Measure_Abstract::serialize()
 Zend_Measure_Abstract::setType()
 Zend_Measure_Abstract::setValue()
 Zend_Measure_Abstract::toString()
 Zend_Measure_Abstract::__toString()
Class Constants
CENTIGAL = 'CENTIGAL' (line 43)
CENTIMETER_PER_SQUARE_SECOND = 'CENTIMETER_PER_SQUARE_SECOND' (line 44)
DECIGAL = 'DECIGAL' (line 45)
DECIMETER_PER_SQUARE_SECOND = 'DECIMETER_PER_SQUARE_SECOND' (line 46)
DEKAMETER_PER_SQUARE_SECOND = 'DEKAMETER_PER_SQUARE_SECOND' (line 47)
FOOT_PER_SQUARE_SECOND = 'FOOT_PER_SQUARE_SECOND' (line 48)
G = 'G' (line 49)
GAL = 'GAL' (line 50)
GALILEO = 'GALILEO' (line 51)
GRAV = 'GRAV' (line 52)
HECTOMETER_PER_SQUARE_SECOND = 'HECTOMETER_PER_SQUARE_SECOND' (line 53)
INCH_PER_SQUARE_SECOND = 'INCH_PER_SQUARE_SECOND' (line 54)
KILOMETER_PER_HOUR_SECOND = 'KILOMETER_PER_HOUR_SECOND' (line 55)
KILOMETER_PER_SQUARE_SECOND = 'KILOMETER_PER_SQUARE_SECOND' (line 56)
METER_PER_SQUARE_SECOND = 'METER_PER_SQUARE_SECOND' (line 57)
MILE_PER_HOUR_MINUTE = 'MILE_PER_HOUR_MINUTE' (line 58)
MILE_PER_HOUR_SECOND = 'MILE_PER_HOUR_SECOND' (line 59)
MILE_PER_SQUARE_SECOND = 'MILE_PER_SQUARE_SECOND' (line 60)
MILLIGAL = 'MILLIGAL' (line 61)
MILLIMETER_PER_SQUARE_SECOND = 'MILLIMETER_PER_SQUARE_SECOND' (line 62)
STANDARD = 'METER_PER_SQUARE_SECOND' (line 41)

Documentation generated on Thu, 18 Jan 2007 09:52:04 -0800 by phpDocumentor 1.3.1