i want to make changes to events_Rec.php file and make it in class format like
class eventsrec
{
//code here
}
is it possible? if yes than how to call this file in scheduler.load(‘events_rec.php’) method
i want to make changes to events_Rec.php file and make it in class format like
class eventsrec
{
//code here
}
is it possible? if yes than how to call this file in scheduler.load(‘events_rec.php’) method
scheduler.load simply calls specified url and expects that the url will response with the data in correct format(xml, json, ics)
docs.dhtmlx.com/scheduler/data_formats.html
The inner implementation of the server side handler is up to you, as long as it works with the correct data format.
So load will work if i pass index.php?p=events&q=load where load is function written in events_rec.php file ?
Format of url doesn’t matter
Client side will call the url and parse the response as data xml ( data json )
You can have a file on server side which will init the necessary class, call its method and output the response.