Class Simmer_Recipe_Ingredient
The class for gathering and formatting information about a single recipe ingredient.
Final
Package: Simmer\Recipes\Items\Ingredients
Since: 1.3.0
Located at core/recipes/items/ingredients/class-simmer-recipe-ingredient.php
Package: Simmer\Recipes\Items\Ingredients
Since: 1.3.0
Located at core/recipes/items/ingredients/class-simmer-recipe-ingredient.php
public
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public static
string|integer
|
|
public static
float
|
|
public static
string
|
#
get_unit_label( array $unit, integer $count = 1 )
Get the approprate label for a given unit based on count. |
public
integer
|
$id
The ingredient's item ID. |
|
public
string
|
$amount
The ingredient amount. |
#
''
|
public
string
|
$unit
The ingredient unit of measure. |
#
''
|
public
string
|
$description
The ingredient description. |
#
''
|
public
integer
|
$order
The ingredient order number. |
#
0
|