/** * Gets the DOM document of this element * @return DOMDocument */ public function toDom() { $dom = new DOMDocument('1.0', 'utf-8'); $changeDescription = $dom->createElementNS(Client::SCHEMA_TYPES, $this->name); $fieldURIDom = $this->FieldURI->toDom(); $fieldURIElement = $dom->importNode($fieldURIDom->documentElement, true); $changeDescription->appendChild($fieldURIElement); $dom->appendChild($changeDescription); return $dom; }
/** * Constructs a new FieldURI element * @param string $fieldURI Identifies the dictionary that contains the member to return. This attribute is required. * @param string $fieldIndex Identifies the member of the dictionary to return. This attribute is required. * @return null */ public function __construct($fieldURI, $fieldIndex) { parent::__construct(self::NAME, $fieldURI); $this->FieldIndex = $fieldIndex; }
/** * Constructs a new FieldURI element * @param string $fieldURI * @return null */ public function __construct($fieldURI) { parent::__construct(self::NAME, $fieldURI); }