Name
mgd_list_styles -- List style records
Synopsis
object mgd_list_styles
(void);
Description
Minimum version: Midgard 1.0 (Land Rover)
Lists all style records.
Returns an object traversable by calling fetch if successfull.
Returns false on failure.
Example
<?php
$styles = mgd_list_styles();
if(! $styles) {
echo "No styles found.";
} else {
while( $styles->fetch() ) {
echo $styles->id . " : " . $styles->name . "<br>\n";
}
}
?>