mgd_list_events_by_group
mgd_list_events_by_group -- List event records by owner group
Description
`object **mgd_list_events_by_group** (int owner, string sort, int type)`
Minimum version: Midgard 1.4.4 (Happy Christmas)
Lists all events linked to the owner group
Returns an object traversable by calling fetch() if successful. Returns FALSE on failure.
<?php1
$group = mgd_get_group(1);
$list = mgd_list_events_by_owner($group->id);
while($list->fetch()) {
echo $list->title . "
\n";
}
?>
