Good morning,
I'm creating a Calendar that syncronizes with Google Calendar, but I can´t get the recurrence of the Events of Google Calendar. I think the field "recurrence" of the events is a protected field. But I don't know how to get the field of a saved Event.
EDIT: The code:
$params = array(
'orderBy' => 'startTime',
'singleEvents' => 'true',
'timeMin' => date(DateTime::ATOM),
);
$listarEventos = $service->events->listEvents($calendar_id, $params);
foreach ($listarEventos['items'] as $i){
echo $i->recurrence;
}
And If I try to print the content of the events, it shows me an empty field recurrence, and I have proved that it's recurrent.
Thanks!