Class Zend_Measure_Capacitance

Description
  • license: New BSD License
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Measure/Capacitance.php (line 38)

Zend_Measure_Abstract
   |
   --Zend_Measure_Capacitance
Class Constant Summary
 ABFARAD = 'ABFARAD'
 AMPERE_PER_SECOND_VOLT = 'AMPERE_PER_SECOND_VOLT'
 CENTIFARAD = 'CENTIFARAD'
 COULOMB_PER_VOLT = 'COULOMB_PER_VOLT'
 DECIFARAD = 'DECIFARAD'
 DEKAFARAD = 'DEKAFARAD'
 ELECTROMAGNETIC_UNIT = 'ELECTROMAGNETIC_UNIT'
 ELECTROSTATIC_UNIT = 'ELECTROSTATIC_UNIT'
 FARAD = 'FARAD'
 FARAD_INTERNATIONAL = 'FARAD_INTERNATIONAL'
 GAUSSIAN = 'GAUSSIAN'
 GIGAFARAD = 'GIGAFARAD'
 HECTOFARAD = 'HECTOFARAD'
 JAR = 'JAR'
 KILOFARAD = 'KILOFARAD'
 MEGAFARAD = 'MEGAFARAD'
 MICROFARAD = 'MICROFARAD'
 MILLIFARAD = 'MILLIFARAD'
 NANOFARAD = 'NANOFARAD'
 PICOFARAD = 'PICOFARAD'
 PUFF = 'PUFF'
 SECOND_PER_OHM = 'SECOND_PER_OHM'
 STANDARD = 'FARAD'
 STATFARAD = 'STATFARAD'
 TERAFARAD = 'TERAFARAD'
Method Summary
 boolean equals (Zend_Measure_Capacitance $object)
 void setType (string $type)
 void setValue (integer|string $value, [string $type = null], [string|Zend_Locale $locale = null])
 Zend_Measure_Capacitance __construct (integer|string $value, [string $type = null], [string|Zend_Locale $locale = null])
 string toString ()
 string __toString ()
Methods
equals (line 122)

Compare if the value and type is equal

  • access: public
boolean equals (Zend_Measure_Capacitance $object)

Redefinition of:
Zend_Measure_Abstract::equals()
Compare if the value and type is equal
getConversionList (line 219)

Returns the conversion list

  • access: public
array getConversionList ()

Redefinition of:
Zend_Measure_Abstract::getConversionList()
Returns the conversion list
setType (line 175)

Set a new type, and convert the value

  • access: public
  • throws: Zend_Measure_Exception
void setType (string $type)
  • string $type: New type to set

Redefinition of:
Zend_Measure_Abstract::setType()
Sets the original type
setValue (line 140)

Set a new value

  • access: public
  • throws: Zend_Measure_Exception
void setValue (integer|string $value, [string $type = null], [string|Zend_Locale $locale = null])
  • integer|string $value: Value as string, integer, real or float
  • string $type: OPTIONAL A Zend_Measure_Capacitance Type
  • string|Zend_Locale $locale: OPTIONAL Locale for parsing numbers

Redefinition of:
Zend_Measure_Abstract::setValue()
Sets the internal value
Constructor __construct (line 110)

Zend_Measure_Capacitance provides an locale aware class for conversion and formatting of Capacitance values

Zend_Measure $input can be a locale based input string or a value. $locale can be used to define that the input is made in a different language than the actual one.

  • access: public
  • throws: Zend_Measure_Exception
Zend_Measure_Capacitance __construct (integer|string $value, [string $type = null], [string|Zend_Locale $locale = null])
  • integer|string $value: Value as string, integer, real or float
  • string $type: OPTIONAL A Zend_Measure_Capacitance Type
  • string|Zend_Locale $locale: OPTIONAL Locale for parsing numbers
toString (line 197)

Returns a string representation

  • access: public
string toString ()

Redefinition of:
Zend_Measure_Abstract::toString()
Returns a string representation
__toString (line 208)

Returns a string representation

  • access: public
string __toString ()

Redefinition of:
Zend_Measure_Abstract::__toString()
Returns a string representation

Inherited Methods

Inherited From Zend_Measure_Abstract

 Zend_Measure_Abstract::equals()
 Zend_Measure_Abstract::getConversionList()
 Zend_Measure_Abstract::getType()
 Zend_Measure_Abstract::getValue()
 Zend_Measure_Abstract::serialize()
 Zend_Measure_Abstract::setType()
 Zend_Measure_Abstract::setValue()
 Zend_Measure_Abstract::toString()
 Zend_Measure_Abstract::__toString()
Class Constants
ABFARAD = 'ABFARAD' (line 43)
AMPERE_PER_SECOND_VOLT = 'AMPERE_PER_SECOND_VOLT' (line 44)
CENTIFARAD = 'CENTIFARAD' (line 45)
COULOMB_PER_VOLT = 'COULOMB_PER_VOLT' (line 46)
DECIFARAD = 'DECIFARAD' (line 47)
DEKAFARAD = 'DEKAFARAD' (line 48)
ELECTROMAGNETIC_UNIT = 'ELECTROMAGNETIC_UNIT' (line 49)
ELECTROSTATIC_UNIT = 'ELECTROSTATIC_UNIT' (line 50)
FARAD = 'FARAD' (line 51)
FARAD_INTERNATIONAL = 'FARAD_INTERNATIONAL' (line 52)
GAUSSIAN = 'GAUSSIAN' (line 53)
GIGAFARAD = 'GIGAFARAD' (line 54)
HECTOFARAD = 'HECTOFARAD' (line 55)
JAR = 'JAR' (line 56)
KILOFARAD = 'KILOFARAD' (line 57)
MEGAFARAD = 'MEGAFARAD' (line 58)
MICROFARAD = 'MICROFARAD' (line 59)
MILLIFARAD = 'MILLIFARAD' (line 60)
NANOFARAD = 'NANOFARAD' (line 61)
PICOFARAD = 'PICOFARAD' (line 62)
PUFF = 'PUFF' (line 63)
SECOND_PER_OHM = 'SECOND_PER_OHM' (line 64)
STANDARD = 'FARAD' (line 41)
STATFARAD = 'STATFARAD' (line 65)
TERAFARAD = 'TERAFARAD' (line 66)

Documentation generated on Thu, 18 Jan 2007 09:52:24 -0800 by phpDocumentor 1.3.1