Hello,

Tarjei Huse 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

(I have never tried it yet, but I do plan... :)

Fery


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

Reply via email to