public function listRecurrences($calendarID, $eventID, $options = array(), $maxpages = 1)
	{
		if ($this->isAuthenticated())
		{
			$next = array_key_exists('nextPageToken', $options) ? $options['nextPage'] : null;
			unset($options['nextPageToken']);
			$url = 'https://www.googleapis.com/calendar/v3/users/me/calendars/' . urlencode($calendarID) . '/events/' . urlencode($eventID) . '/instances';
			$url .= '?' . http_build_query($options);

			return $this->listGetData($url, $maxpages, $next);
		}
		else
		{
			return false;
		}
	}
public function listRecurrences($calendarID, $eventID, $options = array(), $maxpages = 1)
	{
		if ($this->isAuthenticated())
		{
			$next = array_key_exists('nextPageToken', $options) ? $options['nextPage'] : null;
			unset($options['nextPageToken']);
			$url = 'https://www.googleapis.com/calendar/v3/users/me/calendars/' . urlencode($calendarID) . '/events/' . urlencode($eventID) . '/instances';
			$url .= '?' . http_build_query($options);

			return $this->listGetData($url, $maxpages, $next);
		}
		else
		{
			return false;
		}
	}
public function listRecurrences ( $ calendarID , $ eventID , $ options = array ( ) , $ maxpages = 1 ) { if ( $ this -> isAuthenticated ( ) ) { $ next = array_key_exists ( 'nextPageToken' , $ options ) ? $ options [ 'nextPage' ] : null ; unset ( $ options [ 'nextPageToken' ] ) ; $ url = 'https://www.googleapis.com/calendar/v3/users/me/calendars/' . urlencode ( $ calendarID ) . '/events/' . urlencode ( $ eventID ) . '/instances' ; $ url .= '?' . http_build_query ( $ options ) ; return $ this -> listGetData ( $ url , $ maxpages , $ next ) ; } else { return false ; } }
Method to retrieve a list of events on a Google calendar

@param   string   $calendarID  Calendar ID
@param   string   $eventID     ID of the event to change
@param   array    $options     Search settings
@param   integer  $maxpages    Minimum number of events to retrieve (more may be retrieved depending on page size)

@return  mixed  Data from Google.

@since   1.0
@throws  UnexpectedValueException
Method to retrieve a list of events on a Google calendar