Name
mgd_get_style -- Get a style
Synopsis
object mgd_get_style
(int id);
Description
Minimum version: Midgard 1.0 (Land Rover)
Gets information about the style record with id id.
Returns an object describing the record if successfull.
Returns false on failure.
Example
<?php
$id = 123;
$style = mgd_get_style( $id );
if(! $style ) {
echo "Could not get style $id.";
} else {
echo $style->id . ": name=" . $style->name .
", up=" . $style->up . "<br>\n";
}
?>