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

Interface IWater

Direct known implementers

BeerXML\Parser\IWaterDisplay

Indirect known implementers

BeerXML\Record\Water
Namespace: BeerXML\Parser
Located at BeerXML/Parser/IWater.php
Methods summary
public
# setAmount( number $amount )

Volume of water to use in a recipe in liters.

Volume of water to use in a recipe in liters.

Parameters

$amount
number
$amount
public
# setBicarbonate( float $bicarbonate )

The amount of bicarbonate (HCO3) in parts per million.

The amount of bicarbonate (HCO3) in parts per million.

Parameters

$bicarbonate
float
$bicarbonate
public
# setCalcium( float $calcium )

The amount of calcium (Ca) in parts per million.

The amount of calcium (Ca) in parts per million.

Parameters

$calcium
float
$calcium
public
# setChloride( float $chloride )

Parameters

$chloride
float
$chloride
public
# setMagnesium( float $magnesium )

The amount of Magnesium (Mg) in parts per million.

The amount of Magnesium (Mg) in parts per million.

Parameters

$magnesium
float
$magnesium
public
# setName( string $name )

Name of the water profile – usually the city and country of the water profile.

Name of the water profile – usually the city and country of the water profile.

Parameters

$name
string
$name
public
# setNotes( string $notes )

Notes about the water profile. May be multiline.

Notes about the water profile. May be multiline.

Parameters

$notes
string
$notes
public
# setPH( float $pH )

The PH of the water.

The PH of the water.

Parameters

$pH
float
$pH
public
# setSodium( float $sodium )

The amount of Sodium (Na) in parts per million.

The amount of Sodium (Na) in parts per million.

Parameters

$sodium
float
$sodium
public
# setSulfate( float $sulfate )

The amount of Sulfate (SO4) in parts per million.

The amount of Sulfate (SO4) in parts per million.

Parameters

$sulfate
float
$sulfate
public
# setVersion( integer $version )

Version of the water record. Should always be "1" for this version of the XML standard.

Version of the water record. Should always be "1" for this version of the XML standard.

Parameters

$version
integer
$version
php-beerxml API documentation generated by ApiGen 2.8.0