mgd_list_event_members

(Midgard 1.4.2 'Bifrost')

mgd_list_event_members -- List eventmembers

Description

object mgd_list_event_members (int id, string [sort])

Minimum version: Midgard 1.4 (Bifrost)

Lists the eventmember records that have their eid field set to id. The optional parameter sort influences the sort order of the matching records.

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


<?php
  $list = mgd_list_event_members(13);
  while($list->fetch()) {
   echo $list->eid . " : " $list->uid . "<br>\n";
  }
?>