mgd_list_events_all

(Midgard 1.4.2 'Bifrost')

mgd_list_events_all -- List event records under event tree

Description

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

Minimum version: Midgard 1.4 (Bifrost)

Lists the events that are below the event tree starting at the event with id id

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


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