Zend Framework
1.12
|
Public Attributes | |
const | STANDARD = 'KILOGRAM_PER_METER_SECOND' |
const | CENTIPOISE = 'CENTIPOISE' |
const | DECIPOISE = 'DECIPOISE' |
const | DYNE_SECOND_PER_SQUARE_CENTIMETER = 'DYNE_SECOND_PER_SQUARE_CENTIMETER' |
const | GRAM_FORCE_SECOND_PER_SQUARE_CENTIMETER = 'GRAM_FORCE_SECOND_PER_SQUARE_CENTIMETER' |
const | GRAM_PER_CENTIMETER_SECOND = 'GRAM_PER_CENTIMETER_SECOND' |
const | KILOGRAM_FORCE_SECOND_PER_SQUARE_METER = 'KILOGRAM_FORCE_SECOND_PER_SQUARE_METER' |
const | KILOGRAM_PER_METER_HOUR = 'KILOGRAM_PER_METER_HOUR' |
const | KILOGRAM_PER_METER_SECOND = 'KILOGRAM_PER_METER_SECOND' |
const | MILLIPASCAL_SECOND = 'MILLIPASCAL_SECOND' |
const | MILLIPOISE = 'MILLIPOISE' |
const | NEWTON_SECOND_PER_SQUARE_METER = 'NEWTON_SECOND_PER_SQUARE_METER' |
const | PASCAL_SECOND = 'PASCAL_SECOND' |
const | POISE = 'POISE' |
const | POISEUILLE = 'POISEUILLE' |
const | POUND_FORCE_SECOND_PER_SQUARE_FEET = 'POUND_FORCE_SECOND_PER_SQUARE_FEET' |
const | POUND_FORCE_SECOND_PER_SQUARE_INCH = 'POUND_FORCE_SECOND_PER_SQUARE_INCH' |
const | POUND_PER_FOOT_HOUR = 'POUND_PER_FOOT_HOUR' |
const | POUND_PER_FOOT_SECOND = 'POUND_PER_FOOT_SECOND' |
const | POUNDAL_HOUR_PER_SQUARE_FOOT = 'POUNDAL_HOUR_PER_SQUARE_FOOT' |
const | POUNDAL_SECOND_PER_SQUARE_FOOT = 'POUNDAL_SECOND_PER_SQUARE_FOOT' |
const | REYN = 'REYN' |
const | SLUG_PER_FOOT_SECOND = 'SLUG_PER_FOOT_SECOND' |
const | LBFS_PER_SQUARE_FOOT = 'LBFS_PER_SQUARE_FOOT' |
const | NS_PER_SQUARE_METER = 'NS_PER_SQUARE_METER' |
const | WATER_20C = 'WATER_20C' |
const | WATER_40C = 'WATER_40C' |
const | HEAVY_OIL_20C = 'HEAVY_OIL_20C' |
const | HEAVY_OIL_40C = 'HEAVY_OIL_40C' |
const | GLYCERIN_20C = 'GLYCERIN_20C' |
const | GLYCERIN_40C = 'GLYCERIN_40C' |
const | SAE_5W_MINUS18C = 'SAE_5W_MINUS18C' |
const | SAE_10W_MINUS18C = 'SAE_10W_MINUS18C' |
const | SAE_20W_MINUS18C = 'SAE_20W_MINUS18C' |
const | SAE_5W_99C = 'SAE_5W_99C' |
const | SAE_10W_99C = 'SAE_10W_99C' |
const | SAE_20W_99C = 'SAE_20W_99C' |
Protected Attributes | |
$_units | |
![]() | |
$_value | |
Plain value in standard unit. | |
$_type | |
Original type for this unit. | |
$_locale = null | |
Locale identifier. | |
$_units = array() | |
Unit types for this measurement. | |
Additional Inherited Members | |
![]() | |
__construct ($value, $type=null, $locale=null) | |
Zend_Measure_Abstract is an abstract class for the different measurement types. | |
getLocale () | |
Returns the actual set locale. | |
setLocale ($locale=null, $check=false) | |
Sets a new locale for the value representation. | |
getValue ($round=-1, $locale=null) | |
Returns the internal value. | |
setValue ($value, $type=null, $locale=null) | |
Set a new value. | |
getType () | |
Returns the original type. | |
setType ($type) | |
Set a new type, and convert the value. | |
equals ($object) | |
Compare if the value and type is equal. | |
toString ($round=-1, $locale=null) | |
Returns a string representation. | |
__toString () | |
Returns a string representation. | |
getConversionList () | |
Returns the conversion list. | |
convertTo ($type, $round=2, $locale=null) | |
Alias function for setType returning the converted unit. | |
add ($object) | |
Adds an unit to another one. | |
sub ($object) | |
Substracts an unit from another one. | |
compare ($object) | |
Compares two units. | |
|
protected |
const CENTIPOISE = 'CENTIPOISE' |
const DECIPOISE = 'DECIPOISE' |
const DYNE_SECOND_PER_SQUARE_CENTIMETER = 'DYNE_SECOND_PER_SQUARE_CENTIMETER' |
const GLYCERIN_20C = 'GLYCERIN_20C' |
const GLYCERIN_40C = 'GLYCERIN_40C' |
const GRAM_FORCE_SECOND_PER_SQUARE_CENTIMETER = 'GRAM_FORCE_SECOND_PER_SQUARE_CENTIMETER' |
const GRAM_PER_CENTIMETER_SECOND = 'GRAM_PER_CENTIMETER_SECOND' |
const HEAVY_OIL_20C = 'HEAVY_OIL_20C' |
const HEAVY_OIL_40C = 'HEAVY_OIL_40C' |
const KILOGRAM_FORCE_SECOND_PER_SQUARE_METER = 'KILOGRAM_FORCE_SECOND_PER_SQUARE_METER' |
const KILOGRAM_PER_METER_HOUR = 'KILOGRAM_PER_METER_HOUR' |
const KILOGRAM_PER_METER_SECOND = 'KILOGRAM_PER_METER_SECOND' |
const LBFS_PER_SQUARE_FOOT = 'LBFS_PER_SQUARE_FOOT' |
const MILLIPASCAL_SECOND = 'MILLIPASCAL_SECOND' |
const MILLIPOISE = 'MILLIPOISE' |
const NEWTON_SECOND_PER_SQUARE_METER = 'NEWTON_SECOND_PER_SQUARE_METER' |
const NS_PER_SQUARE_METER = 'NS_PER_SQUARE_METER' |
const PASCAL_SECOND = 'PASCAL_SECOND' |
const POISE = 'POISE' |
const POISEUILLE = 'POISEUILLE' |
const POUND_FORCE_SECOND_PER_SQUARE_FEET = 'POUND_FORCE_SECOND_PER_SQUARE_FEET' |
const POUND_FORCE_SECOND_PER_SQUARE_INCH = 'POUND_FORCE_SECOND_PER_SQUARE_INCH' |
const POUND_PER_FOOT_HOUR = 'POUND_PER_FOOT_HOUR' |
const POUND_PER_FOOT_SECOND = 'POUND_PER_FOOT_SECOND' |
const POUNDAL_HOUR_PER_SQUARE_FOOT = 'POUNDAL_HOUR_PER_SQUARE_FOOT' |
const POUNDAL_SECOND_PER_SQUARE_FOOT = 'POUNDAL_SECOND_PER_SQUARE_FOOT' |
const REYN = 'REYN' |
const SAE_10W_99C = 'SAE_10W_99C' |
const SAE_10W_MINUS18C = 'SAE_10W_MINUS18C' |
const SAE_20W_99C = 'SAE_20W_99C' |
const SAE_20W_MINUS18C = 'SAE_20W_MINUS18C' |
const SAE_5W_99C = 'SAE_5W_99C' |
const SAE_5W_MINUS18C = 'SAE_5W_MINUS18C' |
const SLUG_PER_FOOT_SECOND = 'SLUG_PER_FOOT_SECOND' |
const STANDARD = 'KILOGRAM_PER_METER_SECOND' |
const WATER_20C = 'WATER_20C' |
const WATER_40C = 'WATER_40C' |