Minimum version: Midgard 1.2.5 (Mad King)
Lists the page records that have their up field set to id.
Returns an object traversable by calling fetch() if successful. Returns FALSE on failure.
<?php
$id = 107;
$list = mgd_list_pages( $id );
if($list) {
while( $list->fetch() ) {
echo $list->name . " by " . $list->authorname . "<br>\n";
}
}
?>
|