Hi,

> There's no documentation for mgd_list_members.
> I'll guess that
>     - it takes a group id as the (only) argument;
>     - it returns person records;
>     - it has a fetch() method defined for it.
>
> Can someone tell me which person fields it returns?
>

the code
<?
$m=mgd_list_member($group);
echo serialize($m):
?>

outputs:
o:8:{s:1:"N";i:1;s:5:"fetch";i:0;s:2:"id";s:1:"2";s:3:"uid";s:1:"4";s:4:"nam
e";s:3:"first last";s:5:"rname";s:3:"last,
first";s:10:"department";s:1:"0";s:5:"extra";s:0:"";}

so I think that the object member is defined as:

class member
{
  int N;
  function fetch();
  int id;     // not very useful
  int uid;   // user id
  string name;  // first last
  string rname;  // last, first (reversed name ??)
  string departement;
  string extra;  // ???
};

I don't know what the extra is, this field is always ""...


regards,
[EMAIL PROTECTED]


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to