Example #1
0
 function render($doc)
 {
     $X = parent::render($doc);
     foreach ($this->Pairs as $Pair) {
         $X->appendChild($Pair->render($doc));
     }
     return $X;
 }
Example #2
0
 function render($doc)
 {
     $X = parent::render($doc);
     if (isset($this->IconStyle)) {
         $X->appendChild($this->IconStyle->render($doc));
     }
     if (isset($this->LabelStyle)) {
         $X->appendChild($this->LabelStyle->render($doc));
     }
     if (isset($this->LineStyle)) {
         $X->appendChild($this->LineStyle->render($doc));
     }
     if (isset($this->PolyStyle)) {
         $X->appendChild($this->PolyStyle->render($doc));
     }
     if (isset($this->BalloonStyle)) {
         $X->appendChild($this->BalloonStyle->render($doc));
     }
     if (isset($this->ListStyle)) {
         $X->appendChild($this->ListStyle->render($doc));
     }
     return $X;
 }