Class Zend_Measure_Viscosity_Kinematic

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

Located in /Zend/Measure/Viscosity/Kinematic.php (line 38)

Zend_Measure_Abstract
   |
   --Zend_Measure_Viscosity_Kinematic
Class Constant Summary
 CENTISTOKES = 'CENTISTOKES'
 LENTOR = 'LENTOR'
 LITER_PER_CENTIMETER_DAY = 'LITER_PER_CENTIMETER_DAY'
 LITER_PER_CENTIMETER_HOUR = 'LITER_PER_CENTIMETER_HOUR'
 LITER_PER_CENTIMETER_MINUTE = 'LITER_PER_CENTIMETER_MINUTE'
 LITER_PER_CENTIMETER_SECOND = 'LITER_PER_CENTIMETER_SECOND'
 POISE_CUBIC_CENTIMETER_PER_GRAM = 'POISE_CUBIC_CENTIMETER_PER_GRAM'
 SQUARE_CENTIMETER_PER_DAY = 'SQUARE_CENTIMETER_PER_DAY'
 SQUARE_CENTIMETER_PER_HOUR = 'SQUARE_CENTIMETER_PER_HOUR'
 SQUARE_CENTIMETER_PER_MINUTE = 'SQUARE_CENTIMETER_PER_MINUTE'
 SQUARE_CENTIMETER_PER_SECOND = 'SQUARE_CENTIMETER_PER_SECOND'
 SQUARE_FOOT_PER_DAY = 'SQUARE_FOOT_PER_DAY'
 SQUARE_FOOT_PER_HOUR = 'SQUARE_FOOT_PER_HOUR'
 SQUARE_FOOT_PER_MINUTE = 'SQUARE_FOOT_PER_MINUTE'
 SQUARE_FOOT_PER_SECOND = 'SQUARE_FOOT_PER_SECOND'
 SQUARE_INCH_PER_DAY = 'SQUARE_INCH_PER_DAY'
 SQUARE_INCH_PER_HOUR = 'SQUARE_INCH_PER_HOUR'
 SQUARE_INCH_PER_MINUTE = 'SQUARE_INCH_PER_MINUTE'
 SQUARE_INCH_PER_SECOND = 'SQUARE_INCH_PER_SECOND'
 SQUARE_METER_PER_DAY = 'SQUARE_METER_PER_DAY'
 SQUARE_METER_PER_HOUR = 'SQUARE_METER_PER_HOUR'
 SQUARE_METER_PER_MINUTE = 'SQUARE_METER_PER_MINUTE'
 SQUARE_METER_PER_SECOND = 'SQUARE_METER_PER_SECOND'
 SQUARE_MILLIMETER_PER_DAY = 'SQUARE_MILLIMETER_PER_DAY'
 SQUARE_MILLIMETER_PER_HOUR = 'SQUARE_MILLIMETER_PER_HOUR'
 SQUARE_MILLIMETER_PER_MINUTE = 'SQUARE_MILLIMETER_PER_MINUTE'
 SQUARE_MILLIMETER_PER_SECOND = 'SQUARE_MILLIMETER_PER_SECOND'
 STANDARD = 'SQUARE_METER_PER_SECOND'
 STOKES = 'STOKES'
Method Summary
 void setType (string $type)
 void setValue (integer|string $value, [string $type = null], [string|Zend_Locale $locale = null])
 Zend_Measure_Viscosity_Kinematic __construct (integer|string $value, [string $type = null], [string|Zend_Locale $locale = null])
 string toString ()
 string __toString ()
Methods
equals (line 130)

Compare if the value and type is equal

  • access: public
boolean equals (Zend_Measure_Viscosity_Kinematic $object)

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

Returns the conversion list

  • access: public
array getConversionList ()

Redefinition of:
Zend_Measure_Abstract::getConversionList()
Returns the conversion list
setType (line 183)

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 148)

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_Viscosity_Kinematic Type
  • string|Zend_Locale $locale: OPTIONAL Locale for parsing numbers

