## Zend_Measure_Cooking_Weight

Description

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

Located in /Zend/Measure/Cooking/Weight.php (line 38)

    Zend_Measure_Abstract
       |
       --Zend_Measure_Cooking_Weight

Class Constant Summary
CUP = 'CUP'
GRAM = 'GRAM'
HALF_STICK = 'HALF_STICK'
OUNCE = 'OUNCE'
POUND = 'POUND'
STANDARD = 'GRAM'
STICK = 'STICK'
TABLESPOON = 'TABLESPOON'
TABLESPOON_US = 'TABLESPOON_US'
TEASPOON = 'TEASPOON'
TEASPOON_US = 'TEASPOON_US'
Variable Summary
mixed $_UNITS
Variables
mixed $_UNITS = array(
'HALF_STICK' => array(array('' => 453.59237, '/' => 8),'half stk'),'STICK'=>array(array(''=>453.59237,'/'=>4),'stk'),'CUP'=>array(array(''=>453.59237,'/'=>2),'c'),'GRAM'=>array(1,'g'),'OUNCE'=>array(array(''=>453.59237,'/'=>16),'oz'),'POUND'=>array(453.59237,'lb'),'TEASPOON'=>array(array(''=>1.2503332,''=>453.59237,'/'=>128),'tsp'),'TEASPOON_US'=>array(array(''=>453.59237,'/'=>96),'tsp'),'TABLESPOON'=>array(array(''=>1.2503332,''=>453.59237,'/'=>32),'tbsp'),'TABLESPOON_US'=>array(array(''=>453.59237,'/'=>32),'tbsp'),'STANDARD'=>'GRAM') (line 54)

- access: protected

Redefinition of:

Zend_Measure_Abstract::$_UNITS
  Unit types for this measurement

#### Inherited Variables

Inherited from Zend_Measure_Abstract

> Zend_Measure_Abstract::$_Locale
> Zend_Measure_Abstract::$_type
> Zend_Measure_Abstract::$_value

Methods

#### Inherited Methods

Inherited From Zend_Measure_Abstract

> Zend_Measure_Abstract::__construct()
> Zend_Measure_Abstract::add()
> Zend_Measure_Abstract::compare()
> Zend_Measure_Abstract::convertTo()
> Zend_Measure_Abstract::equals()
> Zend_Measure_Abstract::getConversionList()
> Zend_Measure_Abstract::getType()
> Zend_Measure_Abstract::getValue()
> Zend_Measure_Abstract::setType()
> Zend_Measure_Abstract::setValue()
> Zend_Measure_Abstract::sub()
> Zend_Measure_Abstract::toString()
> Zend_Measure_Abstract::__toString()

Class Constants
CUP = 'CUP' (line 45)
GRAM = 'GRAM' (line 46)
HALF_STICK = 'HALF_STICK' (line 43)
OUNCE = 'OUNCE' (line 47)
POUND = 'POUND' (line 48)
STANDARD = 'GRAM' (line 41)
STICK = 'STICK' (line 44)
TABLESPOON = 'TABLESPOON' (line 51)
TABLESPOON_US = 'TABLESPOON_US' (line 52)
TEASPOON = 'TEASPOON' (line 49)
TEASPOON_US = 'TEASPOON_US' (line 50)

Documentation generated on Wed, 21 Feb 2007 12:01:32 -0800 by phpDocumentor 1.3.1