mgd_list_pagelinks

Name

mgd_list_pagelinks -- List pagelinks

Synopsis

object mgd_list_pagelinks(int id);

Description

Minimum version: Midgard 1.4 (Bifrost)

Lists the pagelinks that have their up field set to id.

Returns an object traversable by calling fetch if successfull. Returns false on failure.

Example

<?php
 $list = mgd_list_pagelinks(17);
 while($list->fetch()) {
   echo $list->name . "<br>\n";
 }
?>