Hi,

On Sun, 10 Feb 2002, Ferenc Engard wrote:
> > > To call up other articles with the same parameter values would require me to
> > > fetch these values from the database using the $object =
> > > mdg_get_object_by_???
> > AFAIK the only way would be to do :
> > $topica = mgd_list_topic_articles_all($topicid);
> >
> > if ($topica) while ($topica->fetch()) {
> >
> > if ($topica->domain_name == "something") {
> >
> > do this.
> > }
> >
> > }
>
> Actually, there is a more efficient way, with
> $object->searchparameters() method, which can search within all objects
> of the same type (e.g., all articles). Info:
> http://www.midgard-project.org/manual/en/method.object-searchparameters.php

By all means, but please do not ignore the warning on that page:

>> This is an experimental method. Its interface may change. It may even
go away completely. Not to be used in any production site. <<

wkr,

-- 
Envida                     http://www.envida.net/
Armand A. Verstappen       Graadt van Roggenweg 328
[EMAIL PROTECTED]       3531 AH Utrecht
tel: +31 (0)30 298 2255    Postbus 19127
fax: +31 (0)30 298 2111    3501 DC Utrecht


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to