Redefinition of:
Zend_Measure_Abstract::setValue()
Sets the internal value
Constructor __construct (line 118)

Zend_Measure_Viscosity_Kinematic provides an locale aware class for conversion and formatting of kinematic viscosity 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_Viscosity_Kinematic __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_Viscosity_Kinematic Type
  • string|Zend_Locale $locale: OPTIONAL Locale for parsing numbers
toString (line 232)

Returns a string representation

  • access: public
string toString ()

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

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
CENTISTOKES = 'CENTISTOKES' (line 43)
LENTOR = 'LENTOR' (line 44)
LITER_PER_CENTIMETER_DAY = 'LITER_PER_CENTIMETER_DAY' (line 45)
LITER_PER_CENTIMETER_HOUR = 'LITER_PER_CENTIMETER_HOUR' (line 46)
LITER_PER_CENTIMETER_MINUTE = 'LITER_PER_CENTIMETER_MINUTE' (line 47)
LITER_PER_CENTIMETER_SECOND = 'LITER_PER_CENTIMETER_SECOND' (line 48)
POISE_CUBIC_CENTIMETER_PER_GRAM = 'POISE_CUBIC_CENTIMETER_PER_GRAM' (line 49)
SQUARE_CENTIMETER_PER_DAY = 'SQUARE_CENTIMETER_PER_DAY' (line 50)
SQUARE_CENTIMETER_PER_HOUR = 'SQUARE_CENTIMETER_PER_HOUR' (line 51)
SQUARE_CENTIMETER_PER_MINUTE = 'SQUARE_CENTIMETER_PER_MINUTE' (line 52)
SQUARE_CENTIMETER_PER_SECOND = 'SQUARE_CENTIMETER_PER_SECOND' (line 53)
SQUARE_FOOT_PER_DAY = 'SQUARE_FOOT_PER_DAY' (line 54)
SQUARE_FOOT_PER_HOUR = 'SQUARE_FOOT_PER_HOUR' (line 55)
SQUARE_FOOT_PER_MINUTE = 'SQUARE_FOOT_PER_MINUTE' (line 56)
SQUARE_FOOT_PER_SECOND = 'SQUARE_FOOT_PER_SECOND' (line 57)
SQUARE_INCH_PER_DAY = 'SQUARE_INCH_PER_DAY' (line 58)
SQUARE_INCH_PER_HOUR = 'SQUARE_INCH_PER_HOUR' (line 59)
SQUARE_INCH_PER_MINUTE = 'SQUARE_INCH_PER_MINUTE' (line 60)
SQUARE_INCH_PER_SECOND = 'SQUARE_INCH_PER_SECOND' (line 61)
SQUARE_METER_PER_DAY = 'SQUARE_METER_PER_DAY' (line 62)
SQUARE_METER_PER_HOUR = 'SQUARE_METER_PER_HOUR' (line 63)
SQUARE_METER_PER_MINUTE = 'SQUARE_METER_PER_MINUTE' (line 64)
SQUARE_METER_PER_SECOND = 'SQUARE_METER_PER_SECOND' (line 65)
SQUARE_MILLIMETER_PER_DAY = 'SQUARE_MILLIMETER_PER_DAY' (line 66)
SQUARE_MILLIMETER_PER_HOUR = 'SQUARE_MILLIMETER_PER_HOUR' (line 67)
SQUARE_MILLIMETER_PER_MINUTE = 'SQUARE_MILLIMETER_PER_MINUTE' (line 68)
SQUARE_MILLIMETER_PER_SECOND = 'SQUARE_MILLIMETER_PER_SECOND' (line 69)
STANDARD = 'SQUARE_METER_PER_SECOND' (line 41)
STOKES = 'STOKES' (line 70)

Documentation generated on Thu, 18 Jan 2007 09:56:13 -0800 by phpDocumentor 1.3.1