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 Water extends Record
 8: {
 9:     protected $tagName = 'WATER';
10: 
11:     /**
12:      * @var \BeerXML\Record\Water
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:         'AMOUNT'      => 'getAmount',
25:         'CALCIUM'     => 'getCalcium',
26:         'BICARBONATE' => 'getBicarbonate',
27:         'SULFATE'     => 'getSulfate',
28:         'CHLORIDE'    => 'getChloride',
29:         'SODIUM'      => 'getSodium',
30:         'MAGNESIUM'   => 'getMagnesium',
31:     );
32: 
33:     /**
34:      * <TAG> => getterMethod
35:      *
36:      * @var array
37:      */
38:     protected $optionalSimpleValues = array(
39:         'PH'    => 'getPH',
40:         'NOTES' => 'getNotes',
41:     );
42: 
43:     protected $displayInterface = 'BeerXML\Generator\IWaterDisplay';
44: 
45:     protected $displayValues = array(
46:         'DISPLAY_AMOUNT' => 'getDisplayAmount',
47:     );
48: 
49: }
php-beerxml API documentation generated by ApiGen 2.8.0