libraries/Maniaplanet/WebServices/ManiaHome/ManialinkPublisher.php
function postPublicEvent($message, $eventDate, $link = null, $titleIdString = null, $mediaURL = null)
	{
		$e = new Event();
		$e->senderName = $this->manialink;
		$e->message = $message;
		$e->link = $link;
		$e->eventDate = $eventDate;
		$e->titleId = $titleIdString;
		$e->mediaURL = $mediaURL;
		return $this->execute('POST', '/maniahome/event/public/', array($e));
	}
function postPublicEvent($message, $eventDate, $link = null, $titleIdString = null, $mediaURL = null)
	{
		$e = new Event();
		$e->senderName = $this->manialink;
		$e->message = $message;
		$e->link = $link;
		$e->eventDate = $eventDate;
		$e->titleId = $titleIdString;
		$e->mediaURL = $mediaURL;
		return $this->execute('POST', '/maniahome/event/public/', array($e));
	}
function postPublicEvent ( $ message , $ eventDate , $ link = null , $ titleIdString = null , $ mediaURL = null ) { $ e = new Event ( ) ; $ e -> senderName = $ this -> manialink ; $ e -> message = $ message ; $ e -> link = $ link ; $ e -> eventDate = $ eventDate ; $ e -> titleId = $ titleIdString ; $ e -> mediaURL = $ mediaURL ; return $ this -> execute ( 'POST' , '/maniahome/event/public/' , array ( $ e ) ) ; }
Create an event visible by all players who bookmarked your Manialink
@param string $message The message itself. If you send a public notification to a player, the
message will be prepended with its nickname. Max length is 255 chars, you
can use Maniaplanet special chars.
@param int $eventDate The UNIX Timestamp of the date of the event
@param string $link  Link when the player clicks on the notification
@return int
Create an event visible by all players who bookmarked your Manialink