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

Data Fields

const STANDARD = 'KELVIN'
 
const CELSIUS = 'CELSIUS'
 
const FAHRENHEIT = 'FAHRENHEIT'
 
const RANKINE = 'RANKINE'
 
const REAUMUR = 'REAUMUR'
 
const KELVIN = 'KELVIN'
 

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 Temperature.php.

Field Documentation

◆ $_units

$_units
protected
Initial value:
= array(
'CELSIUS' => array(array('' => '1', '+' => '273.15'),'°C'),
'FAHRENHEIT' => array(array('' => '1', '-' => '32', '/' => '1.8', '+' => '273.15'),'°F'),
'RANKINE' => array(array('' => '1', '/' => '1.8'),'°R'),
'REAUMUR' => array(array('' => '1', '*' => '1.25', '+' => '273.15'),'°r'),
'KELVIN' => array(1,'°K'),
'STANDARD' => 'KELVIN'
)

Definition at line 52 of file Temperature.php.

◆ CELSIUS

const CELSIUS = 'CELSIUS'

Definition at line 41 of file Temperature.php.

◆ FAHRENHEIT

const FAHRENHEIT = 'FAHRENHEIT'

Definition at line 42 of file Temperature.php.

◆ KELVIN

const KELVIN = 'KELVIN'

Definition at line 45 of file Temperature.php.

◆ RANKINE

const RANKINE = 'RANKINE'

Definition at line 43 of file Temperature.php.

◆ REAUMUR

const REAUMUR = 'REAUMUR'

Definition at line 44 of file Temperature.php.

◆ STANDARD

const STANDARD = 'KELVIN'

Definition at line 39 of file Temperature.php.


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