fml update

This commit is contained in:
Steffen Schröder 2014-01-05 19:15:49 +01:00
parent 65d78cfd82
commit 6d6189a714

View File

@ -85,4 +85,15 @@ class ManiaLinks {
} }
return $domDocument; return $domDocument;
} }
/**
* Get String Representation
*
* @return string
*/
public function __toString() {
$domDocument = $this->render();
$xmlText = $domDocument->saveXML();
return $xmlText;
}
} }