Methods summary
public
|
#
setAmount( number $amount )
Amount of item used. The default measurements are by weight, but this may be
the measurement in volume units if AMOUNT_IS_WEIGHT is set to TRUE for this
record. If a liquid it is in liters, if a solid the weight is measured in
kilograms.
Amount of item used. The default measurements are by weight, but this may be
the measurement in volume units if AMOUNT_IS_WEIGHT is set to TRUE for this
record. If a liquid it is in liters, if a solid the weight is measured in
kilograms.
Parameters
Implementation of
|
public
number
|
#
getAmount( )
Amount of item used. The default measurements are by weight, but this may be
the measurement in volume units if AMOUNT_IS_WEIGHT is set to TRUE for this
record. If a liquid it is in liters, if a solid the weight is measured in
kilograms.
Amount of item used. The default measurements are by weight, but this may be
the measurement in volume units if AMOUNT_IS_WEIGHT is set to TRUE for this
record. If a liquid it is in liters, if a solid the weight is measured in
kilograms.
Returns
number
Implementation of
|
public
|
#
setAmountIsWeight( boolean $amountIsWeight )
TRUE if the amount measurement is a weight measurement and FALSE if the
amount is a volume measurement. Default value (if not present) is assumed to be
FALSE.
TRUE if the amount measurement is a weight measurement and FALSE if the
amount is a volume measurement. Default value (if not present) is assumed to be
FALSE.
Parameters
- $amountIsWeight
boolean $amountIsWeight
Implementation of
|
public
boolean
|
#
getAmountIsWeight( )
TRUE if the amount measurement is a weight measurement and FALSE if the
amount is a volume measurement. Default value (if not present) is assumed to be
FALSE.
TRUE if the amount measurement is a weight measurement and FALSE if the
amount is a volume measurement. Default value (if not present) is assumed to be
FALSE.
Returns
boolean
Implementation of
|
public
|
#
setName( string $name )
Name of the misc item.
Parameters
Implementation of
|
public
string
|
#
getName( )
Name of the misc item.
Returns
string
Implementation of
|
public
|
#
setNotes( string $notes )
Detailed notes on the item including usage. May be multiline.
Detailed notes on the item including usage. May be multiline.
Parameters
Implementation of
|
public
string
|
#
getNotes( )
Detailed notes on the item including usage. May be multiline.
Detailed notes on the item including usage. May be multiline.
Returns
string
Implementation of
|
public
|
#
setTime( number $time )
Amount of time the misc was boiled, steeped, mashed, etc in minutes
Amount of time the misc was boiled, steeped, mashed, etc in minutes
Parameters
Implementation of
|
public
number
|
#
getTime( )
Amount of time the misc was boiled, steeped, mashed, etc in minutes
Amount of time the misc was boiled, steeped, mashed, etc in minutes
Returns
number
Implementation of
|
public
|
#
setType( string $type )
May be "Spice", "Fining", "Water Agent", "Herb", "Flavor" or "Other"
May be "Spice", "Fining", "Water Agent", "Herb", "Flavor" or "Other"
Parameters
Implementation of
|
public
string
|
#
getType( )
May be "Spice", "Fining", "Water Agent", "Herb", "Flavor" or "Other"
May be "Spice", "Fining", "Water Agent", "Herb", "Flavor" or "Other"
Returns
string
Implementation of
|
public
|
#
setUse( string $use )
May be "Boil", "Mash", "Primary", "Secondary", "Bottling"
May be "Boil", "Mash", "Primary", "Secondary", "Bottling"
Parameters
Implementation of
|
public
string
|
#
getUse( )
May be "Boil", "Mash", "Primary", "Secondary", "Bottling"
May be "Boil", "Mash", "Primary", "Secondary", "Bottling"
Returns
string
Implementation of
|
public
|
#
setUseFor( string $useFor )
Short description of what the ingredient is used for in text
Short description of what the ingredient is used for in text
Parameters
Implementation of
|
public
string
|
#
getUseFor( )
Short description of what the ingredient is used for in text
Short description of what the ingredient is used for in text
Returns
string
Implementation of
|
public
|
#
setVersion( integer $version )
Version number of this element. Should be "1" for this version.
Version number of this element. Should be "1" for this version.
Parameters
Implementation of
|
public
integer
|
#
getVersion( )
Version number of this element. Should be "1" for this version.
Version number of this element. Should be "1" for this version.
Returns
integer
Implementation of
|
public
|
#
setDisplayAmount( string $displayAmount )
The amount of the item in this record along with the units formatted for easy
display in the current user defined units. For example "1.5 lbs" or "2.1
kg".
The amount of the item in this record along with the units formatted for easy
display in the current user defined units. For example "1.5 lbs" or "2.1
kg".
Parameters
- $displayAmount
string $displayAmount
Implementation of
|
public
string
|
#
getDisplayAmount( )
The amount of the item in this record along with the units formatted for easy
display in the current user defined units. For example "1.5 lbs" or "2.1
kg".
The amount of the item in this record along with the units formatted for easy
display in the current user defined units. For example "1.5 lbs" or "2.1
kg".
Returns
string
Implementation of
|
public
|
#
setDisplayTime( string $displayTime )
Time in appropriate units along with the units as in "10 min" or "3
days".
Time in appropriate units along with the units as in "10 min" or "3
days".
Parameters
- $displayTime
string $displayTime
Implementation of
|
public
string
|
#
getDisplayTime( )
Time in appropriate units along with the units as in "10 min" or "3
days".
Time in appropriate units along with the units as in "10 min" or "3
days".
Returns
string
Implementation of
|
public
|
#
setInventory( string $inventory )
Amount in inventory for this item along with the units – for example "10.0
lb"
Amount in inventory for this item along with the units – for example "10.0
lb"
Parameters
- $inventory
string $inventory
Implementation of
|
public
string
|
#
getInventory( )
Amount in inventory for this item along with the units – for example "10.0
lb"
Amount in inventory for this item along with the units – for example "10.0
lb"
Returns
string
Implementation of
|