[TYPO3-dev] Understanding the TCA properties MM_match_fields and MM_insert_fields

Steffen Müller typo3 at t3node.com
Mon Feb 22 16:41:38 CET 2010


Hi.

I am trying to understand the use of MM_match_fields and MM_insert_fields.

Core API says:

"MM_match_fields: Array of field=>value pairs to both insert and match 
against when writing/reading MM relations"

"MM_insert_fields: Array of field=>value pairs to insert when writing 
new MM relations"

So far I understand the difference. It is also clear to me, that I need 
MM_match_fields, when I store relations between a table and two or more 
other foreign tables.

But can you point me to a use case of MM_insert_fields?

What if both are used with identical values (as I have seen in a 3rd 
party extensions)?


Thanks in advance.

-- 
cheers,
Steffen

TYPO3 Blog: http://www.t3node.com/
Microblog:  http://twitter.com/t3node




More information about the TYPO3-dev mailing list