Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Data Fields | |
const | STANDARD = 'JOULE' |
const | ATTOJOULE = 'ATTOJOULE' |
const | BOARD_OF_TRADE_UNIT = 'BOARD_OF_TRADE_UNIT' |
const | BTU = 'BTU' |
const | BTU_THERMOCHEMICAL = 'BTU_TERMOCHEMICAL' |
const | CALORIE = 'CALORIE' |
const | CALORIE_15C = 'CALORIE_15C' |
const | CALORIE_NUTRITIONAL = 'CALORIE_NUTRITIONAL' |
const | CALORIE_THERMOCHEMICAL = 'CALORIE_THERMOCHEMICAL' |
const | CELSIUS_HEAT_UNIT = 'CELSIUS_HEAT_UNIT' |
const | CENTIJOULE = 'CENTIJOULE' |
const | CHEVAL_VAPEUR_HEURE = 'CHEVAL_VAPEUR_HEURE' |
const | DECIJOULE = 'DECIJOULE' |
const | DEKAJOULE = 'DEKAJOULE' |
const | DEKAWATT_HOUR = 'DEKAWATT_HOUR' |
const | DEKATHERM = 'DEKATHERM' |
const | ELECTRONVOLT = 'ELECTRONVOLT' |
const | ERG = 'ERG' |
const | EXAJOULE = 'EXAJOULE' |
const | EXAWATT_HOUR = 'EXAWATT_HOUR' |
const | FEMTOJOULE = 'FEMTOJOULE' |
const | FOOT_POUND = 'FOOT_POUND' |
const | FOOT_POUNDAL = 'FOOT_POUNDAL' |
const | GALLON_UK_AUTOMOTIVE = 'GALLON_UK_AUTOMOTIVE' |
const | GALLON_US_AUTOMOTIVE = 'GALLON_US_AUTOMOTIVE' |
const | GALLON_UK_AVIATION = 'GALLON_UK_AVIATION' |
const | GALLON_US_AVIATION = 'GALLON_US_AVIATION' |
const | GALLON_UK_DIESEL = 'GALLON_UK_DIESEL' |
const | GALLON_US_DIESEL = 'GALLON_US_DIESEL' |
const | GALLON_UK_DISTILATE = 'GALLON_UK_DISTILATE' |
const | GALLON_US_DISTILATE = 'GALLON_US_DISTILATE' |
const | GALLON_UK_KEROSINE_JET = 'GALLON_UK_KEROSINE_JET' |
const | GALLON_US_KEROSINE_JET = 'GALLON_US_KEROSINE_JET' |
const | GALLON_UK_LPG = 'GALLON_UK_LPG' |
const | GALLON_US_LPG = 'GALLON_US_LPG' |
const | GALLON_UK_NAPHTA = 'GALLON_UK_NAPHTA' |
const | GALLON_US_NAPHTA = 'GALLON_US_NAPHTA' |
const | GALLON_UK_KEROSENE = 'GALLON_UK_KEROSINE' |
const | GALLON_US_KEROSENE = 'GALLON_US_KEROSINE' |
const | GALLON_UK_RESIDUAL = 'GALLON_UK_RESIDUAL' |
const | GALLON_US_RESIDUAL = 'GALLON_US_RESIDUAL' |
const | GIGAELECTRONVOLT = 'GIGAELECTRONVOLT' |
const | GIGACALORIE = 'GIGACALORIE' |
const | GIGACALORIE_15C = 'GIGACALORIE_15C' |
const | GIGAJOULE = 'GIGAJOULE' |
const | GIGAWATT_HOUR = 'GIGAWATT_HOUR' |
const | GRAM_CALORIE = 'GRAM_CALORIE' |
const | HARTREE = 'HARTREE' |
const | HECTOJOULE = 'HECTOJOULE' |
const | HECTOWATT_HOUR = 'HECTOWATT_HOUR' |
const | HORSEPOWER_HOUR = 'HORSEPOWER_HOUR' |
const | HUNDRED_CUBIC_FOOT_GAS = 'HUNDRED_CUBIC_FOOT_GAS' |
const | INCH_OUNCE = 'INCH_OUNCE' |
const | INCH_POUND = 'INCH_POUND' |
const | JOULE = 'JOULE' |
const | KILOCALORIE_15C = 'KILOCALORIE_15C' |
const | KILOCALORIE = 'KILOCALORIE' |
const | KILOCALORIE_THERMOCHEMICAL = 'KILOCALORIE_THERMOCHEMICAL' |
const | KILOELECTRONVOLT = 'KILOELECTRONVOLT' |
const | KILOGRAM_CALORIE = 'KILOGRAM_CALORIE' |
const | KILOGRAM_FORCE_METER = 'KILOGRAM_FORCE_METER' |
const | KILOJOULE = 'KILOJOULE' |
const | KILOPOND_METER = 'KILOPOND_METER' |
const | KILOTON = 'KILOTON' |
const | KILOWATT_HOUR = 'KILOWATT_HOUR' |
const | LITER_ATMOSPHERE = 'LITER_ATMOSPHERE' |
const | MEGAELECTRONVOLT = 'MEGAELECTRONVOLT' |
const | MEGACALORIE = 'MEGACALORIE' |
const | MEGACALORIE_15C = 'MEGACALORIE_15C' |
const | MEGAJOULE = 'MEGAJOULE' |
const | MEGALERG = 'MEGALERG' |
const | MEGATON = 'MEGATON' |
const | MEGAWATTHOUR = 'MEGAWATTHOUR' |
const | METER_KILOGRAM_FORCE = 'METER_KILOGRAM_FORCE' |
const | MICROJOULE = 'MICROJOULE' |
const | MILLIJOULE = 'MILLIJOULE' |
const | MYRIAWATT_HOUR = 'MYRIAWATT_HOUR' |
const | NANOJOULE = 'NANOJOULE' |
const | NEWTON_METER = 'NEWTON_METER' |
const | PETAJOULE = 'PETAJOULE' |
const | PETAWATTHOUR = 'PETAWATTHOUR' |
const | PFERDESTAERKENSTUNDE = 'PFERDESTAERKENSTUNDE' |
const | PICOJOULE = 'PICOJOULE' |
const | Q_UNIT = 'Q_UNIT' |
const | QUAD = 'QUAD' |
const | TERAELECTRONVOLT = 'TERAELECTRONVOLT' |
const | TERAJOULE = 'TERAJOULE' |
const | TERAWATTHOUR = 'TERAWATTHOUR' |
const | THERM = 'THERM' |
const | THERM_US = 'THERM_US' |
const | THERMIE = 'THERMIE' |
const | TON = 'TON' |
const | TONNE_COAL = 'TONNE_COAL' |
const | TONNE_OIL = 'TONNE_OIL' |
const | WATTHOUR = 'WATTHOUR' |
const | WATTSECOND = 'WATTSECOND' |
const | YOCTOJOULE = 'YOCTOJOULE' |
const | YOTTAJOULE = 'YOTTAJOULE' |
const | YOTTAWATTHOUR = 'YOTTAWATTHOUR' |
const | ZEPTOJOULE = 'ZEPTOJOULE' |
const | ZETTAJOULE = 'ZETTAJOULE' |
const | ZETTAWATTHOUR = 'ZETTAWATTHOUR' |
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 Energy.php.
|
protected |
Definition at line 148 of file Energy.php.
const ATTOJOULE = 'ATTOJOULE' |
Definition at line 41 of file Energy.php.
const BOARD_OF_TRADE_UNIT = 'BOARD_OF_TRADE_UNIT' |
Definition at line 42 of file Energy.php.
const BTU = 'BTU' |
Definition at line 43 of file Energy.php.
const BTU_THERMOCHEMICAL = 'BTU_TERMOCHEMICAL' |
Definition at line 44 of file Energy.php.
const CALORIE = 'CALORIE' |
Definition at line 45 of file Energy.php.
const CALORIE_15C = 'CALORIE_15C' |
Definition at line 46 of file Energy.php.
const CALORIE_NUTRITIONAL = 'CALORIE_NUTRITIONAL' |
Definition at line 47 of file Energy.php.
const CALORIE_THERMOCHEMICAL = 'CALORIE_THERMOCHEMICAL' |
Definition at line 48 of file Energy.php.
const CELSIUS_HEAT_UNIT = 'CELSIUS_HEAT_UNIT' |
Definition at line 49 of file Energy.php.
const CENTIJOULE = 'CENTIJOULE' |
Definition at line 50 of file Energy.php.
const CHEVAL_VAPEUR_HEURE = 'CHEVAL_VAPEUR_HEURE' |
Definition at line 51 of file Energy.php.
const DECIJOULE = 'DECIJOULE' |
Definition at line 52 of file Energy.php.
const DEKAJOULE = 'DEKAJOULE' |
Definition at line 53 of file Energy.php.
const DEKATHERM = 'DEKATHERM' |
Definition at line 55 of file Energy.php.
const DEKAWATT_HOUR = 'DEKAWATT_HOUR' |
Definition at line 54 of file Energy.php.
const ELECTRONVOLT = 'ELECTRONVOLT' |
Definition at line 56 of file Energy.php.
const ERG = 'ERG' |
Definition at line 57 of file Energy.php.
const EXAJOULE = 'EXAJOULE' |
Definition at line 58 of file Energy.php.
const EXAWATT_HOUR = 'EXAWATT_HOUR' |
Definition at line 59 of file Energy.php.
const FEMTOJOULE = 'FEMTOJOULE' |
Definition at line 60 of file Energy.php.
const FOOT_POUND = 'FOOT_POUND' |
Definition at line 61 of file Energy.php.
const FOOT_POUNDAL = 'FOOT_POUNDAL' |
Definition at line 62 of file Energy.php.
const GALLON_UK_AUTOMOTIVE = 'GALLON_UK_AUTOMOTIVE' |
Definition at line 63 of file Energy.php.
const GALLON_UK_AVIATION = 'GALLON_UK_AVIATION' |
Definition at line 65 of file Energy.php.
const GALLON_UK_DIESEL = 'GALLON_UK_DIESEL' |
Definition at line 67 of file Energy.php.
const GALLON_UK_DISTILATE = 'GALLON_UK_DISTILATE' |
Definition at line 69 of file Energy.php.
const GALLON_UK_KEROSENE = 'GALLON_UK_KEROSINE' |
Definition at line 77 of file Energy.php.
const GALLON_UK_KEROSINE_JET = 'GALLON_UK_KEROSINE_JET' |
Definition at line 71 of file Energy.php.
const GALLON_UK_LPG = 'GALLON_UK_LPG' |
Definition at line 73 of file Energy.php.
const GALLON_UK_NAPHTA = 'GALLON_UK_NAPHTA' |
Definition at line 75 of file Energy.php.
const GALLON_UK_RESIDUAL = 'GALLON_UK_RESIDUAL' |
Definition at line 79 of file Energy.php.
const GALLON_US_AUTOMOTIVE = 'GALLON_US_AUTOMOTIVE' |
Definition at line 64 of file Energy.php.
const GALLON_US_AVIATION = 'GALLON_US_AVIATION' |
Definition at line 66 of file Energy.php.
const GALLON_US_DIESEL = 'GALLON_US_DIESEL' |
Definition at line 68 of file Energy.php.
const GALLON_US_DISTILATE = 'GALLON_US_DISTILATE' |
Definition at line 70 of file Energy.php.
const GALLON_US_KEROSENE = 'GALLON_US_KEROSINE' |
Definition at line 78 of file Energy.php.
const GALLON_US_KEROSINE_JET = 'GALLON_US_KEROSINE_JET' |
Definition at line 72 of file Energy.php.
const GALLON_US_LPG = 'GALLON_US_LPG' |
Definition at line 74 of file Energy.php.
const GALLON_US_NAPHTA = 'GALLON_US_NAPHTA' |
Definition at line 76 of file Energy.php.
const GALLON_US_RESIDUAL = 'GALLON_US_RESIDUAL' |
Definition at line 80 of file Energy.php.
const GIGACALORIE = 'GIGACALORIE' |
Definition at line 82 of file Energy.php.
const GIGACALORIE_15C = 'GIGACALORIE_15C' |
Definition at line 83 of file Energy.php.
const GIGAELECTRONVOLT = 'GIGAELECTRONVOLT' |
Definition at line 81 of file Energy.php.
const GIGAJOULE = 'GIGAJOULE' |
Definition at line 84 of file Energy.php.
const GIGAWATT_HOUR = 'GIGAWATT_HOUR' |
Definition at line 85 of file Energy.php.
const GRAM_CALORIE = 'GRAM_CALORIE' |
Definition at line 86 of file Energy.php.
const HARTREE = 'HARTREE' |
Definition at line 87 of file Energy.php.
const HECTOJOULE = 'HECTOJOULE' |
Definition at line 88 of file Energy.php.
const HECTOWATT_HOUR = 'HECTOWATT_HOUR' |
Definition at line 89 of file Energy.php.
const HORSEPOWER_HOUR = 'HORSEPOWER_HOUR' |
Definition at line 90 of file Energy.php.
const HUNDRED_CUBIC_FOOT_GAS = 'HUNDRED_CUBIC_FOOT_GAS' |
Definition at line 91 of file Energy.php.
const INCH_OUNCE = 'INCH_OUNCE' |
Definition at line 92 of file Energy.php.
const INCH_POUND = 'INCH_POUND' |
Definition at line 93 of file Energy.php.
const JOULE = 'JOULE' |
Definition at line 94 of file Energy.php.
const KILOCALORIE = 'KILOCALORIE' |
Definition at line 96 of file Energy.php.
const KILOCALORIE_15C = 'KILOCALORIE_15C' |
Definition at line 95 of file Energy.php.
const KILOCALORIE_THERMOCHEMICAL = 'KILOCALORIE_THERMOCHEMICAL' |
Definition at line 97 of file Energy.php.
const KILOELECTRONVOLT = 'KILOELECTRONVOLT' |
Definition at line 98 of file Energy.php.
const KILOGRAM_CALORIE = 'KILOGRAM_CALORIE' |
Definition at line 99 of file Energy.php.
const KILOGRAM_FORCE_METER = 'KILOGRAM_FORCE_METER' |
Definition at line 100 of file Energy.php.
const KILOJOULE = 'KILOJOULE' |
Definition at line 101 of file Energy.php.
const KILOPOND_METER = 'KILOPOND_METER' |
Definition at line 102 of file Energy.php.
const KILOTON = 'KILOTON' |
Definition at line 103 of file Energy.php.
const KILOWATT_HOUR = 'KILOWATT_HOUR' |
Definition at line 104 of file Energy.php.
const LITER_ATMOSPHERE = 'LITER_ATMOSPHERE' |
Definition at line 105 of file Energy.php.
const MEGACALORIE = 'MEGACALORIE' |
Definition at line 107 of file Energy.php.
const MEGACALORIE_15C = 'MEGACALORIE_15C' |
Definition at line 108 of file Energy.php.
const MEGAELECTRONVOLT = 'MEGAELECTRONVOLT' |
Definition at line 106 of file Energy.php.
const MEGAJOULE = 'MEGAJOULE' |
Definition at line 109 of file Energy.php.
const MEGALERG = 'MEGALERG' |
Definition at line 110 of file Energy.php.
const MEGATON = 'MEGATON' |
Definition at line 111 of file Energy.php.
const MEGAWATTHOUR = 'MEGAWATTHOUR' |
Definition at line 112 of file Energy.php.
const METER_KILOGRAM_FORCE = 'METER_KILOGRAM_FORCE' |
Definition at line 113 of file Energy.php.
const MICROJOULE = 'MICROJOULE' |
Definition at line 114 of file Energy.php.
const MILLIJOULE = 'MILLIJOULE' |
Definition at line 115 of file Energy.php.
const MYRIAWATT_HOUR = 'MYRIAWATT_HOUR' |
Definition at line 116 of file Energy.php.
const NANOJOULE = 'NANOJOULE' |
Definition at line 117 of file Energy.php.
const NEWTON_METER = 'NEWTON_METER' |
Definition at line 118 of file Energy.php.
const PETAJOULE = 'PETAJOULE' |
Definition at line 119 of file Energy.php.
const PETAWATTHOUR = 'PETAWATTHOUR' |
Definition at line 120 of file Energy.php.
const PFERDESTAERKENSTUNDE = 'PFERDESTAERKENSTUNDE' |
Definition at line 121 of file Energy.php.
const PICOJOULE = 'PICOJOULE' |
Definition at line 122 of file Energy.php.
const Q_UNIT = 'Q_UNIT' |
Definition at line 123 of file Energy.php.
const QUAD = 'QUAD' |
Definition at line 124 of file Energy.php.
const STANDARD = 'JOULE' |
Definition at line 39 of file Energy.php.
const TERAELECTRONVOLT = 'TERAELECTRONVOLT' |
Definition at line 125 of file Energy.php.
const TERAJOULE = 'TERAJOULE' |
Definition at line 126 of file Energy.php.
const TERAWATTHOUR = 'TERAWATTHOUR' |
Definition at line 127 of file Energy.php.
const THERM = 'THERM' |
Definition at line 128 of file Energy.php.
const THERM_US = 'THERM_US' |
Definition at line 129 of file Energy.php.
const THERMIE = 'THERMIE' |
Definition at line 130 of file Energy.php.
const TON = 'TON' |
Definition at line 131 of file Energy.php.
const TONNE_COAL = 'TONNE_COAL' |
Definition at line 132 of file Energy.php.
const TONNE_OIL = 'TONNE_OIL' |
Definition at line 133 of file Energy.php.
const WATTHOUR = 'WATTHOUR' |
Definition at line 134 of file Energy.php.
const WATTSECOND = 'WATTSECOND' |
Definition at line 135 of file Energy.php.
const YOCTOJOULE = 'YOCTOJOULE' |
Definition at line 136 of file Energy.php.
const YOTTAJOULE = 'YOTTAJOULE' |
Definition at line 137 of file Energy.php.
const YOTTAWATTHOUR = 'YOTTAWATTHOUR' |
Definition at line 138 of file Energy.php.
const ZEPTOJOULE = 'ZEPTOJOULE' |
Definition at line 139 of file Energy.php.
const ZETTAJOULE = 'ZETTAJOULE' |
Definition at line 140 of file Energy.php.
const ZETTAWATTHOUR = 'ZETTAWATTHOUR' |
Definition at line 141 of file Energy.php.