Zend Framework
1.12
|
Public Attributes | |
const | STANDARD = 'NEWTON_PER_SQUARE_METER' |
const | ATMOSPHERE = 'ATMOSPHERE' |
const | ATMOSPHERE_TECHNICAL = 'ATMOSPHERE_TECHNICAL' |
const | ATTOBAR = 'ATTOBAR' |
const | ATTOPASCAL = 'ATTOPASCAL' |
const | BAR = 'BAR' |
const | BARAD = 'BARAD' |
const | BARYE = 'BARYE' |
const | CENTIBAR = 'CENTIBAR' |
const | CENTIHG = 'CENTIHG' |
const | CENTIMETER_MERCURY_0C = 'CENTIMETER_MERCURY_0C' |
const | CENTIMETER_WATER_4C = 'CENTIMETER_WATER_4C' |
const | CENTIPASCAL = 'CENTIPASCAL' |
const | CENTITORR = 'CENTITORR' |
const | DECIBAR = 'DECIBAR' |
const | DECIPASCAL = 'DECIPASCAL' |
const | DECITORR = 'DECITORR' |
const | DEKABAR = 'DEKABAR' |
const | DEKAPASCAL = 'DEKAPASCAL' |
const | DYNE_PER_SQUARE_CENTIMETER = 'DYNE_PER_SQUARE_CENTIMETER' |
const | EXABAR = 'EXABAR' |
const | EXAPASCAL = 'EXAPASCAL' |
const | FEMTOBAR = 'FEMTOBAR' |
const | FEMTOPASCAL = 'FEMTOPASCAL' |
const | FOOT_AIR_0C = 'FOOT_AIR_0C' |
const | FOOT_AIR_15C = 'FOOT_AIR_15C' |
const | FOOT_HEAD = 'FOOT_HEAD' |
const | FOOT_MERCURY_0C = 'FOOT_MERCURY_0C' |
const | FOOT_WATER_4C = 'FOOT_WATER_4C' |
const | GIGABAR = 'GIGABAR' |
const | GIGAPASCAL = 'GIGAPASCAL' |
const | GRAM_FORCE_SQUARE_CENTIMETER = 'GRAM_FORCE_SQUARE_CENTIMETER' |
const | HECTOBAR = 'HECTOBAR' |
const | HECTOPASCAL = 'HECTOPASCAL' |
const | INCH_AIR_0C = 'INCH_AIR_0C' |
const | INCH_AIR_15C = 'INCH_AIR_15C' |
const | INCH_MERCURY_0C = 'INCH_MERCURY_0C' |
const | INCH_WATER_4C = 'INCH_WATER_4C' |
const | KILOBAR = 'KILOBAR' |
const | KILOGRAM_FORCE_PER_SQUARE_CENTIMETER = 'KILOGRAM_FORCE_PER_SQUARE_CENTIMETER' |
const | KILOGRAM_FORCE_PER_SQUARE_METER = 'KILOGRAM_FORCE_PER_SQUARE_METER' |
const | KILOGRAM_FORCE_PER_SQUARE_MILLIMETER = 'KILOGRAM_FORCE_PER_SQUARE_MILLIMETER' |
const | KILONEWTON_PER_SQUARE_METER = 'KILONEWTON_PER_SQUARE_METER' |
const | KILOPASCAL = 'KILOPASCAL' |
const | KILOPOND_PER_SQUARE_CENTIMETER = 'KILOPOND_PER_SQUARE_CENTIMETER' |
const | KILOPOND_PER_SQUARE_METER = 'KILOPOND_PER_SQUARE_METER' |
const | KILOPOND_PER_SQUARE_MILLIMETER = 'KILOPOND_PER_SQUARE_MILLIMETER' |
const | KIP_PER_SQUARE_FOOT = 'KIP_PER_SQUARE_FOOT' |
const | KIP_PER_SQUARE_INCH = 'KIP_PER_SQUARE_INCH' |
const | MEGABAR = 'MEGABAR' |
const | MEGANEWTON_PER_SQUARE_METER = 'MEGANEWTON_PER_SQUARE_METER' |
const | MEGAPASCAL = 'MEGAPASCAL' |
const | METER_AIR_0C = 'METER_AIR_0C' |
const | METER_AIR_15C = 'METER_AIR_15C' |
const | METER_HEAD = 'METER_HEAD' |
const | MICROBAR = 'MICROBAR' |
const | MICROMETER_MERCURY_0C = 'MICROMETER_MERCURY_0C' |
const | MICROMETER_WATER_4C = 'MICROMETER_WATER_4C' |
const | MICRON_MERCURY_0C = 'MICRON_MERCURY_0C' |
const | MICROPASCAL = 'MICROPASCAL' |
const | MILLIBAR = 'MILLIBAR' |
const | MILLIHG = 'MILLIHG' |
const | MILLIMETER_MERCURY_0C = 'MILLIMETER_MERCURY_0C' |
const | MILLIMETER_WATER_4C = 'MILLIMETER_WATER_4C' |
const | MILLIPASCAL = 'MILLIPASCAL' |
const | MILLITORR = 'MILLITORR' |
const | NANOBAR = 'NANOBAR' |
const | NANOPASCAL = 'NANOPASCAL' |
const | NEWTON_PER_SQUARE_METER = 'NEWTON_PER_SQUARE_METER' |
const | NEWTON_PER_SQUARE_MILLIMETER = 'NEWTON_PER_SQUARE_MILLIMETER' |
const | OUNCE_PER_SQUARE_INCH = 'OUNCE_PER_SQUARE_INCH' |
const | PASCAL = 'PASCAL' |
const | PETABAR = 'PETABAR' |
const | PETAPASCAL = 'PETAPASCAL' |
const | PICOBAR = 'PICOBAR' |
const | PICOPASCAL = 'PICOPASCAL' |
const | PIEZE = 'PIEZE' |
const | POUND_PER_SQUARE_FOOT = 'POUND_PER_SQUARE_FOOT' |
const | POUND_PER_SQUARE_INCH = 'POUND_PER_SQUARE_INCH' |
const | POUNDAL_PER_SQUARE_FOOT = 'POUNDAL_PER_SQUARE_FOOT' |
const | STHENE_PER_SQUARE_METER = 'STHENE_PER_SQUARE_METER' |
const | TECHNICAL_ATMOSPHERE = 'TECHNICAL_ATMOSPHERE' |
const | TERABAR = 'TERABAR' |
const | TERAPASCAL = 'TERAPASCAL' |
const | TON_PER_SQUARE_FOOT = 'TON_PER_SQUARE_FOOT' |
const | TON_PER_SQUARE_FOOT_SHORT = 'TON_PER_SQUARE_FOOT_SHORT' |
const | TON_PER_SQUARE_INCH = 'TON_PER_SQUARE_INCH' |
const | TON_PER_SQUARE_INCH_SHORT = 'TON_PER_SQUARE_INCH_SHORT' |
const | TON_PER_SQUARE_METER = 'TON_PER_SQUARE_METER' |
const | TORR = 'TORR' |
const | WATER_COLUMN_CENTIMETER = 'WATER_COLUMN_CENTIMETER' |
const | WATER_COLUMN_INCH = 'WATER_COLUMN_INCH' |
const | WATER_COLUMN_MILLIMETER = 'WATER_COLUMN_MILLIMETER' |
const | YOCTOBAR = 'YOCTOBAR' |
const | YOCTOPASCAL = 'YOCTOPASCAL' |
const | YOTTABAR = 'YOTTABAR' |
const | YOTTAPASCAL = 'YOTTAPASCAL' |
const | ZEPTOBAR = 'ZEPTOBAR' |
const | ZEPTOPASCAL = 'ZEPTOPASCAL' |
const | ZETTABAR = 'ZETTABAR' |
const | ZETTAPASCAL = 'ZETTAPASCAL' |
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 ATMOSPHERE = 'ATMOSPHERE' |
const ATMOSPHERE_TECHNICAL = 'ATMOSPHERE_TECHNICAL' |
const ATTOBAR = 'ATTOBAR' |
const ATTOPASCAL = 'ATTOPASCAL' |
const BAR = 'BAR' |
const BARAD = 'BARAD' |
const BARYE = 'BARYE' |
const CENTIBAR = 'CENTIBAR' |
const CENTIHG = 'CENTIHG' |
const CENTIMETER_MERCURY_0C = 'CENTIMETER_MERCURY_0C' |
const CENTIMETER_WATER_4C = 'CENTIMETER_WATER_4C' |
const CENTIPASCAL = 'CENTIPASCAL' |
const CENTITORR = 'CENTITORR' |
const DECIBAR = 'DECIBAR' |
const DECIPASCAL = 'DECIPASCAL' |
const DECITORR = 'DECITORR' |
const DEKABAR = 'DEKABAR' |
const DEKAPASCAL = 'DEKAPASCAL' |
const DYNE_PER_SQUARE_CENTIMETER = 'DYNE_PER_SQUARE_CENTIMETER' |
const EXABAR = 'EXABAR' |
const EXAPASCAL = 'EXAPASCAL' |
const FEMTOBAR = 'FEMTOBAR' |
const FEMTOPASCAL = 'FEMTOPASCAL' |
const FOOT_AIR_0C = 'FOOT_AIR_0C' |
const FOOT_AIR_15C = 'FOOT_AIR_15C' |
const FOOT_HEAD = 'FOOT_HEAD' |
const FOOT_MERCURY_0C = 'FOOT_MERCURY_0C' |
const FOOT_WATER_4C = 'FOOT_WATER_4C' |
const GIGABAR = 'GIGABAR' |
const GIGAPASCAL = 'GIGAPASCAL' |
const GRAM_FORCE_SQUARE_CENTIMETER = 'GRAM_FORCE_SQUARE_CENTIMETER' |
const HECTOBAR = 'HECTOBAR' |
const HECTOPASCAL = 'HECTOPASCAL' |
const INCH_AIR_0C = 'INCH_AIR_0C' |
const INCH_AIR_15C = 'INCH_AIR_15C' |
const INCH_MERCURY_0C = 'INCH_MERCURY_0C' |
const INCH_WATER_4C = 'INCH_WATER_4C' |
const KILOBAR = 'KILOBAR' |
const KILOGRAM_FORCE_PER_SQUARE_CENTIMETER = 'KILOGRAM_FORCE_PER_SQUARE_CENTIMETER' |
const KILOGRAM_FORCE_PER_SQUARE_METER = 'KILOGRAM_FORCE_PER_SQUARE_METER' |
const KILOGRAM_FORCE_PER_SQUARE_MILLIMETER = 'KILOGRAM_FORCE_PER_SQUARE_MILLIMETER' |
const KILONEWTON_PER_SQUARE_METER = 'KILONEWTON_PER_SQUARE_METER' |
const KILOPASCAL = 'KILOPASCAL' |
const KILOPOND_PER_SQUARE_CENTIMETER = 'KILOPOND_PER_SQUARE_CENTIMETER' |
const KILOPOND_PER_SQUARE_METER = 'KILOPOND_PER_SQUARE_METER' |
const KILOPOND_PER_SQUARE_MILLIMETER = 'KILOPOND_PER_SQUARE_MILLIMETER' |
const KIP_PER_SQUARE_FOOT = 'KIP_PER_SQUARE_FOOT' |
const KIP_PER_SQUARE_INCH = 'KIP_PER_SQUARE_INCH' |
const MEGABAR = 'MEGABAR' |
const MEGANEWTON_PER_SQUARE_METER = 'MEGANEWTON_PER_SQUARE_METER' |
const MEGAPASCAL = 'MEGAPASCAL' |
const METER_AIR_0C = 'METER_AIR_0C' |
const METER_AIR_15C = 'METER_AIR_15C' |
const METER_HEAD = 'METER_HEAD' |
const MICROBAR = 'MICROBAR' |
const MICROMETER_MERCURY_0C = 'MICROMETER_MERCURY_0C' |
const MICROMETER_WATER_4C = 'MICROMETER_WATER_4C' |
const MICRON_MERCURY_0C = 'MICRON_MERCURY_0C' |
const MICROPASCAL = 'MICROPASCAL' |
const MILLIBAR = 'MILLIBAR' |
const MILLIHG = 'MILLIHG' |
const MILLIMETER_MERCURY_0C = 'MILLIMETER_MERCURY_0C' |
const MILLIMETER_WATER_4C = 'MILLIMETER_WATER_4C' |
const MILLIPASCAL = 'MILLIPASCAL' |
const MILLITORR = 'MILLITORR' |
const NANOBAR = 'NANOBAR' |
const NANOPASCAL = 'NANOPASCAL' |
const NEWTON_PER_SQUARE_METER = 'NEWTON_PER_SQUARE_METER' |
const NEWTON_PER_SQUARE_MILLIMETER = 'NEWTON_PER_SQUARE_MILLIMETER' |
const OUNCE_PER_SQUARE_INCH = 'OUNCE_PER_SQUARE_INCH' |
const PASCAL = 'PASCAL' |
const PETABAR = 'PETABAR' |
const PETAPASCAL = 'PETAPASCAL' |
const PICOBAR = 'PICOBAR' |
const PICOPASCAL = 'PICOPASCAL' |
const PIEZE = 'PIEZE' |
const POUND_PER_SQUARE_FOOT = 'POUND_PER_SQUARE_FOOT' |
const POUND_PER_SQUARE_INCH = 'POUND_PER_SQUARE_INCH' |
const POUNDAL_PER_SQUARE_FOOT = 'POUNDAL_PER_SQUARE_FOOT' |
const STANDARD = 'NEWTON_PER_SQUARE_METER' |
const STHENE_PER_SQUARE_METER = 'STHENE_PER_SQUARE_METER' |
const TECHNICAL_ATMOSPHERE = 'TECHNICAL_ATMOSPHERE' |
const TERABAR = 'TERABAR' |
const TERAPASCAL = 'TERAPASCAL' |
const TON_PER_SQUARE_FOOT = 'TON_PER_SQUARE_FOOT' |
const TON_PER_SQUARE_FOOT_SHORT = 'TON_PER_SQUARE_FOOT_SHORT' |
const TON_PER_SQUARE_INCH = 'TON_PER_SQUARE_INCH' |
const TON_PER_SQUARE_INCH_SHORT = 'TON_PER_SQUARE_INCH_SHORT' |
const TON_PER_SQUARE_METER = 'TON_PER_SQUARE_METER' |
const TORR = 'TORR' |
const WATER_COLUMN_CENTIMETER = 'WATER_COLUMN_CENTIMETER' |
const WATER_COLUMN_INCH = 'WATER_COLUMN_INCH' |
const WATER_COLUMN_MILLIMETER = 'WATER_COLUMN_MILLIMETER' |
const YOCTOBAR = 'YOCTOBAR' |
const YOCTOPASCAL = 'YOCTOPASCAL' |
const YOTTABAR = 'YOTTABAR' |
const YOTTAPASCAL = 'YOTTAPASCAL' |
const ZEPTOBAR = 'ZEPTOBAR' |
const ZEPTOPASCAL = 'ZEPTOPASCAL' |
const ZETTABAR = 'ZETTABAR' |
const ZETTAPASCAL = 'ZETTAPASCAL' |