Overview

Namespaces

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

Classes

  • Equipment
  • Fermentable
  • Hop
  • MashProfile
  • MashStep
  • Misc
  • Recipe
  • Record
  • RecordFactory
  • 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 Equipment

Abstract Record Parser

This sets the stage for all of our parsers. Each subclass can define a map of tags to setter methods. The parser will then call the setter methods with the values from those tags.

BeerXML\Parser\Record
Extended by BeerXML\Parser\Equipment
Namespace: BeerXML\Parser
Package: BeerXML\Parser
Located at BeerXML/Parser/Equipment.php
Methods summary
protected BeerXML\Parser\IEquipment
# createRecord( )

Returns

BeerXML\Parser\IEquipment
protected
# otherElementEncountered( BeerXML\Parser\IEquipment $record )

Parameters

$record
BeerXML\Parser\IEquipment
$record

Overrides

BeerXML\Parser\Record::otherElementEncountered()
Methods inherited from BeerXML\Parser\Record
createRecordParser(), parse(), setComplexProperty(), setComplexPropertySet(), setRecordFactory(), setXmlReader(), setXmlString()
Properties summary
protected string $tagName 'EQUIPMENT'
#

The <TAG> that a subclass parses

The <TAG> that a subclass parses

protected array $simpleProperties array( 'NAME' => 'setName', 'VERSION' => 'setVersion', 'BOIL_SIZE' => 'setBoilSize', 'BATCH_SIZE' => 'setBatchSize', 'TUN_VOLUME' => 'setTunVolume', 'TUN_WEIGHT' => 'setTunWeight', 'TUN_SPECIFIC_HEAT' => 'setTunSpecificHeat', 'TOP_UP_WATER' => 'setTopUpWater', 'TRUB_CHILLER_LOSS' => 'setTrubChillerLoss', 'EVAP_RATE' => 'setEvapRate', 'BOIL_TIME' => 'setBoilTime', 'LAUTER_DEADSPACE' => 'setLauterDeadspace', 'TOP_UP_KETTLE' => 'setTopUpKettle', 'HOP_UTILIZATION' => 'setHopUtilization', 'NOTES' => 'setNotes', )
#

Tags that map to simple values and the corresponding setter method on the record class

Tags that map to simple values and the corresponding setter method on the record class

Properties inherited from BeerXML\Parser\Record
$complexProperties, $complexPropertySets, $recordFactory, $xmlReader
php-beerxml API documentation generated by ApiGen 2.8.0