Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Data Fields | |
const | STANDARD = 'KILOGRAM_PER_CUBIC_METER' |
const | ALUMINIUM = 'ALUMINIUM' |
const | COPPER = 'COPPER' |
const | GOLD = 'GOLD' |
const | GRAIN_PER_CUBIC_FOOT = 'GRAIN_PER_CUBIC_FOOT' |
const | GRAIN_PER_CUBIC_INCH = 'GRAIN_PER_CUBIC_INCH' |
const | GRAIN_PER_CUBIC_YARD = 'GRAIN_PER_CUBIC_YARD' |
const | GRAIN_PER_GALLON = 'GRAIN_PER_GALLON' |
const | GRAIN_PER_GALLON_US = 'GRAIN_PER_GALLON_US' |
const | GRAM_PER_CUBIC_CENTIMETER = 'GRAM_PER_CUBIC_CENTIMETER' |
const | GRAM_PER_CUBIC_DECIMETER = 'GRAM_PER_CUBIC_DECIMETER' |
const | GRAM_PER_CUBIC_METER = 'GRAM_PER_CUBIC_METER' |
const | GRAM_PER_LITER = 'GRAM_PER_LITER' |
const | GRAM_PER_MILLILITER = 'GRAM_PER_MILLILITER' |
const | IRON = 'IRON' |
const | KILOGRAM_PER_CUBIC_CENTIMETER = 'KILOGRAM_PER_CUBIC_CENTIMETER' |
const | KILOGRAM_PER_CUBIC_DECIMETER = 'KILOGRAM_PER_CUBIC_DECIMETER' |
const | KILOGRAM_PER_CUBIC_METER = 'KILOGRAM_PER_CUBIC_METER' |
const | KILOGRAM_PER_CUBIC_MILLIMETER = 'KILOGRAM_PER_CUBIC_MILLIMETER' |
const | KILOGRAM_PER_LITER = 'KILOGRAM_PER_LITER' |
const | KILOGRAM_PER_MILLILITER = 'KILOGRAM_PER_MILLILITER' |
const | LEAD = 'LEAD' |
const | MEGAGRAM_PER_CUBIC_CENTIMETER = 'MEGAGRAM_PER_CUBIC_CENTIMETER' |
const | MEGAGRAM_PER_CUBIC_DECIMETER = 'MEGAGRAM_PER_CUBIC_DECIMETER' |
const | MEGAGRAM_PER_CUBIC_METER = 'MEGAGRAM_PER_CUBIC_METER' |
const | MEGAGRAM_PER_LITER = 'MEGAGRAM_PER_LITER' |
const | MEGAGRAM_PER_MILLILITER = 'MEGAGRAM_PER_MILLILITER' |
const | MICROGRAM_PER_CUBIC_CENTIMETER = 'MICROGRAM_PER_CUBIC_CENTIMETER' |
const | MICROGRAM_PER_CUBIC_DECIMETER = 'MICROGRAM_PER_CUBIC_DECIMETER' |
const | MICROGRAM_PER_CUBIC_METER = 'MICROGRAM_PER_CUBIC_METER' |
const | MICROGRAM_PER_LITER = 'MICROGRAM_PER_LITER' |
const | MICROGRAM_PER_MILLILITER = 'MICROGRAM_PER_MILLILITER' |
const | MILLIGRAM_PER_CUBIC_CENTIMETER = 'MILLIGRAM_PER_CUBIC_CENTIMETER' |
const | MILLIGRAM_PER_CUBIC_DECIMETER = 'MILLIGRAM_PER_CUBIC_DECIMETER' |
const | MILLIGRAM_PER_CUBIC_METER = 'MILLIGRAM_PER_CUBIC_METER' |
const | MILLIGRAM_PER_LITER = 'MILLIGRAM_PER_LITER' |
const | MILLIGRAM_PER_MILLILITER = 'MILLIGRAM_PER_MILLILITER' |
const | OUNCE_PER_CUBIC_FOOT = 'OUNCE_PER_CUBIC_FOOT' |
const | OUNCR_PER_CUBIC_FOOT_TROY = 'OUNCE_PER_CUBIC_FOOT_TROY' |
const | OUNCE_PER_CUBIC_INCH = 'OUNCE_PER_CUBIC_INCH' |
const | OUNCE_PER_CUBIC_INCH_TROY = 'OUNCE_PER_CUBIC_INCH_TROY' |
const | OUNCE_PER_CUBIC_YARD = 'OUNCE_PER_CUBIC_YARD' |
const | OUNCE_PER_CUBIC_YARD_TROY = 'OUNCE_PER_CUBIC_YARD_TROY' |
const | OUNCE_PER_GALLON = 'OUNCE_PER_GALLON' |
const | OUNCE_PER_GALLON_US = 'OUNCE_PER_GALLON_US' |
const | OUNCE_PER_GALLON_TROY = 'OUNCE_PER_GALLON_TROY' |
const | OUNCE_PER_GALLON_US_TROY = 'OUNCE_PER_GALLON_US_TROY' |
const | POUND_PER_CIRCULAR_MIL_FOOT = 'POUND_PER_CIRCULAR_MIL_FOOT' |
const | POUND_PER_CUBIC_FOOT = 'POUND_PER_CUBIC_FOOT' |
const | POUND_PER_CUBIC_INCH = 'POUND_PER_CUBIC_INCH' |
const | POUND_PER_CUBIC_YARD = 'POUND_PER_CUBIC_YARD' |
const | POUND_PER_GALLON = 'POUND_PER_GALLON' |
const | POUND_PER_KILOGALLON = 'POUND_PER_KILOGALLON' |
const | POUND_PER_MEGAGALLON = 'POUND_PER_MEGAGALLON' |
const | POUND_PER_GALLON_US = 'POUND_PER_GALLON_US' |
const | POUND_PER_KILOGALLON_US = 'POUND_PER_KILOGALLON_US' |
const | POUND_PER_MEGAGALLON_US = 'POUND_PER_MEGAGALLON_US' |
const | SILVER = 'SILVER' |
const | SLUG_PER_CUBIC_FOOT = 'SLUG_PER_CUBIC_FOOT' |
const | SLUG_PER_CUBIC_INCH = 'SLUG_PER_CUBIC_INCH' |
const | SLUG_PER_CUBIC_YARD = 'SLUG_PER_CUBIC_YARD' |
const | SLUG_PER_GALLON = 'SLUG_PER_GALLON' |
const | SLUG_PER_GALLON_US = 'SLUG_PER_GALLON_US' |
const | TON_PER_CUBIC_FOOT_LONG = 'TON_PER_CUBIC_FOOT_LONG' |
const | TON_PER_CUBIC_FOOT = 'TON_PER_CUBIC_FOOT' |
const | TON_PER_CUBIC_INCH_LONG = 'TON_PER_CUBIC_INCH_LONG' |
const | TON_PER_CUBIC_INCH = 'TON_PER_CUBIC_INCH' |
const | TON_PER_CUBIC_YARD_LONG = 'TON_PER_CUBIC_YARD_LONG' |
const | TON_PER_CUBIC_YARD = 'TON_PER_CUBIC_YARD' |
const | TON_PER_GALLON_LONG = 'TON_PER_GALLON_LONG' |
const | TON_PER_GALLON_US_LONG = 'TON_PER_GALLON_US_LONG' |
const | TON_PER_GALLON = 'TON_PER_GALLON' |
const | TON_PER_GALLON_US = 'TON_PER_GALLON_US' |
const | TONNE_PER_CUBIC_CENTIMETER = 'TONNE_PER_CUBIC_CENTIMETER' |
const | TONNE_PER_CUBIC_DECIMETER = 'TONNE_PER_CUBIC_DECIMETER' |
const | TONNE_PER_CUBIC_METER = 'TONNE_PER_CUBIC_METER' |
const | TONNE_PER_LITER = 'TONNE_PER_LITER' |
const | TONNE_PER_MILLILITER = 'TONNE_PER_MILLILITER' |
const | WATER = 'WATER' |
Protected Attributes | |
$_units | |
![]() | |
$_value | |
$_type | |
$_locale = null | |
$_units = array() | |
Additional Inherited Members | |
![]() | |
__construct ($value, $type=null, $locale=null) | |
getLocale () | |
setLocale ($locale=null, $check=false) | |
getValue ($round=-1, $locale=null) | |
setValue ($value, $type=null, $locale=null) | |
getType () | |
setType ($type) | |
equals ($object) | |
toString ($round=-1, $locale=null) | |
__toString () | |
getConversionList () | |
convertTo ($type, $round=2, $locale=null) | |
add ($object) | |
sub ($object) | |
compare ($object) | |
Definition at line 37 of file Density.php.
|
protected |
Definition at line 125 of file Density.php.
const ALUMINIUM = 'ALUMINIUM' |
Definition at line 41 of file Density.php.
const COPPER = 'COPPER' |
Definition at line 42 of file Density.php.
const GOLD = 'GOLD' |
Definition at line 43 of file Density.php.
const GRAIN_PER_CUBIC_FOOT = 'GRAIN_PER_CUBIC_FOOT' |
Definition at line 44 of file Density.php.
const GRAIN_PER_CUBIC_INCH = 'GRAIN_PER_CUBIC_INCH' |
Definition at line 45 of file Density.php.
const GRAIN_PER_CUBIC_YARD = 'GRAIN_PER_CUBIC_YARD' |
Definition at line 46 of file Density.php.
const GRAIN_PER_GALLON = 'GRAIN_PER_GALLON' |
Definition at line 47 of file Density.php.
const GRAIN_PER_GALLON_US = 'GRAIN_PER_GALLON_US' |
Definition at line 48 of file Density.php.
const GRAM_PER_CUBIC_CENTIMETER = 'GRAM_PER_CUBIC_CENTIMETER' |
Definition at line 49 of file Density.php.
const GRAM_PER_CUBIC_DECIMETER = 'GRAM_PER_CUBIC_DECIMETER' |
Definition at line 50 of file Density.php.
const GRAM_PER_CUBIC_METER = 'GRAM_PER_CUBIC_METER' |
Definition at line 51 of file Density.php.
const GRAM_PER_LITER = 'GRAM_PER_LITER' |
Definition at line 52 of file Density.php.
const GRAM_PER_MILLILITER = 'GRAM_PER_MILLILITER' |
Definition at line 53 of file Density.php.
const IRON = 'IRON' |
Definition at line 54 of file Density.php.
const KILOGRAM_PER_CUBIC_CENTIMETER = 'KILOGRAM_PER_CUBIC_CENTIMETER' |
Definition at line 55 of file Density.php.
const KILOGRAM_PER_CUBIC_DECIMETER = 'KILOGRAM_PER_CUBIC_DECIMETER' |
Definition at line 56 of file Density.php.
const KILOGRAM_PER_CUBIC_METER = 'KILOGRAM_PER_CUBIC_METER' |
Definition at line 57 of file Density.php.
const KILOGRAM_PER_CUBIC_MILLIMETER = 'KILOGRAM_PER_CUBIC_MILLIMETER' |
Definition at line 58 of file Density.php.
const KILOGRAM_PER_LITER = 'KILOGRAM_PER_LITER' |
Definition at line 59 of file Density.php.
const KILOGRAM_PER_MILLILITER = 'KILOGRAM_PER_MILLILITER' |
Definition at line 60 of file Density.php.
const LEAD = 'LEAD' |
Definition at line 61 of file Density.php.
const MEGAGRAM_PER_CUBIC_CENTIMETER = 'MEGAGRAM_PER_CUBIC_CENTIMETER' |
Definition at line 62 of file Density.php.
const MEGAGRAM_PER_CUBIC_DECIMETER = 'MEGAGRAM_PER_CUBIC_DECIMETER' |
Definition at line 63 of file Density.php.
const MEGAGRAM_PER_CUBIC_METER = 'MEGAGRAM_PER_CUBIC_METER' |
Definition at line 64 of file Density.php.
const MEGAGRAM_PER_LITER = 'MEGAGRAM_PER_LITER' |
Definition at line 65 of file Density.php.
const MEGAGRAM_PER_MILLILITER = 'MEGAGRAM_PER_MILLILITER' |
Definition at line 66 of file Density.php.
const MICROGRAM_PER_CUBIC_CENTIMETER = 'MICROGRAM_PER_CUBIC_CENTIMETER' |
Definition at line 67 of file Density.php.
const MICROGRAM_PER_CUBIC_DECIMETER = 'MICROGRAM_PER_CUBIC_DECIMETER' |
Definition at line 68 of file Density.php.
const MICROGRAM_PER_CUBIC_METER = 'MICROGRAM_PER_CUBIC_METER' |
Definition at line 69 of file Density.php.
const MICROGRAM_PER_LITER = 'MICROGRAM_PER_LITER' |
Definition at line 70 of file Density.php.
const MICROGRAM_PER_MILLILITER = 'MICROGRAM_PER_MILLILITER' |
Definition at line 71 of file Density.php.
const MILLIGRAM_PER_CUBIC_CENTIMETER = 'MILLIGRAM_PER_CUBIC_CENTIMETER' |
Definition at line 72 of file Density.php.
const MILLIGRAM_PER_CUBIC_DECIMETER = 'MILLIGRAM_PER_CUBIC_DECIMETER' |
Definition at line 73 of file Density.php.
const MILLIGRAM_PER_CUBIC_METER = 'MILLIGRAM_PER_CUBIC_METER' |
Definition at line 74 of file Density.php.
const MILLIGRAM_PER_LITER = 'MILLIGRAM_PER_LITER' |
Definition at line 75 of file Density.php.
const MILLIGRAM_PER_MILLILITER = 'MILLIGRAM_PER_MILLILITER' |
Definition at line 76 of file Density.php.
const OUNCE_PER_CUBIC_FOOT = 'OUNCE_PER_CUBIC_FOOT' |
Definition at line 77 of file Density.php.
const OUNCE_PER_CUBIC_INCH = 'OUNCE_PER_CUBIC_INCH' |
Definition at line 79 of file Density.php.
const OUNCE_PER_CUBIC_INCH_TROY = 'OUNCE_PER_CUBIC_INCH_TROY' |
Definition at line 80 of file Density.php.
const OUNCE_PER_CUBIC_YARD = 'OUNCE_PER_CUBIC_YARD' |
Definition at line 81 of file Density.php.
const OUNCE_PER_CUBIC_YARD_TROY = 'OUNCE_PER_CUBIC_YARD_TROY' |
Definition at line 82 of file Density.php.
const OUNCE_PER_GALLON = 'OUNCE_PER_GALLON' |
Definition at line 83 of file Density.php.
const OUNCE_PER_GALLON_TROY = 'OUNCE_PER_GALLON_TROY' |
Definition at line 85 of file Density.php.
const OUNCE_PER_GALLON_US = 'OUNCE_PER_GALLON_US' |
Definition at line 84 of file Density.php.
const OUNCE_PER_GALLON_US_TROY = 'OUNCE_PER_GALLON_US_TROY' |
Definition at line 86 of file Density.php.
const OUNCR_PER_CUBIC_FOOT_TROY = 'OUNCE_PER_CUBIC_FOOT_TROY' |
Definition at line 78 of file Density.php.
const POUND_PER_CIRCULAR_MIL_FOOT = 'POUND_PER_CIRCULAR_MIL_FOOT' |
Definition at line 87 of file Density.php.
const POUND_PER_CUBIC_FOOT = 'POUND_PER_CUBIC_FOOT' |
Definition at line 88 of file Density.php.
const POUND_PER_CUBIC_INCH = 'POUND_PER_CUBIC_INCH' |
Definition at line 89 of file Density.php.
const POUND_PER_CUBIC_YARD = 'POUND_PER_CUBIC_YARD' |
Definition at line 90 of file Density.php.
const POUND_PER_GALLON = 'POUND_PER_GALLON' |
Definition at line 91 of file Density.php.
const POUND_PER_GALLON_US = 'POUND_PER_GALLON_US' |
Definition at line 94 of file Density.php.
const POUND_PER_KILOGALLON = 'POUND_PER_KILOGALLON' |
Definition at line 92 of file Density.php.
const POUND_PER_KILOGALLON_US = 'POUND_PER_KILOGALLON_US' |
Definition at line 95 of file Density.php.
const POUND_PER_MEGAGALLON = 'POUND_PER_MEGAGALLON' |
Definition at line 93 of file Density.php.
const POUND_PER_MEGAGALLON_US = 'POUND_PER_MEGAGALLON_US' |
Definition at line 96 of file Density.php.
const SILVER = 'SILVER' |
Definition at line 97 of file Density.php.
const SLUG_PER_CUBIC_FOOT = 'SLUG_PER_CUBIC_FOOT' |
Definition at line 98 of file Density.php.
const SLUG_PER_CUBIC_INCH = 'SLUG_PER_CUBIC_INCH' |
Definition at line 99 of file Density.php.
const SLUG_PER_CUBIC_YARD = 'SLUG_PER_CUBIC_YARD' |
Definition at line 100 of file Density.php.
const SLUG_PER_GALLON = 'SLUG_PER_GALLON' |
Definition at line 101 of file Density.php.
const SLUG_PER_GALLON_US = 'SLUG_PER_GALLON_US' |
Definition at line 102 of file Density.php.
const STANDARD = 'KILOGRAM_PER_CUBIC_METER' |
Definition at line 39 of file Density.php.
const TON_PER_CUBIC_FOOT = 'TON_PER_CUBIC_FOOT' |
Definition at line 104 of file Density.php.
const TON_PER_CUBIC_FOOT_LONG = 'TON_PER_CUBIC_FOOT_LONG' |
Definition at line 103 of file Density.php.
const TON_PER_CUBIC_INCH = 'TON_PER_CUBIC_INCH' |
Definition at line 106 of file Density.php.
const TON_PER_CUBIC_INCH_LONG = 'TON_PER_CUBIC_INCH_LONG' |
Definition at line 105 of file Density.php.
const TON_PER_CUBIC_YARD = 'TON_PER_CUBIC_YARD' |
Definition at line 108 of file Density.php.
const TON_PER_CUBIC_YARD_LONG = 'TON_PER_CUBIC_YARD_LONG' |
Definition at line 107 of file Density.php.
const TON_PER_GALLON = 'TON_PER_GALLON' |
Definition at line 111 of file Density.php.
const TON_PER_GALLON_LONG = 'TON_PER_GALLON_LONG' |
Definition at line 109 of file Density.php.
const TON_PER_GALLON_US = 'TON_PER_GALLON_US' |
Definition at line 112 of file Density.php.
const TON_PER_GALLON_US_LONG = 'TON_PER_GALLON_US_LONG' |
Definition at line 110 of file Density.php.
const TONNE_PER_CUBIC_CENTIMETER = 'TONNE_PER_CUBIC_CENTIMETER' |
Definition at line 113 of file Density.php.
const TONNE_PER_CUBIC_DECIMETER = 'TONNE_PER_CUBIC_DECIMETER' |
Definition at line 114 of file Density.php.
const TONNE_PER_CUBIC_METER = 'TONNE_PER_CUBIC_METER' |
Definition at line 115 of file Density.php.
const TONNE_PER_LITER = 'TONNE_PER_LITER' |
Definition at line 116 of file Density.php.
const TONNE_PER_MILLILITER = 'TONNE_PER_MILLILITER' |
Definition at line 117 of file Density.php.
const WATER = 'WATER' |
Definition at line 118 of file Density.php.