Name
mgd_list_pages -- List page records
Synopsis
object mgd_list_pages
(int id);
Description
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 successfull.
Returns false on failure.
Example
<?php
$id = 107;
$list = mgd_list_pages( $id );
if($list) {
while( $list->fetch() ) {
echo $list->name . " by " . $list->authorname . "<br>\n";
}
}
?>