Class Style
- BeerXML\Generator\Record
- BeerXML\Generator\Style
additionalFields(),
boolToString(),
build(),
setRecord(),
setXmlWriter()
|
protected
string
|
$tagName | 'STYLE' |
|
protected
|
$record |
|
|
protected
array
|
$simpleValues | array(
'NAME' => 'getName',
'VERSION' => 'getVersion',
'CATEGORY' => 'getCategory',
'CATEGORY_NUMBER' => 'getCategoryNumber',
'STYLE_LETTER' => 'getStyleLetter',
'STYLE_GUIDE' => 'getStyleGuide',
'TYPE' => 'getType',
'OG_MIN' => 'getOgMin',
'OG_MAX' => 'getOgMax',
'FG_MIN' => 'getFgMin',
'FG_MAX' => 'getFgMax',
'IBU_MIN' => 'getIbuMin',
'IBU_MAX' => 'getIbuMax',
'COLOR_MIN' => 'getColorMin',
'COLOR_MAX' => 'getColorMax',
'ABV_MIN' => 'getAbvMin',
'ABV_MAX' => 'getAbvMax',
) |
#
<TAG> => getterMethod |
protected
array
|
$optionalSimpleValues | array(
'CARB_MIN' => 'getCarbMin',
'CARB_MAX' => 'getCarbMax',
'NOTES' => 'getNotes',
'PROFILE' => 'getProfile',
'INGREDIENTS' => 'getIngredients',
'EXAMPLES' => 'getExamples',
) |
#
<TAG> => getterMethod |
protected
string
|
$displayInterface | 'BeerXML\Generator\IStyleDisplay' |
#
The interface for the optional display fields in Appendix A of the spec |
protected
array
|
$displayValues | array(
'DISPLAY_OG_MIN' => 'getDisplayOgMin',
'DISPLAY_OG_MAX' => 'getDisplayOgMax',
'DISPLAY_FG_MIN' => 'getDisplayFgMin',
'DISPLAY_FG_MAX' => 'getDisplayFgMax',
'DISPLAY_COLOR_MIN' => 'getDisplayColorMin',
'DISPLAY_COLOR_MAX' => 'getDisplayColorMax',
'OG_RANGE' => 'getOgRange',
'FG_RANGE' => 'getFgRange',
'IBU_RANGE' => 'getIbuRange',
'CARB_RANGE' => 'getCarbRange',
'COLOR_RANGE' => 'getColorRange',
'ABV_RANGE' => 'getAbvRange',
) |
#
<TAG> => getterMethod() |
$complexValueSets,
$complexValues,
$xmlWriter
|