| Magento 2 Documentation
    2.3
    Documentation for Magento 2 CMS v2.3 (December 2018) | 
 
  
| Data Fields | |
| const | STANDARD = 'GRAM' | 
| const | HALF_STICK = 'HALF_STICK' | 
| const | STICK = 'STICK' | 
| const | CUP = 'CUP' | 
| const | GRAM = 'GRAM' | 
| const | OUNCE = 'OUNCE' | 
| const | POUND = 'POUND' | 
| const | TEASPOON = 'TEASPOON' | 
| const | TEASPOON_US = 'TEASPOON_US' | 
| const | TABLESPOON = 'TABLESPOON' | 
| const | TABLESPOON_US = 'TABLESPOON_US' | 
| 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) | |
Definition at line 37 of file Weight.php.
| 
 | protected | 
Definition at line 57 of file Weight.php.
| const CUP = 'CUP' | 
Definition at line 43 of file Weight.php.
| const GRAM = 'GRAM' | 
Definition at line 44 of file Weight.php.
| const HALF_STICK = 'HALF_STICK' | 
Definition at line 41 of file Weight.php.
| const OUNCE = 'OUNCE' | 
Definition at line 45 of file Weight.php.
| const POUND = 'POUND' | 
Definition at line 46 of file Weight.php.
| const STANDARD = 'GRAM' | 
Definition at line 39 of file Weight.php.
| const STICK = 'STICK' | 
Definition at line 42 of file Weight.php.
| const TABLESPOON = 'TABLESPOON' | 
Definition at line 49 of file Weight.php.
| const TABLESPOON_US = 'TABLESPOON_US' | 
Definition at line 50 of file Weight.php.
| const TEASPOON = 'TEASPOON' | 
Definition at line 47 of file Weight.php.
| const TEASPOON_US = 'TEASPOON_US' | 
Definition at line 48 of file Weight.php.