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 Hop extends Record
 8: {
 9:     protected $tagName = 'HOP';
10: 
11:     /**
12:      * @var \BeerXML\Record\Hop
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:         'ALPHA'   => 'getAlpha',
25:         'AMOUNT'  => 'getAmount',
26:         'USE'     => 'getUse',
27:         'TIME'    => 'getTime',
28:     );
29: 
30:     protected $optionalSimpleValues = array(
31:         'NOTES'         => 'getNotes',
32:         'TYPE'          => 'getType',
33:         'FORM'          => 'getForm',
34:         'BETA'          => 'getBeta',
35:         'HSI'           => 'getHsi',
36:         'ORIGIN'        => 'getOrigin',
37:         'SUBSTITUTES'   => 'getSubstitutes',
38:         'HUMULENE'      => 'getHumulene',
39:         'CARYOPHYLLENE' => 'getCaryophyllene',
40:         'COHUMULONE'    => 'getCohumulone',
41:         'MYRCENE'       => 'getMyrcene',
42:     );
43: 
44:     protected $displayInterface = 'BeerXML\Generator\IHopDisplay';
45: 
46:     protected $displayValues = array(
47:         'DISPLAY_AMOUNT' => 'getDisplayAmount',
48:         'INVENTORY'      => 'getInventory',
49:         'DISPLAY_TIME'   => 'getDisplayTime',
50:     );
51: }
php-beerxml API documentation generated by ApiGen 2.8.0