> Does anyone know if there is a specific Midgard function for 
> using the record_extension.
> 
> I have used the Nadmin "Parameters" tab to store a certain 
> group,name,value 
> against a couple of articles and would like to be able to 
> call up (or rather 
> produce links)to these realated articles.
> 
> Obviously I could break out of Midgard and do this directly 
> via PHP/MySQL 
> but there is probably a better way of doing it.

Actualz zou got $object->parameter() method which in a special case act
as prperty :-)

>From manual:

int $object->parameter (string domain, string name, string value)

string $object->parameter (string domain, string name)

This method has three 'modes' of operation. 

When called with (domain, name), the value of the parameter will be
returned. 

When called with (domain, name, value) and 'value' being a nonempty
string, the parameter denoted by (domain, name) will be set to 'value'.
The parameter will be created if it doesn't exist yet. 

When called with (domain, name, value) and 'value being an empty string,
the parameter denoted by (domain, name) will be deleted. 

Solt


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

Reply via email to