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
 1: <?php
 2: 
 3: 
 4: namespace BeerXML\Generator;
 5: 
 6: 
 7: class Style extends Record
 8: {
 9:     protected $tagName = 'STYLE';
10: 
11:     /**
12:      * @var \BeerXML\Record\MashStep
13:      */
14:     protected $record;
15: 
16:     /**
17:      * <TAG> => getterMethod
18:      *
19:      * @var array
20:      */
21:     protected $simpleValues = array(
22:         'NAME'            => 'getName',
23:         'VERSION'         => 'getVersion',
24:         'CATEGORY'        => 'getCategory',
25:         'CATEGORY_NUMBER' => 'getCategoryNumber',
26:         'STYLE_LETTER'    => 'getStyleLetter',
27:         'STYLE_GUIDE'     => 'getStyleGuide',
28:         'TYPE'            => 'getType',
29:         'OG_MIN'          => 'getOgMin',
30:         'OG_MAX'          => 'getOgMax',
31:         'FG_MIN'          => 'getFgMin',
32:         'FG_MAX'          => 'getFgMax',
33:         'IBU_MIN'         => 'getIbuMin',
34:         'IBU_MAX'         => 'getIbuMax',
35:         'COLOR_MIN'       => 'getColorMin',
36:         'COLOR_MAX'       => 'getColorMax',
37:         'ABV_MIN'         => 'getAbvMin',
38:         'ABV_MAX'         => 'getAbvMax',
39:     );
40: 
41:     /**
42:      * <TAG> => getterMethod
43:      *
44:      * @var array
45:      */
46:     protected $optionalSimpleValues = array(
47:         'CARB_MIN'    => 'getCarbMin',
48:         'CARB_MAX'    => 'getCarbMax',
49:         'NOTES'       => 'getNotes',
50:         'PROFILE'     => 'getProfile',
51:         'INGREDIENTS' => 'getIngredients',
52:         'EXAMPLES'    => 'getExamples',
53:     );
54: 
55:     protected $displayInterface = 'BeerXML\Generator\IStyleDisplay';
56: 
57:     protected $displayValues = array(
58:         'DISPLAY_OG_MIN'    => 'getDisplayOgMin',
59:         'DISPLAY_OG_MAX'    => 'getDisplayOgMax',
60:         'DISPLAY_FG_MIN'    => 'getDisplayFgMin',
61:         'DISPLAY_FG_MAX'    => 'getDisplayFgMax',
62:         'DISPLAY_COLOR_MIN' => 'getDisplayColorMin',
63:         'DISPLAY_COLOR_MAX' => 'getDisplayColorMax',
64:         'OG_RANGE'          => 'getOgRange',
65:         'FG_RANGE'          => 'getFgRange',
66:         'IBU_RANGE'         => 'getIbuRange',
67:         'CARB_RANGE'        => 'getCarbRange',
68:         'COLOR_RANGE'       => 'getColorRange',
69:         'ABV_RANGE'         => 'getAbvRange',
70:     );
71: 
72: }
php-beerxml API documentation generated by ApiGen 2.8.0