public generateHashValue ( XMLWriter $writer, string $hashElementName, mixed $hashValue ) | ||
$writer | XMLWriter | |
$hashElementName | string | |
$hashValue | mixed |
public function generateHashValue(\XMLWriter $writer, $hashElementName, $hashValue)
{
$this->generateValue($writer, $hashValue, null, $hashElementName);
}
/** * Generates a generic representation of the scalar, hash or list given in * $hashValue into the document, using an element of $hashElementName as * its parent * * @param string $hashElementName * @param mixed $hashValue */ public function generateFieldTypeHash($hashElementName, $hashValue) { $this->hashGenerator->generateHashValue($this->xmlWriter, $hashElementName, $hashValue); }