Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Illumination.php
Go to the documentation of this file.
1 <?php
25 #require_once 'Zend/Measure/Abstract.php';
26 #require_once 'Zend/Locale.php';
27 
38 {
39  const STANDARD = 'LUX';
40 
41  const FOOTCANDLE = 'FOOTCANDLE';
42  const KILOLUX = 'KILOLUX';
43  const LUMEN_PER_SQUARE_CENTIMETER = 'LUMEN_PER_SQUARE_CENTIMETER';
44  const LUMEN_PER_SQUARE_FOOT = 'LUMEN_PER_SQUARE_FOOT';
45  const LUMEN_PER_SQUARE_INCH = 'LUMEN_PER_SQUARE_INCH';
46  const LUMEN_PER_SQUARE_METER = 'LUMEN_PER_SQUARE_METER';
47  const LUX = 'LUX';
48  const METERCANDLE = 'METERCANDLE';
49  const MILLIPHOT = 'MILLIPHOT';
50  const NOX = 'NOX';
51  const PHOT = 'PHOT';
52 
58  protected $_units = array(
59  'FOOTCANDLE' => array('10.7639104', 'fc'),
60  'KILOLUX' => array('1000', 'klx'),
61  'LUMEN_PER_SQUARE_CENTIMETER' => array('10000', 'lm/cm²'),
62  'LUMEN_PER_SQUARE_FOOT' => array('10.7639104', 'lm/ft²'),
63  'LUMEN_PER_SQUARE_INCH' => array('1550.0030976', 'lm/in²'),
64  'LUMEN_PER_SQUARE_METER' => array('1', 'lm/m²'),
65  'LUX' => array('1', 'lx'),
66  'METERCANDLE' => array('1', 'metercandle'),
67  'MILLIPHOT' => array('10', 'mph'),
68  'NOX' => array('0.001', 'nox'),
69  'PHOT' => array('10000', 'ph'),
70  'STANDARD' => 'LUX'
71  );
72 }