FOF30\Factory\Scaffolding\Layout\Builder::setXml PHP Метод

setXml() публичный Метод

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

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