FOF30\Factory\Scaffolding\Layout\Builder::setXml PHP Method

setXml() public method

Set the XML form document
public setXml ( SimpleXMLElement $xml )
$xml SimpleXMLElement The XML document to set
    public function setXml(SimpleXMLElement $xml)
    {
        $this->xml = $xml;
    }

Usage Example

Beispiel #1
0
 /**
  * Push the form and strings to the builder
  */
 protected function pushResults()
 {
     $this->builder->setStrings($this->strings);
     $this->builder->setXml($this->xml);
 }