Tarjei Huse wrote:
>
> Thank's Emile, here's the output:
>
> o:30:{s:1:"N";i:1;s:7:"__res__";i:135563328;s:5:"fetch";i:0;s:2:"id";s:3:"10
> 8";s:4:"name";s:43:"Forurensningsgebyr til grunneier i
This object was the result of a mgd_list_topic_articles call. The
mgd_list_whatever functions list 'partial' objects for efficiency
reasons. To get the full object with all associated actions,
you must refetch it. So if you have
$cursor = mgd_list_topic_articles($topic);
while ($cursor && $cursor->fetch()) {
$article = mgd_get_article($cursor->id);
$att = $article->listattachments();
while ($att && $att->fetch()) {
/* etc */
}
}
Emile
--
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]