@@ 521-529 (lines=9) @@ | ||
518 | } |
|
519 | ||
520 | $postFunctions = $this->getPostFunctions(); |
|
521 | if ($postFunctions->count() > 0) { |
|
522 | $postFunctionsElement = $dom->createElement('post-functions'); |
|
523 | foreach ($postFunctions as $function) { |
|
524 | $functionElement = $function->writeXml($dom); |
|
525 | $postFunctionsElement->appendChild($functionElement); |
|
526 | } |
|
527 | ||
528 | $descriptor->appendChild($postFunctionsElement); |
|
529 | } |
|
530 | ||
531 | ||
532 | return $descriptor; |
@@ 468-476 (lines=9) @@ | ||
465 | } |
|
466 | ||
467 | $postFunctions = $this->getPostFunctions(); |
|
468 | if ($postFunctions->count() > 0) { |
|
469 | $postFunctionsElement = $dom->createElement('post-functions'); |
|
470 | foreach ($postFunctions as $function) { |
|
471 | $functionElement = $function->writeXml($dom); |
|
472 | $postFunctionsElement->appendChild($functionElement); |
|
473 | } |
|
474 | ||
475 | $descriptor->appendChild($postFunctionsElement); |
|
476 | } |
|
477 | ||
478 | ||
479 | return $descriptor; |