mgd_list_topic_persons

Name

mgd_list_topic_persons -- List persons of a topic

Synopsis

object mgd_list_topic_persons(int id, string [sort]);

Description

Minimum version: Midgard 1.0 (Land Rover)

Lists all persons that have their department field set to id.

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

Example

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