protected function addChanges(SimpleXMLElement $releaseNode, Release $release)
	{
		$changesNode = $releaseNode->addChild('changes');

		foreach ($release->getAllChanges() as $type => $changes)
		{
			$typeNode = $changesNode->addChild('type');
			$typeNode->addAttribute('name', $type);

			foreach ($changes as $change)
			{
				$typeNode->addChild('change', $change);
			}
		}
	}
protected function addChanges(SimpleXMLElement $releaseNode, Release $release)
	{
		$changesNode = $releaseNode->addChild('changes');

		foreach ($release->getAllChanges() as $type => $changes)
		{
			$typeNode = $changesNode->addChild('type');
			$typeNode->addAttribute('name', $type);

			foreach ($changes as $change)
			{
				$typeNode->addChild('change', $change);
			}
		}
	}
protected function addChanges ( SimpleXMLElement $ releaseNode , Release $ release ) { $ changesNode = $ releaseNode -> addChild ( 'changes' ) ; foreach ( $ release -> getAllChanges ( ) as $ type => $ changes ) { $ typeNode = $ changesNode -> addChild ( 'type' ) ; $ typeNode -> addAttribute ( 'name' , $ type ) ; foreach ( $ changes as $ change ) { $ typeNode -> addChild ( 'change' , $ change ) ; } } }
Adds the release's changes to the given xml release node.

@param SimpleXMLElement $releaseNode
@param Release          $release
Adds the release s changes to the given xml release node .