> 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.
}
}
Naturally this isn't very efficient and IMHO one of the few problems with
midgard, there's not enough ways to filter articles. Take a look at the type
field for some posibilities.
Tarjei
> and then do what?
>
> thanks
> Andrew
>
> $object = mgd_get_object_by_guid($GUID);
>
> // Set parameter
> $object->parameter('domain','name','value');
>
> // Echo parameter
> echo $object->parameter('domain','name');
>
> // Echo parameter
> echo $object->domain_name;
>
> >From: Henri Bergius <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: [EMAIL PROTECTED]
> >Subject: Re: [midgard-user] newbie question (record_extension)
> >Date: 07 Feb 2002 20:58:03 +0200
> >
> >On Thu, 2002-02-07 at 16:41, Andrew Hatton wrote:
> > > Does anyone know if there is a specific Midgard function for using the
> > > record_extension.
> >
> >Yes. It is the 'parameter' method on all Midgard objects.
> >
> >Example:
> >
> >$object = mgd_get_object_by_guid($GUID);
> >
> >// Set parameter
> >$object->parameter('domain','name','value');
> >
> >// Echo parameter
> >echo $object->parameter('domain','name');
> >
> >// Echo parameter
> >echo $object->domain_name;
> >
> >You'll find more information from the manual:
> >http://www.midgard-project.org/manual/en/ref.parameters.php
> >
> > > Andrew
> >
> >/Bergie
> >
> >--
> >Henri Bergius [EMAIL PROTECTED]
> >Consultant Partner Tel: +358-20-198 6032
> >Nemein Solutions Oy http://www.nemein.com
> >
> >Nadmin Studio and Midgard support at 0600-1-2552 available for Finnish
> >customers.
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]