mgd_get_event

(Midgard 1.4.2 'Bifrost')

mgd_get_event -- Get an event record

Description

object mgd_get_event (int id)

Minimum version: Midgard 1.4 (Bifrost)

Gets information about the event record with id id.

Returns an object describing the record if successful. Returns FALSE on failure.


<?php
 $event = mgd_get_event(13);
 echo $event->title . "<br>" . $event->description;
?>