Hello,
I don't quite understand, when I use mgd_list_topic_articles what
kind of class type is returned? Article? Topic? A pseudo Article?
It seems like the function doesn't return a full article object, some
values are unset although the they are set in the midgard database.
For example:
$list = mgd_list_topic_articles(19);
while ($list->fetch())
{
print($list->title); // prints the article title. As expected.
print($list->startdate); // prints nothing (null?). Why not?
// now lets double check...
$article = mgd_get_article($list->id);
print($article->startdate); // prints a unix timestamp.
// As expected.
}
How comes, the first "article" $list doesn't have some values, like
startdate and enddate, set while the second "article" $article has
those values set?
If the $list is only some kind of a limited article without some
variables, as I begin to believe, how come? Performance issues? And
where is this documented?
--
Fredrik Jonson
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]