Help with replacing XML with mySQL

Hello all,

The standard install of the joomla Scheduler plugin allows one to save events I guess via XML.

I would like to change this so the sheduler plugin retrieves data from a mySQL table within Joomla.

I understand one has to call the code below, but I am struggling to find out what files I need to modify to replace the XML events render function with the mySQL render function.

Any help would be much appreciated,

regards

Paul.

<?php include ('config.php'); include ('codebase/scheduler_connector.php'); $res=mysql_connect($mysql_server,$mysql_user,$mysql_pass); mysql_select_db($mysql_db); $scheduler = new schedulerConnector($res); //$scheduler->enable_log("log.txt",true); $scheduler->render_table("evri_events","id","date_time,date_time,description,battery_voltage"); ?>

Hi,
all scheduler logic is located in file codebase/dhtmlxSchedulerConfigurator.php - generating scheduler initialization code (schedulerInit method), providing events for scheduler (getEventsRec), providing events for grid in admin panel (getEventsRecGrid).