Minimum version: Midgard 1.0
Lists all style records.
Returns an object traversable by calling fetch() if successful. Returns FALSE on failure.
<?php $styles = mgd_list_styles(); if(! $styles) { echo "No styles found."; } else { while( $styles->fetch() ) { echo $styles->id . " : " . $styles->name . "<br>\n"; } } ?> |