예제 #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
 }