classes/Events/API/Event.php
public function getURL($start_timestamp = 0, $calendar_guid = 0) {
		if (!$start_timestamp) {
			$start_timestamp = $this->getNextOccurrence();
		}
		$url = parent::getURL();
		return elgg_http_add_url_query_elements($url, array_filter(array(
			'ts' => $start_timestamp,
			'calendar' => $calendar_guid,
		)));
	}
public function getURL($start_timestamp = 0, $calendar_guid = 0) {
		if (!$start_timestamp) {
			$start_timestamp = $this->getNextOccurrence();
		}
		$url = parent::getURL();
		return elgg_http_add_url_query_elements($url, array_filter(array(
			'ts' => $start_timestamp,
			'calendar' => $calendar_guid,
		)));
	}
public function getURL ( $ start_timestamp = 0 , $ calendar_guid = 0 ) { if ( ! $ start_timestamp ) { $ start_timestamp = $ this -> getNextOccurrence ( ) ; } $ url = parent :: getURL ( ) ; return elgg_http_add_url_query_elements ( $ url , array_filter ( array ( 'ts' => $ start_timestamp , 'calendar' => $ calendar_guid , ) ) ) ; }
Returns canonical URL with instance start time added as query element

@param int $start_timestamp Start time of the instance
@param int $calendar_guid   GUID of the calendar in context
@return string
Returns canonical URL with instance start time added as query element