Name
mgd_get_host -- Get a host record
Synopsis
object mgd_get_host
(int id);
Description
Minimum version: Midgard 1.2.5 (Mad King)
Gets information about the host record with id
id.
Returns an object describing the record if successfull.
Returns false on failure.
Example
<?php
$id = 17;
$host = mgd_get_host( $id );
echo $host->name . $host->prefix . ":" $host->port;
?>