Class Recipe
- BeerXML\Generator\Record
- BeerXML\Generator\Recipe
protected
|
boolToString(),
build(),
setRecord(),
setXmlWriter()
|
protected
string
|
$tagName | 'RECIPE' |
|
protected
|
$record |
|
|
protected
array
|
$simpleValues | array(
'NAME' => 'getName',
'VERSION' => 'getVersion',
'BREWER' => 'getBrewer',
'BATCH_SIZE' => 'getBatchSize',
'BOIL_SIZE' => 'getBoilSize',
'BOIL_TIME' => 'getBoilTime',
) |
#
<TAG> => getterMethod |
protected
array
|
$optionalSimpleValues | array(
'ASST_BREWER' => 'getAsstBrewer',
'NOTES' => 'getNotes',
'TASTE_NOTES' => 'getTasteNotes',
'TASTE_RATING' => 'getTasteRating',
'OG' => 'getOg',
'FG' => 'getFg',
'FERMENTATION_STAGES' => 'getFermentationStages',
'PRIMARY_AGE' => 'getPrimaryAge',
'PRIMARY_TEMP' => 'getPrimaryTemp',
'SECONDARY_AGE' => 'getSecondaryAge',
'SECONDARY_TEMP' => 'getSecondaryTemp',
'TERTIARY_AGE' => 'getTertiaryAge',
'TERTIARY_TEMP' => 'getTertiaryTemp',
'AGE' => 'getAge',
'AGE_TEMP' => 'getAgeTemp',
'CARBONATION' => 'getCarbonation',
'PRIMING_SUGAR_NAME' => 'getPrimingSugarName',
'CARBONATION_TEMP' => 'getCarbonationTemp',
'PRIMING_SUGAR_EQUIV' => 'getPrimingSugarEquiv',
'KEG_PRIMING_FACTOR' => 'getKegPrimingFactor',
) |
#
<TAG> => getterMethod |
protected
array
|
$complexValues | array(
'BeerXML\Generator\Style' => 'getStyle',
'BeerXML\Generator\MashProfile' => 'getMash',
) |
|
protected
array
|
$complexValueSets | array(
'HOPS' => array('generator' => 'BeerXML\Generator\Hop', 'values' => 'getHops'),
'FERMENTABLES' => array('generator' => 'BeerXML\Generator\Fermentable', 'values' => 'getFermentables'),
'MISCS' => array('generator' => 'BeerXML\Generator\Misc', 'values' => 'getMiscs'),
'YEASTS' => array('generator' => 'BeerXML\Generator\Yeast', 'values' => 'getYeasts'),
'WATERS' => array('generator' => 'BeerXML\Generator\Water', 'values' => 'getWaters'),
) |
#
<TAG> => array('generator' => 'BeerXML\Generator\Class', 'values' => 'getRecords') |
protected
string
|
$displayInterface | 'BeerXML\Generator\IRecipeDisplay' |
#
The interface for the optional display fields in Appendix A of the spec |
protected
array
|
$displayValues | array(
'EST_OG' => 'getEstOg',
'EST_FG' => 'getEstFg',
'EST_COLOR' => 'getEstColor',
'IBU' => 'getIbu',
'IBU_METHOD' => 'getIbuMethod',
'EST_ABV' => 'getEstAbv',
'ABV' => 'getAbv',
'ACTUAL_EFFICIENCY' => 'getActualEfficiency',
'CALORIES' => 'getCalories',
'DISPLAY_BATCH_SIZE' => 'getDisplayBatchSize',
'DISPLAY_BOIL_SIZE' => 'getDisplayBoilSize',
'DISPLAY_OG' => 'getDisplayOg',
'DISPLAY_FG' => 'getDisplayFg',
'DISPLAY_PRIMARY_TEMP' => 'getDisplayPrimaryTemp',
'DISPLAY_SECONDARY_TEMP' => 'getDisplaySecondaryTemp',
'DISPLAY_TERTIARY_TEMP' => 'getDisplayTertiaryTemp',
'DISPLAY_AGE_TEMP' => 'getDisplayAgeTemp',
'CARBONATION_USED' => 'getCarbonationUsed',
'DISPLAY_CARB_TEMP' => 'getDisplayCarbTemp',
) |
#
<TAG> => getterMethod() |
$xmlWriter
|