FML Update

This commit is contained in:
Steffen Schröder
2013-12-09 13:05:05 +01:00
parent 690ef2b0bb
commit 666785de90
61 changed files with 408 additions and 200 deletions

View File

@ -110,7 +110,7 @@ class ManiaLink implements Container {
}
/**
* Set the script object of the manalink
* Set the script object of the Manialink
*
* @param Script $script
* @return \FML\ManiaLink
@ -125,6 +125,7 @@ class ManiaLink implements Container {
*
* @param bool $echo
* If the xml should be echoed and the content-type header should be set
* @param \DOMDocument $domDocument
* @return \DOMDocument
*/
public function render($echo = false, $domDocument = null) {
@ -160,7 +161,7 @@ class ManiaLink implements Container {
$manialink->appendChild($childXml);
}
if ($this->script) {
$scriptXml = $this->script->render($domDocument);
$scriptXml = $this->script->render($domDocument);
$manialink->appendChild($scriptXml);
}
if ($isChild) {
@ -173,5 +174,3 @@ class ManiaLink implements Container {
return $domDocument;
}
}
?>