mgd_list_events

(Midgard 1.4.2 'Bifrost')

mgd_list_events -- List event records

Description

object mgd_list_events (int id, string [sort], int [type])

Minimum version: Midgard 1.4 (Bifrost)

Lists the events that have their up field set to id

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


<?php1
  $list = mgd_list_events(17);
  while($list->fetch()) {
    echo $list->title . "<br>\n";
  }
?>