get relationships.ini fields

Hello,
I have a relationships.ini file as the following:
I need to make the following HTML link:
How to get the table name ‘table_main’ and the 2 field names ‘NAMEREF’ and ‘SUBREF’ set by the relationships.ini ?
Thanks in advance for your help,
Patrice.
I have a relationships.ini file as the following:
- Code: Select all
[relation_test]
action:label = "Relation Test"
table_main.NAMEREF = "$NAME"
table_main.SUBREF = "$SUBREF"
action:order = 2
section:visible = 1
I need to make the following HTML link:
- Code: Select all
<a href="http://database_path.index.php?-table=table_main&NAMEREF=name1&SUBREF=sub1>
How to get the table name ‘table_main’ and the 2 field names ‘NAMEREF’ and ‘SUBREF’ set by the relationships.ini ?
Thanks in advance for your help,
Patrice.