Minimum version: Midgard 1.2.5 (Mad King)
Lists information about the element records within the style with id id.
Returns an object that can be traversed by calling fetch if successful. Returns FALSE on failure.
<?php $id = 123; $list = mgd_list_elements( $id ); if(! $list ) { echo "Could not get list of elements."; } else { while($list->fetch()){ echo $list->id . " " . $list->name; } } ?> |