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