public function getCalendar($calendarID)
	{
		if ($this->isAuthenticated())
		{
			$jdata = $this->query('https://www.googleapis.com/calendar/v3/users/me/calendarList/' . urlencode($calendarID));

			if ($data = json_decode($jdata->body, true))
			{
				return $data;
			}
			else
			{
				throw new UnexpectedValueException("Unexpected data received from Google: `{$jdata->body}`.");
			}
		}
		else
		{
			return false;
		}
	}
public function getCalendar($calendarID)
	{
		if ($this->isAuthenticated())
		{
			$jdata = $this->query('https://www.googleapis.com/calendar/v3/users/me/calendarList/' . urlencode($calendarID));

			if ($data = json_decode($jdata->body, true))
			{
				return $data;
			}
			else
			{
				throw new UnexpectedValueException("Unexpected data received from Google: `{$jdata->body}`.");
			}
		}
		else
		{
			return false;
		}
	}
public function getCalendar ( $ calendarID ) { if ( $ this -> isAuthenticated ( ) ) { $ jdata = $ this -> query ( 'https://www.googleapis.com/calendar/v3/users/me/calendarList/' . urlencode ( $ calendarID ) ) ; if ( $ data = json_decode ( $ jdata -> body , true ) ) { return $ data ; } else { throw new UnexpectedValueException ( "Unexpected data received from Google: `{$jdata->body}`." ) ; } } else { return false ; } }
Method to get a calendar's settings from Google

@param   string  $calendarID  ID of calendar to get.

@return  mixed  Data from Google

@since   1.0
@throws  UnexpectedValueException
Method to get a calendar s settings from Google