Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
zendframework1
library
Zend
Measure
Volume.php
Go to the documentation of this file.
1
<?php
25
#require_once 'Zend/Measure/Abstract.php';
26
#require_once 'Zend/Locale.php';
27
37
class
Zend_Measure_Volume
extends
Zend_Measure_Abstract
38
{
39
const
STANDARD
=
'CUBIC_METER'
;
40
41
const
ACRE_FOOT
=
'ACRE_FOOT'
;
42
const
ACRE_FOOT_SURVEY
=
'ACRE_FOOT_SURVEY'
;
43
const
ACRE_INCH
=
'ACRE_INCH'
;
44
const
BARREL_WINE
=
'BARREL_WINE'
;
45
const
BARREL
=
'BARREL'
;
46
const
BARREL_US_DRY
=
'BARREL_US_DRY'
;
47
const
BARREL_US_FEDERAL
=
'BARREL_US_FEDERAL'
;
48
const
BARREL_US
=
'BARREL_US'
;
49
const
BARREL_US_PETROLEUM
=
'BARREL_US_PETROLEUM'
;
50
const
BOARD_FOOT
=
'BOARD_FOOT'
;
51
const
BUCKET
=
'BUCKET'
;
52
const
BUCKET_US
=
'BUCKET_US'
;
53
const
BUSHEL
=
'BUSHEL'
;
54
const
BUSHEL_US
=
'BUSHEL_US'
;
55
const
CENTILTER
=
'CENTILITER'
;
56
const
CORD
=
'CORD'
;
57
const
CORD_FOOT
=
'CORD_FOOT'
;
58
const
CUBIC_CENTIMETER
=
'CUBIC_CENTIMETER'
;
59
const
CUBIC_CUBIT
=
'CUBIC_CUBIT'
;
60
const
CUBIC_DECIMETER
=
'CUBIC_DECIMETER'
;
61
const
CUBIC_DEKAMETER
=
'CUBIC_DEKAMETER'
;
62
const
CUBIC_FOOT
=
'CUBIC_FOOT'
;
63
const
CUBIC_INCH
=
'CUBIC_INCH'
;
64
const
CUBIC_KILOMETER
=
'CUBIC_KILOMETER'
;
65
const
CUBIC_METER
=
'CUBIC_METER'
;
66
const
CUBIC_MILE
=
'CUBIC_MILE'
;
67
const
CUBIC_MICROMETER
=
'CUBIC_MICROMETER'
;
68
const
CUBIC_MILLIMETER
=
'CUBIC_MILLIMETER'
;
69
const
CUBIC_YARD
=
'CUBIC_YARD'
;
70
const
CUP_CANADA
=
'CUP_CANADA'
;
71
const
CUP
=
'CUP'
;
72
const
CUP_US
=
'CUP_US'
;
73
const
DECILITER
=
'DECILITER'
;
74
const
DEKALITER
=
'DEKALITER'
;
75
const
DRAM
=
'DRAM'
;
76
const
DRUM_US
=
'DRUM_US'
;
77
const
DRUM
=
'DRUM'
;
78
const
FIFTH
=
'FIFTH'
;
79
const
GALLON
=
'GALLON'
;
80
const
GALLON_US_DRY
=
'GALLON_US_DRY'
;
81
const
GALLON_US
=
'GALLON_US'
;
82
const
GILL
=
'GILL'
;
83
const
GILL_US
=
'GILL_US'
;
84
const
HECTARE_METER
=
'HECTARE_METER'
;
85
const
HECTOLITER
=
'HECTOLITER'
;
86
const
HOGSHEAD
=
'HOGSHEAD'
;
87
const
HOGSHEAD_US
=
'HOGSHEAD_US'
;
88
const
JIGGER
=
'JIGGER'
;
89
const
KILOLITER
=
'KILOLITER'
;
90
const
LITER
=
'LITER'
;
91
const
MEASURE
=
'MEASURE'
;
92
const
MEGALITER
=
'MEGALITER'
;
93
const
MICROLITER
=
'MICROLITER'
;
94
const
MILLILITER
=
'MILLILITER'
;
95
const
MINIM
=
'MINIM'
;
96
const
MINIM_US
=
'MINIM_US'
;
97
const
OUNCE
=
'OUNCE'
;
98
const
OUNCE_US
=
'OUNCE_US'
;
99
const
PECK
=
'PECK'
;
100
const
PECK_US
=
'PECK_US'
;
101
const
PINT
=
'PINT'
;
102
const
PINT_US_DRY
=
'PINT_US_DRY'
;
103
const
PINT_US
=
'PINT_US'
;
104
const
PIPE
=
'PIPE'
;
105
const
PIPE_US
=
'PIPE_US'
;
106
const
PONY
=
'PONY'
;
107
const
QUART_GERMANY
=
'QUART_GERMANY'
;
108
const
QUART_ANCIENT
=
'QUART_ANCIENT'
;
109
const
QUART
=
'QUART'
;
110
const
QUART_US_DRY
=
'QUART_US_DRY'
;
111
const
QUART_US
=
'QUART_US'
;
112
const
QUART_UK
=
'QUART_UK'
;
113
const
SHOT
=
'SHOT'
;
114
const
STERE
=
'STERE'
;
115
const
TABLESPOON
=
'TABLESPOON'
;
116
const
TABLESPOON_UK
=
'TABLESPOON_UK'
;
117
const
TABLESPOON_US
=
'TABLESPOON_US'
;
118
const
TEASPOON
=
'TEASPOON'
;
119
const
TEASPOON_UK
=
'TEASPOON_UK'
;
120
const
TEASPOON_US
=
'TEASPOON_US'
;
121
const
YARD
=
'YARD'
;
122
128
protected
$_units
= array(
129
'ACRE_FOOT'
=> array(
'1233.48185532'
,
'ac ft'
),
130
'ACRE_FOOT_SURVEY'
=> array(
'1233.489'
,
'ac ft'
),
131
'ACRE_INCH'
=> array(
'102.79015461'
,
'ac in'
),
132
'BARREL_WINE'
=> array(
'0.143201835'
,
'bbl'
),
133
'BARREL'
=> array(
'0.16365924'
,
'bbl'
),
134
'BARREL_US_DRY'
=> array(array(
''
=>
'26.7098656608'
,
'/'
=>
'231'
),
'bbl'
),
135
'BARREL_US_FEDERAL'
=> array(
'0.1173477658'
,
'bbl'
),
136
'BARREL_US'
=> array(
'0.1192404717'
,
'bbl'
),
137
'BARREL_US_PETROLEUM'
=> array(
'0.1589872956'
,
'bbl'
),
138
'BOARD_FOOT'
=> array(array(
''
=>
'6.5411915904'
,
'/'
=>
'2772'
),
'board foot'
),
139
'BUCKET'
=> array(
'0.01818436'
,
'bucket'
),
140
'BUCKET_US'
=> array(
'0.018927059'
,
'bucket'
),
141
'BUSHEL'
=> array(
'0.03636872'
,
'bu'
),
142
'BUSHEL_US'
=> array(
'0.03523907'
,
'bu'
),
143
'CENTILITER'
=> array(
'0.00001'
,
'cl'
),
144
'CORD'
=> array(
'3.624556416'
,
'cd'
),
145
'CORD_FOOT'
=> array(
'0.453069552'
,
'cd ft'
),
146
'CUBIC_CENTIMETER'
=> array(
'0.000001'
,
'cm³'
),
147
'CUBIC_CUBIT'
=> array(
'0.144'
,
'cubit³'
),
148
'CUBIC_DECIMETER'
=> array(
'0.001'
,
'dm³'
),
149
'CUBIC_DEKAMETER'
=> array(
'1000'
,
'dam³'
),
150
'CUBIC_FOOT'
=> array(array(
''
=>
'6.54119159'
,
'/'
=>
'231'
),
'ft³'
),
151
'CUBIC_INCH'
=> array(array(
''
=>
'0.0037854118'
,
'/'
=>
'231'
),
'in³'
),
152
'CUBIC_KILOMETER'
=> array(
'1.0e+9'
,
'km³'
),
153
'CUBIC_METER'
=> array(
'1'
,
'm³'
),
154
'CUBIC_MILE'
=> array(array(
''
=>
'0.0037854118'
,
'/'
=>
'231'
,
'*'
=>
'75271680'
,
'*'
=>
'3379200'
),
155
'mi³'
),
156
'CUBIC_MICROMETER'
=> array(
'1.0e-18'
,
'µm³'
),
157
'CUBIC_MILLIMETER'
=> array(
'1.0e-9'
,
'mm³'
),
158
'CUBIC_YARD'
=> array(array(
''
=>
'0.0037854118'
,
'/'
=>
'231'
,
'*'
=>
'46656'
),
'yd³'
),
159
'CUP_CANADA'
=> array(
'0.0002273045'
,
'c'
),
160
'CUP'
=> array(
'0.00025'
,
'c'
),
161
'CUP_US'
=> array(array(
''
=>
'0.0037854118'
,
'/'
=>
'16'
),
'c'
),
162
'DECILITER'
=> array(
'0.0001'
,
'dl'
),
163
'DEKALITER'
=> array(
'0.001'
,
'dal'
),
164
'DRAM'
=> array(array(
''
=>
'0.0037854118'
,
'/'
=>
'1024'
),
'dr'
),
165
'DRUM_US'
=> array(
'0.208197649'
,
'drum'
),
166
'DRUM'
=> array(
'0.2'
,
'drum'
),
167
'FIFTH'
=> array(
'0.00075708236'
,
'fifth'
),
168
'GALLON'
=> array(
'0.00454609'
,
'gal'
),
169
'GALLON_US_DRY'
=> array(
'0.0044048838'
,
'gal'
),
170
'GALLON_US'
=> array(
'0.0037854118'
,
'gal'
),
171
'GILL'
=> array(array(
''
=>
'0.00454609'
,
'/'
=>
'32'
),
'gi'
),
172
'GILL_US'
=> array(array(
''
=>
'0.0037854118'
,
'/'
=>
'32'
),
'gi'
),
173
'HECTARE_METER'
=> array(
'10000'
,
'ha m'
),
174
'HECTOLITER'
=> array(
'0.1'
,
'hl'
),
175
'HOGSHEAD'
=> array(
'0.28640367'
,
'hhd'
),
176
'HOGSHEAD_US'
=> array(
'0.2384809434'
,
'hhd'
),
177
'JIGGER'
=> array(array(
''
=>
'0.0037854118'
,
'/'
=>
'128'
,
'*'
=>
'1.5'
),
'jigger'
),
178
'KILOLITER'
=> array(
'1'
,
'kl'
),
179
'LITER'
=> array(
'0.001'
,
'l'
),
180
'MEASURE'
=> array(
'0.0077'
,
'measure'
),
181
'MEGALITER'
=> array(
'1000'
,
'Ml'
),
182
'MICROLITER'
=> array(
'1.0e-9'
,
'µl'
),
183
'MILLILITER'
=> array(
'0.000001'
,
'ml'
),
184
'MINIM'
=> array(array(
''
=>
'0.00454609'
,
'/'
=>
'76800'
),
'min'
),
185
'MINIM_US'
=> array(array(
''
=>
'0.0037854118'
,
'/'
=>
'61440'
),
'min'
),
186
'OUNCE'
=> array(array(
''
=>
'0.00454609'
,
'/'
=>
'160'
),
'oz'
),
187
'OUNCE_US'
=> array(array(
''
=>
'0.0037854118'
,
'/'
=>
'128'
),
'oz'
),
188
'PECK'
=> array(
'0.00909218'
,
'pk'
),
189
'PECK_US'
=> array(
'0.0088097676'
,
'pk'
),
190
'PINT'
=> array(array(
''
=>
'0.00454609'
,
'/'
=>
'8'
),
'pt'
),
191
'PINT_US_DRY'
=> array(array(
''
=>
'0.0044048838'
,
'/'
=>
'8'
),
'pt'
),
192
'PINT_US'
=> array(array(
''
=>
'0.0037854118'
,
'/'
=>
'8'
),
'pt'
),
193
'PIPE'
=> array(
'0.49097772'
,
'pipe'
),
194
'PIPE_US'
=> array(
'0.4769618868'
,
'pipe'
),
195
'PONY'
=> array(array(
''
=>
'0.0037854118'
,
'/'
=>
'128'
),
'pony'
),
196
'QUART_GERMANY'
=> array(
'0.00114504'
,
'qt'
),
197
'QUART_ANCIENT'
=> array(
'0.00108'
,
'qt'
),
198
'QUART'
=> array(array(
''
=>
'0.00454609'
,
'/'
=>
'4'
),
'qt'
),
199
'QUART_US_DRY'
=> array(array(
''
=>
'0.0044048838'
,
'/'
=>
'4'
),
'qt'
),
200
'QUART_US'
=> array(array(
''
=>
'0.0037854118'
,
'/'
=>
'4'
),
'qt'
),
201
'QUART_UK'
=> array(
'0.29094976'
,
'qt'
),
202
'SHOT'
=> array(array(
''
=>
'0.0037854118'
,
'/'
=>
'128'
),
'shot'
),
203
'STERE'
=> array(
'1'
,
'st'
),
204
'TABLESPOON'
=> array(
'0.000015'
,
'tbsp'
),
205
'TABLESPOON_UK'
=> array(array(
''
=>
'0.00454609'
,
'/'
=>
'320'
),
'tbsp'
),
206
'TABLESPOON_US'
=> array(array(
''
=>
'0.0037854118'
,
'/'
=>
'256'
),
'tbsp'
),
207
'TEASPOON'
=> array(
'0.000005'
,
'tsp'
),
208
'TEASPOON_UK'
=> array(array(
''
=>
'0.00454609'
,
'/'
=>
'1280'
),
'tsp'
),
209
'TEASPOON_US'
=> array(array(
''
=>
'0.0037854118'
,
'/'
=>
'768'
),
'tsp'
),
210
'YARD'
=> array(array(
''
=>
'176.6121729408'
,
'/'
=>
'231'
),
'yd'
),
211
'STANDARD'
=>
'CUBIC_METER'
212
);
213
}
Zend_Measure_Volume\TABLESPOON_UK
const TABLESPOON_UK
Definition:
Volume.php:116
Zend_Measure_Volume\BUSHEL
const BUSHEL
Definition:
Volume.php:53
Zend_Measure_Volume\PONY
const PONY
Definition:
Volume.php:106
Zend_Measure_Volume\BARREL_WINE
const BARREL_WINE
Definition:
Volume.php:44
Zend_Measure_Volume\GILL_US
const GILL_US
Definition:
Volume.php:83
Zend_Measure_Volume\STERE
const STERE
Definition:
Volume.php:114
Zend_Measure_Volume\GALLON_US_DRY
const GALLON_US_DRY
Definition:
Volume.php:80
Zend_Measure_Volume\BARREL_US
const BARREL_US
Definition:
Volume.php:48
Zend_Measure_Volume\CUBIC_MILE
const CUBIC_MILE
Definition:
Volume.php:66
Zend_Measure_Volume\QUART_GERMANY
const QUART_GERMANY
Definition:
Volume.php:107
Zend_Measure_Volume\HOGSHEAD_US
const HOGSHEAD_US
Definition:
Volume.php:87
Zend_Measure_Volume\DRUM_US
const DRUM_US
Definition:
Volume.php:76
Zend_Measure_Volume\CENTILTER
const CENTILTER
Definition:
Volume.php:55
Zend_Measure_Volume\SHOT
const SHOT
Definition:
Volume.php:113
Zend_Measure_Volume\BARREL
const BARREL
Definition:
Volume.php:45
Zend_Measure_Volume\CUBIC_INCH
const CUBIC_INCH
Definition:
Volume.php:63
Zend_Measure_Volume
Definition:
Volume.php:37
Zend_Measure_Volume\LITER
const LITER
Definition:
Volume.php:90
Zend_Measure_Volume\KILOLITER
const KILOLITER
Definition:
Volume.php:89
Zend_Measure_Volume\BUCKET
const BUCKET
Definition:
Volume.php:51
Zend_Measure_Volume\ACRE_FOOT
const ACRE_FOOT
Definition:
Volume.php:41
Zend_Measure_Volume\CUBIC_MICROMETER
const CUBIC_MICROMETER
Definition:
Volume.php:67
Zend_Measure_Volume\TEASPOON_UK
const TEASPOON_UK
Definition:
Volume.php:119
Zend_Measure_Volume\CUBIC_KILOMETER
const CUBIC_KILOMETER
Definition:
Volume.php:64
Zend_Measure_Volume\QUART_UK
const QUART_UK
Definition:
Volume.php:112
Zend_Measure_Volume\MEASURE
const MEASURE
Definition:
Volume.php:91
Zend_Measure_Volume\HECTOLITER
const HECTOLITER
Definition:
Volume.php:85
Zend_Measure_Volume\BUSHEL_US
const BUSHEL_US
Definition:
Volume.php:54
Zend_Measure_Volume\YARD
const YARD
Definition:
Volume.php:121
Zend_Measure_Volume\CUBIC_MILLIMETER
const CUBIC_MILLIMETER
Definition:
Volume.php:68
Zend_Measure_Volume\OUNCE
const OUNCE
Definition:
Volume.php:97
Zend_Measure_Volume\MINIM_US
const MINIM_US
Definition:
Volume.php:96
Zend_Measure_Volume\QUART_ANCIENT
const QUART_ANCIENT
Definition:
Volume.php:108
Zend_Measure_Volume\ACRE_INCH
const ACRE_INCH
Definition:
Volume.php:43
Zend_Measure_Volume\BOARD_FOOT
const BOARD_FOOT
Definition:
Volume.php:50
Zend_Measure_Volume\PINT
const PINT
Definition:
Volume.php:101
Zend_Measure_Volume\PIPE_US
const PIPE_US
Definition:
Volume.php:105
Zend_Measure_Volume\QUART_US_DRY
const QUART_US_DRY
Definition:
Volume.php:110
Zend_Measure_Volume\BUCKET_US
const BUCKET_US
Definition:
Volume.php:52
Zend_Measure_Volume\PECK_US
const PECK_US
Definition:
Volume.php:100
Zend_Measure_Volume\PINT_US
const PINT_US
Definition:
Volume.php:103
Zend_Measure_Volume\HECTARE_METER
const HECTARE_METER
Definition:
Volume.php:84
Zend_Measure_Volume\$_units
$_units
Definition:
Volume.php:128
Zend_Measure_Volume\CUBIC_DEKAMETER
const CUBIC_DEKAMETER
Definition:
Volume.php:61
Zend_Measure_Volume\TEASPOON
const TEASPOON
Definition:
Volume.php:118
Zend_Measure_Volume\JIGGER
const JIGGER
Definition:
Volume.php:88
Zend_Measure_Volume\CORD_FOOT
const CORD_FOOT
Definition:
Volume.php:57
Zend_Measure_Volume\CUBIC_YARD
const CUBIC_YARD
Definition:
Volume.php:69
Zend_Measure_Volume\BARREL_US_FEDERAL
const BARREL_US_FEDERAL
Definition:
Volume.php:47
Zend_Measure_Volume\HOGSHEAD
const HOGSHEAD
Definition:
Volume.php:86
Zend_Measure_Volume\CUP_CANADA
const CUP_CANADA
Definition:
Volume.php:70
Zend_Measure_Volume\CUP_US
const CUP_US
Definition:
Volume.php:72
Zend_Measure_Volume\GILL
const GILL
Definition:
Volume.php:82
Zend_Measure_Volume\PECK
const PECK
Definition:
Volume.php:99
Zend_Measure_Volume\GALLON_US
const GALLON_US
Definition:
Volume.php:81
Zend_Measure_Volume\CUBIC_CUBIT
const CUBIC_CUBIT
Definition:
Volume.php:59
Zend_Measure_Volume\BARREL_US_PETROLEUM
const BARREL_US_PETROLEUM
Definition:
Volume.php:49
Zend_Measure_Volume\DRAM
const DRAM
Definition:
Volume.php:75
Zend_Measure_Volume\TEASPOON_US
const TEASPOON_US
Definition:
Volume.php:120
Zend_Measure_Volume\OUNCE_US
const OUNCE_US
Definition:
Volume.php:98
Zend_Measure_Volume\MINIM
const MINIM
Definition:
Volume.php:95
Zend_Measure_Abstract
Definition:
Abstract.php:46
Zend_Measure_Volume\DRUM
const DRUM
Definition:
Volume.php:77
Zend_Measure_Volume\ACRE_FOOT_SURVEY
const ACRE_FOOT_SURVEY
Definition:
Volume.php:42
Zend_Measure_Volume\MILLILITER
const MILLILITER
Definition:
Volume.php:94
Zend_Measure_Volume\BARREL_US_DRY
const BARREL_US_DRY
Definition:
Volume.php:46
Zend_Measure_Volume\CUBIC_METER
const CUBIC_METER
Definition:
Volume.php:65
Zend_Measure_Volume\QUART_US
const QUART_US
Definition:
Volume.php:111
Zend_Measure_Volume\TABLESPOON
const TABLESPOON
Definition:
Volume.php:115
Zend_Measure_Volume\MEGALITER
const MEGALITER
Definition:
Volume.php:92
Zend_Measure_Volume\CUBIC_DECIMETER
const CUBIC_DECIMETER
Definition:
Volume.php:60
Zend_Measure_Volume\CUBIC_FOOT
const CUBIC_FOOT
Definition:
Volume.php:62
Zend_Measure_Volume\QUART
const QUART
Definition:
Volume.php:109
Zend_Measure_Volume\DEKALITER
const DEKALITER
Definition:
Volume.php:74
Zend_Measure_Volume\FIFTH
const FIFTH
Definition:
Volume.php:78
Zend_Measure_Volume\MICROLITER
const MICROLITER
Definition:
Volume.php:93
Zend_Measure_Volume\CORD
const CORD
Definition:
Volume.php:56
Zend_Measure_Volume\PINT_US_DRY
const PINT_US_DRY
Definition:
Volume.php:102
Zend_Measure_Volume\CUP
const CUP
Definition:
Volume.php:71
Zend_Measure_Volume\GALLON
const GALLON
Definition:
Volume.php:79
Zend_Measure_Volume\STANDARD
const STANDARD
Definition:
Volume.php:39
Zend_Measure_Volume\TABLESPOON_US
const TABLESPOON_US
Definition:
Volume.php:117
Zend_Measure_Volume\DECILITER
const DECILITER
Definition:
Volume.php:73
Zend_Measure_Volume\CUBIC_CENTIMETER
const CUBIC_CENTIMETER
Definition:
Volume.php:58
Zend_Measure_Volume\PIPE
const PIPE
Definition:
Volume.php:104