(Midgard 1.4.2 'Bifrost')
mgd_get_style_by_name -- Get a style by its name
Description
object mgd_get_style_by_name
(string name)
Minimum version: Midgard 1.4 (Bifrost)
Gets information about the style record with name
name.
Returns an object describing the record if successful.
Returns FALSE on failure.
<?php
$style = mgd_get_style_by_name("demostyle");
if($style) {
echo $style->id . " " . $style->name;
?>
|