Beispiel #1
0
 function render($doc)
 {
     $X = parent::render($doc);
     if (isset($this->scale)) {
         $X->appendChild(XML_create_text_element($doc, 'scale', $this->scale));
     }
     return $X;
 }
Beispiel #2
0
 function render($doc)
 {
     $X = parent::render($doc);
     if (isset($this->fill)) {
         $X->appendChild(XML_create_text_element($doc, 'fill', $this->fill));
     }
     if (isset($this->outline)) {
         $X->appendChild(XML_create_text_element($doc, 'outline', $this->outline));
     }
     return $X;
 }
Beispiel #3
0
 function render($doc)
 {
     $X = parent::render($doc);
     if (isset($this->scale)) {
         $X->appendChild(XML_create_text_element($doc, 'scale', $this->scale));
     }
     if (isset($this->heading)) {
         $X->appendChild(XML_create_text_element($doc, 'heading', $this->heading));
     }
     if (isset($this->Icon)) {
         $X->appendChild($this->Icon->render($doc));
     }
     if (isset($this->hotSpot)) {
         $X->appendChild(XML_create_text_element($doc, 'hotSpot', null, $this->hotSpot));
     }
     return $X;
 }