mgd_get_page

(Midgard 1.4.2 'Bifrost')

mgd_get_page -- Get a page record

Description

object mgd_get_page (int id)

Minimum version: Midgard 1.0

Gets information about the page record with id id.

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


<?php
 $id = 17;
 $page = mgd_get_page( $id );
 echo $page->title;
?>