mgd_list_events_all

Name

mgd_list_events_all -- List event records under event tree

Synopsis

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

Description

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 successfull. Returns false on failure.

Example

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