protected function createLink(Release $release)
	{
		$line = '';

		$link = $release->getLink();

		if ($link !== null)
		{
			$linkName = $release->getLinkName();
			$name = $release->getName();

			$reference = ($linkName === null) ? $name : $linkName;

			$line = "[$reference] $link\n";
		}

		return $line;
	}
protected function createLink(Release $release)
	{
		$line = '';

		$link = $release->getLink();

		if ($link !== null)
		{
			$linkName = $release->getLinkName();
			$name = $release->getName();

			$reference = ($linkName === null) ? $name : $linkName;

			$line = "[$reference] $link\n";
		}

		return $line;
	}
protected function createLink ( Release $ release ) { $ line = '' ; $ link = $ release -> getLink ( ) ; if ( $ link !== null ) { $ linkName = $ release -> getLinkName ( ) ; $ name = $ release -> getName ( ) ; $ reference = ( $ linkName === null ) ? $ name : $ linkName ; $ line = "[$reference] $link\n" ; } return $ line ; }
Creates the needed link text for a Release.

@param Release $release

@return string
Creates the needed link text for a Release .