mgd_get_group

(Midgard 1.4.2 'Bifrost')

mgd_get_group -- Get a group record

Description

object mgd_get_group (int id)

Minimum version: Midgard 1.1.1 ,

Gets information about the group record with id id.

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


<?php
 $grp = mgd_get_group(1);
 if($grp) {
   echo $grp->name . "(" . $grp->official . ")<br>";
   echo "Owner: " . $grp->owner;
 }
?>