mgd_list_events_between

(Midgard 1.4.2 'Bifrost')

mgd_list_events_between -- list event records between two timestamps

Description

object mgd_list_events_between (int id, timestamp start, timestamp end, string [sort], int [type])

Minimum version: Midgard 1.4 (Bifrost)

Lists the events that have their start or end date and time between the timestamps start and end.

Returns an object traversable by calling fetch() if successful. Returns FALSE on failure.


<?php
 $list = mgd_list_events_between("495983","5098022");
 while($list-fetch()) {
    echo $list->title();
 }
?>