Thanks Henri,
So in my context where I have an article
with the extra parameters set to
a domain called "category", and a name called "Doctype",
and a value of "yes"
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_???
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]