DHTMLX Scheduler Helper

Hi,

I am wondering if there is a way to display events server-side via the SchedulerHelper if they are multiday events.
When there are only singleday events everything works, but I would like to display events of which the start and end_date have not exactly the $start or $endd of the php-code. In that case they are not displayed in echo, f.e. if a event starts at “2013-09-10 00:00:00:00” and ends at “2013-10-15 00:00:00” that event is not displayed even if the event is “active” during the timeslot I would like to check by the get_dates-function.

<?php
include ("SchedulerHelper.php");

$today = date("Y-m-d H:i");
$tomorrow = date("Y-m-d H:i", time()+86400);
$connect = mysql_connect("localhost","root","");
mysql_select_db(database, $connect);

$start = '2013-10-10 00:00:00';
//$start = $today;
$endd = '2013-10-14 20:00:00';
//$endd = $tomorrow;
$dates = new SchedulerHelper($connect, "events");
$final = $dates->get_dates($start, $endd);

echo "<pre>";
print_r($final);
echo "</pre>";
?>

Thank you for your help!
Martin