Zend Framework  1.12
Public Attributes | Protected Attributes | List of all members
Zend_Measure_Illumination Class Reference

Public Attributes

const STANDARD = 'LUX'
 
const FOOTCANDLE = 'FOOTCANDLE'
 
const KILOLUX = 'KILOLUX'
 
const LUMEN_PER_SQUARE_CENTIMETER = 'LUMEN_PER_SQUARE_CENTIMETER'
 
const LUMEN_PER_SQUARE_FOOT = 'LUMEN_PER_SQUARE_FOOT'
 
const LUMEN_PER_SQUARE_INCH = 'LUMEN_PER_SQUARE_INCH'
 
const LUMEN_PER_SQUARE_METER = 'LUMEN_PER_SQUARE_METER'
 
const LUX = 'LUX'
 
const METERCANDLE = 'METERCANDLE'
 
const MILLIPHOT = 'MILLIPHOT'
 
const NOX = 'NOX'
 
const PHOT = 'PHOT'
 

Protected Attributes

 $_units
 
- Protected Attributes inherited from Zend_Measure_Abstract
 $_value
 Plain value in standard unit.
 
 $_type
 Original type for this unit.
 
 $_locale = null
 Locale identifier.
 
 $_units = array()
 Unit types for this measurement.
 

Additional Inherited Members

- Public Member Functions inherited from Zend_Measure_Abstract
 __construct ($value, $type=null, $locale=null)
 Zend_Measure_Abstract is an abstract class for the different measurement types.
 
 getLocale ()
 Returns the actual set locale.
 
 setLocale ($locale=null, $check=false)
 Sets a new locale for the value representation.
 
 getValue ($round=-1, $locale=null)
 Returns the internal value.
 
 setValue ($value, $type=null, $locale=null)
 Set a new value.
 
 getType ()
 Returns the original type.
 
 setType ($type)
 Set a new type, and convert the value.
 
 equals ($object)
 Compare if the value and type is equal.
 
 toString ($round=-1, $locale=null)
 Returns a string representation.
 
 __toString ()
 Returns a string representation.
 
 getConversionList ()
 Returns the conversion list.
 
 convertTo ($type, $round=2, $locale=null)
 Alias function for setType returning the converted unit.
 
 add ($object)
 Adds an unit to another one.
 
 sub ($object)
 Substracts an unit from another one.
 
 compare ($object)
 Compares two units.
 

Member Data Documentation

$_units
protected
Initial value:
= array(
'FOOTCANDLE' => array('10.7639104', 'fc'),
'KILOLUX' => array('1000', 'klx'),
'LUMEN_PER_SQUARE_CENTIMETER' => array('10000', 'lm/cm²'),
'LUMEN_PER_SQUARE_FOOT' => array('10.7639104', 'lm/ft²'),
'LUMEN_PER_SQUARE_INCH' => array('1550.0030976', 'lm/in²'),
'LUMEN_PER_SQUARE_METER' => array('1', 'lm/m²'),
'LUX' => array('1', 'lx'),
'METERCANDLE' => array('1', 'metercandle'),
'MILLIPHOT' => array('10', 'mph'),
'NOX' => array('0.001', 'nox'),
'PHOT' => array('10000', 'ph'),
'STANDARD' => 'LUX'
)
const FOOTCANDLE = 'FOOTCANDLE'
const KILOLUX = 'KILOLUX'
const LUMEN_PER_SQUARE_CENTIMETER = 'LUMEN_PER_SQUARE_CENTIMETER'
const LUMEN_PER_SQUARE_FOOT = 'LUMEN_PER_SQUARE_FOOT'
const LUMEN_PER_SQUARE_INCH = 'LUMEN_PER_SQUARE_INCH'
const LUMEN_PER_SQUARE_METER = 'LUMEN_PER_SQUARE_METER'
const LUX = 'LUX'
const METERCANDLE = 'METERCANDLE'
const MILLIPHOT = 'MILLIPHOT'
const NOX = 'NOX'
const PHOT = 'PHOT'
const STANDARD = 'LUX'