Overview

Namespaces

  • BeerXML
    • Exception
    • Generator
    • Parser
    • Record
  • PHP

Classes

  • Equipment
  • Fermentable
  • Hop
  • MashProfile
  • MashStep
  • Misc
  • Recipe
  • Record
  • Style
  • Water
  • Yeast

Interfaces

  • IEquipment
  • IEquipmentDisplay
  • IFermentable
  • IFermentableDisplay
  • IHop
  • IHopDisplay
  • IMashProfile
  • IMashProfileDisplay
  • IMashStep
  • IMashStepDisplay
  • IMisc
  • IMiscDisplay
  • IRecipe
  • IRecipeDisplay
  • IStyle
  • IStyleDisplay
  • IWater
  • IWaterDisplay
  • IYeast
  • IYeastDisplay
  • Overview
  • Namespace
  • Class
  • Tree

Class Recipe

BeerXML\Generator\Record
Extended by BeerXML\Generator\Recipe
Namespace: BeerXML\Generator
Located at BeerXML/Generator/Recipe.php
Methods summary
protected
# additionalFields( )

{inheritDoc}

Overrides

BeerXML\Generator\Record::additionalFields()
Methods inherited from BeerXML\Generator\Record
boolToString(), build(), setRecord(), setXmlWriter()
Properties summary
protected string $tagName 'RECIPE'
#
protected BeerXML\Record\Recipe $record
#
protected array $simpleValues array( 'NAME' => 'getName', 'VERSION' => 'getVersion', 'BREWER' => 'getBrewer', 'BATCH_SIZE' => 'getBatchSize', 'BOIL_SIZE' => 'getBoilSize', 'BOIL_TIME' => 'getBoilTime', )
#

<TAG> => getterMethod

<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

<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')

<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

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()

<TAG> => getterMethod()

For the optional tags from the display fields in Appendix A of the spec

Properties inherited from BeerXML\Generator\Record
$xmlWriter
php-beerxml API documentation generated by ApiGen 2.8.0