mgd_get_person

Name

mgd_get_person -- Get a person

Synopsis

object mgd_get_person(int id);

Description

Minimum version: Midgard 1.0 (Land Rover)

Gets information about the person record with id id.

Returns an object describing the record if successfull. Returns false on failure.

Example

 $id = 17;
 $person = mgd_get_person( $id );
 echo $person->firstname . " " $person->lastname . "has  username:"
    . $person->username;
?>