Пример #1
0
 public function addToXml(SimpleXMLElement &$xmlElement)
 {
     parent::addToXml($xmlElement);
     $xmlElement->addAttribute('metadataProfileId', $this->metadataProfileId);
 }
Пример #2
0
 public function addToXml(SimpleXMLElement &$xmlElement)
 {
     parent::addToXml($xmlElement);
     $xmlElement->addAttribute('metadataProfileId', $this->metadataProfileId);
     if (!is_null($this->orderBy)) {
         $xmlElement->addAttribute('orderBy', $this->orderBy);
     }
 }
Пример #3
0
 public function addToXml(SimpleXMLElement &$xmlElement)
 {
     parent::addToXml($xmlElement);
     $xmlElement->addAttribute('field', $this->field);
     // $this->metadataProfileId should always be retrieved dynamically
 }