| @@ 495-503 (lines=9) @@ | ||
| 492 | } |
|
| 493 | ||
| 494 | $preFunctions = $this->getPreFunctions(); |
|
| 495 | if ($preFunctions->count() > 0) { |
|
| 496 | $preFunctionsElement = $dom->createElement('pre-functions'); |
|
| 497 | foreach ($preFunctions as $function) { |
|
| 498 | $functionElement = $function->writeXml($dom); |
|
| 499 | $preFunctionsElement->appendChild($functionElement); |
|
| 500 | } |
|
| 501 | ||
| 502 | $descriptor->appendChild($preFunctionsElement); |
|
| 503 | } |
|
| 504 | ||
| 505 | $resultsElement = $dom->createElement('results'); |
|
| 506 | $descriptor->appendChild($resultsElement); |
|
| @@ 421-429 (lines=9) @@ | ||
| 418 | ||
| 419 | ||
| 420 | $preFunctions = $this->getPreFunctions(); |
|
| 421 | if ($preFunctions->count() > 0) { |
|
| 422 | $preFunctionsElement = $dom->createElement('pre-functions'); |
|
| 423 | foreach ($preFunctions as $function) { |
|
| 424 | $functionElement = $function->writeXml($dom); |
|
| 425 | $preFunctionsElement->appendChild($functionElement); |
|
| 426 | } |
|
| 427 | ||
| 428 | $descriptor->appendChild($preFunctionsElement); |
|
| 429 | } |
|
| 430 | ||
| 431 | ||
| 432 | $permissions = $this->getPermissions(); |
|