Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Data Fields | |
const | STANDARD = 'NEWTON_METER' |
const | DYNE_CENTIMETER = 'DYNE_CENTIMETER' |
const | GRAM_CENTIMETER = 'GRAM_CENTIMETER' |
const | KILOGRAM_CENTIMETER = 'KILOGRAM_CENTIMETER' |
const | KILOGRAM_METER = 'KILOGRAM_METER' |
const | KILONEWTON_METER = 'KILONEWTON_METER' |
const | KILOPOND_METER = 'KILOPOND_METER' |
const | MEGANEWTON_METER = 'MEGANEWTON_METER' |
const | MICRONEWTON_METER = 'MICRONEWTON_METER' |
const | MILLINEWTON_METER = 'MILLINEWTON_METER' |
const | NEWTON_CENTIMETER = 'NEWTON_CENTIMETER' |
const | NEWTON_METER = 'NEWTON_METER' |
const | OUNCE_FOOT = 'OUNCE_FOOT' |
const | OUNCE_INCH = 'OUNCE_INCH' |
const | POUND_FOOT = 'POUND_FOOT' |
const | POUNDAL_FOOT = 'POUNDAL_FOOT' |
const | POUND_INCH = 'POUND_INCH' |
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 Torque.php.
|
protected |
Definition at line 63 of file Torque.php.
const DYNE_CENTIMETER = 'DYNE_CENTIMETER' |
Definition at line 41 of file Torque.php.
const GRAM_CENTIMETER = 'GRAM_CENTIMETER' |
Definition at line 42 of file Torque.php.
const KILOGRAM_CENTIMETER = 'KILOGRAM_CENTIMETER' |
Definition at line 43 of file Torque.php.
const KILOGRAM_METER = 'KILOGRAM_METER' |
Definition at line 44 of file Torque.php.
const KILONEWTON_METER = 'KILONEWTON_METER' |
Definition at line 45 of file Torque.php.
const KILOPOND_METER = 'KILOPOND_METER' |
Definition at line 46 of file Torque.php.
const MEGANEWTON_METER = 'MEGANEWTON_METER' |
Definition at line 47 of file Torque.php.
const MICRONEWTON_METER = 'MICRONEWTON_METER' |
Definition at line 48 of file Torque.php.
const MILLINEWTON_METER = 'MILLINEWTON_METER' |
Definition at line 49 of file Torque.php.
const NEWTON_CENTIMETER = 'NEWTON_CENTIMETER' |
Definition at line 50 of file Torque.php.
const NEWTON_METER = 'NEWTON_METER' |
Definition at line 51 of file Torque.php.
const OUNCE_FOOT = 'OUNCE_FOOT' |
Definition at line 52 of file Torque.php.
const OUNCE_INCH = 'OUNCE_INCH' |
Definition at line 53 of file Torque.php.
const POUND_FOOT = 'POUND_FOOT' |
Definition at line 54 of file Torque.php.
const POUND_INCH = 'POUND_INCH' |
Definition at line 56 of file Torque.php.
const POUNDAL_FOOT = 'POUNDAL_FOOT' |
Definition at line 55 of file Torque.php.
const STANDARD = 'NEWTON_METER' |
Definition at line 39 of file Torque.php.