generateHashValue() public method

Generates the field type value $hashValue into the $writer creating an element with $hashElementName as its parent.
public generateHashValue ( XMLWriter $writer, string $hashElementName, mixed $hashValue )
$writer XMLWriter
$hashElementName string
$hashValue mixed
Beispiel #1
0
 /**
  * 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);
 }