Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Data Fields | Protected Attributes
Zend_Measure_Torque Class Reference
Inheritance diagram for Zend_Measure_Torque:
Zend_Measure_Abstract

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
 
- Protected Attributes inherited from Zend_Measure_Abstract
 $_value
 
 $_type
 
 $_locale = null
 
 $_units = array()
 

Additional Inherited Members

- Public Member Functions inherited from Zend_Measure_Abstract
 __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)
 

Detailed Description

Definition at line 37 of file Torque.php.

Field Documentation

◆ $_units

$_units
protected
Initial value:
= array(
'DYNE_CENTIMETER' => array('0.0000001', 'dyncm'),
'GRAM_CENTIMETER' => array('0.0000980665', 'gcm'),
'KILOGRAM_CENTIMETER' => array('0.0980665', 'kgcm'),
'KILOGRAM_METER' => array('9.80665', 'kgm'),
'KILONEWTON_METER' => array('1000', 'kNm'),
'KILOPOND_METER' => array('9.80665', 'kpm'),
'MEGANEWTON_METER' => array('1000000', 'MNm'),
'MICRONEWTON_METER' => array('0.000001', 'µNm'),
'MILLINEWTON_METER' => array('0.001', 'mNm'),
'NEWTON_CENTIMETER' => array('0.01', 'Ncm'),
'NEWTON_METER' => array('1', 'Nm'),
'OUNCE_FOOT' => array('0.084738622', 'ozft'),
'OUNCE_INCH' => array(array('' => '0.084738622', '/' => '12'), 'ozin'),
'POUND_FOOT' => array(array('' => '0.084738622', '*' => '16'), 'lbft'),
'POUNDAL_FOOT' => array('0.0421401099752144', 'plft'),
'POUND_INCH' => array(array('' => '0.084738622', '/' => '12', '*' => '16'), 'lbin'),
'STANDARD' => 'NEWTON_METER'
)

Definition at line 63 of file Torque.php.

◆ DYNE_CENTIMETER

const DYNE_CENTIMETER = 'DYNE_CENTIMETER'

Definition at line 41 of file Torque.php.

◆ GRAM_CENTIMETER

const GRAM_CENTIMETER = 'GRAM_CENTIMETER'

Definition at line 42 of file Torque.php.

◆ KILOGRAM_CENTIMETER

const KILOGRAM_CENTIMETER = 'KILOGRAM_CENTIMETER'

Definition at line 43 of file Torque.php.

◆ KILOGRAM_METER

const KILOGRAM_METER = 'KILOGRAM_METER'

Definition at line 44 of file Torque.php.

◆ KILONEWTON_METER

const KILONEWTON_METER = 'KILONEWTON_METER'

Definition at line 45 of file Torque.php.

◆ KILOPOND_METER

const KILOPOND_METER = 'KILOPOND_METER'

Definition at line 46 of file Torque.php.

◆ MEGANEWTON_METER

const MEGANEWTON_METER = 'MEGANEWTON_METER'

Definition at line 47 of file Torque.php.

◆ MICRONEWTON_METER

const MICRONEWTON_METER = 'MICRONEWTON_METER'

Definition at line 48 of file Torque.php.

◆ MILLINEWTON_METER

const MILLINEWTON_METER = 'MILLINEWTON_METER'

Definition at line 49 of file Torque.php.

◆ NEWTON_CENTIMETER

const NEWTON_CENTIMETER = 'NEWTON_CENTIMETER'

Definition at line 50 of file Torque.php.

◆ NEWTON_METER

const NEWTON_METER = 'NEWTON_METER'

Definition at line 51 of file Torque.php.

◆ OUNCE_FOOT

const OUNCE_FOOT = 'OUNCE_FOOT'

Definition at line 52 of file Torque.php.

◆ OUNCE_INCH

const OUNCE_INCH = 'OUNCE_INCH'

Definition at line 53 of file Torque.php.

◆ POUND_FOOT

const POUND_FOOT = 'POUND_FOOT'

Definition at line 54 of file Torque.php.

◆ POUND_INCH

const POUND_INCH = 'POUND_INCH'

Definition at line 56 of file Torque.php.

◆ POUNDAL_FOOT

const POUNDAL_FOOT = 'POUNDAL_FOOT'

Definition at line 55 of file Torque.php.

◆ STANDARD

const STANDARD = 'NEWTON_METER'

Definition at line 39 of file Torque.php.


The documentation for this class was generated from the following file: