コード例 #1
0
 /**
  * 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;
 }
コード例 #2
0
 /**
  * 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;
 }
コード例 #3
0
ファイル: FieldURI.php プロジェクト: BGCX261/zibo-svn-to-git
 /**
  * Constructs a new FieldURI element
  * @param string $fieldURI
  * @return null
  */
 public function __construct($fieldURI)
 {
     parent::__construct(self::NAME, $fieldURI);
 }