Open Source Content Management Framework

mgd_get_host

  1. Description

mgd_get_host -- Get a host record

Description

`object **mgd_get_host** (int id)`

Minimum version: Midgard 1.2.5 (Mad King)

Gets information about the host record with id id.

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

<?php  
     $id = 17;  
     $host = mgd_get_host( $id );  
     echo $host->name . $host->prefix . ":" $host->port;  
    ?>
Designed by Nemein, hosted by Anykey