Minimum version: Midgard 1.0
Gets information about the style record with id id.
Returns an object describing the record if successful. Returns FALSE on failure.
<?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";
}
?>
|