Load events from PHP file with some logic

Hi there, first of all, great component!!

My scenario:

I retrieve Google calendar events using oauth authentication and their Google Calendar API, so I have a list of events which are not persisted on my site, I can add, edit, delete events, and these changes must go to the user google calendar (no need for database).

My problem is:

I get a list of events in PHP code with is not persisted (no DB involved), I will be adding, editing and deleting events, and all the manipulation will be PHP side.

the question is:

How can I load the scheduler component with non persisted events (not DB nor external file), imagine a PHP file with some logic retrieve list of events from google using their API, then a foreach loop and load the result in the component. Can i achieve something like this? is there an example? or any ideas?

Thank you very much in advance.

Hello,

Please contact us - support (at) dhtmlx.com with the same question so we could email you the component.

Kind regards,
Ilya