libraries/Maniaplanet/WebServices/Competitions.php
function registerResults($competitionId, array $results)
	{
		if(!$competitionId)
		{
			throw new Exception;
		}
		if(!$results)
		{
			throw new Exception;
		}
		return $this->execute('POST', '/competitions/%d/results/', array($competitionId, array($results)));
	}
function registerResults($competitionId, array $results)
	{
		if(!$competitionId)
		{
			throw new Exception;
		}
		if(!$results)
		{
			throw new Exception;
		}
		return $this->execute('POST', '/competitions/%d/results/', array($competitionId, array($results)));
	}
function registerResults ( $ competitionId , array $ results ) { if ( ! $ competitionId ) { throw new Exception ; } if ( ! $ results ) { throw new Exception ; } return $ this -> execute ( 'POST' , '/competitions/%d/results/' , array ( $ competitionId , array ( $ results ) ) ) ; }
Register final results of your competition
@param int $competitionId
@param array $results results should be an array with numeric keys from 1 to n, with the team ids as value
Register final results of your competition