ReStructured Text InfrastructureTYPO3 CMS - What's Newwiki.typo3.orgTYPO3 CMS Documentation

Feature #56123

Introduce MM_oppositeUsage property

Added by Oliver Hader over 1 year ago. Updated about 1 year ago.

Status:Closed Start date:2014-02-19
Priority:Should have Due date:
Assigned To:Francois Suter % Done:

100%

Category:-
Target version:6.2.0

Description

For group, select and inline types (all TCA types that support MM relations)

Description:
MM_oppositeUsage defines an array with maps table names to field names, pointing to possible opposite relations. Since the current relation allows any table, these pointers are checked on creating new MM relations and will apply the MM_match_fields from the accordant opposite configuration. TYPO3 CMS uses this for e.g. sys_category and tt_content relations.

Example:

...
'allowed' => '*',
'MM' => 'tx_myextension_first_second_mm',
'MM_oppositeUsage' => array(
'tt_content' => array('somefield'),
'tx_myextension_domain_model' => array('some_property'),
),
...


Related issues

related to Core - Task #56061: Introduce MM_oppositeUsage property Resolved 2014-02-18

Associated revisions

Revision 968ba8cc
Added by Francois Suter over 1 year ago

[FEATURE] Document MM_opposite_usage property

Add documentation for the new property MM_opposite_usage.
This applies to both select-type and group-type fields.

Resolves: #56123
Releases: 6.2

Change-Id: I9e6b76c5f1f8f6f84c2ec5914106f9c12011b555
Reviewed-on: https://review.typo3.org/27918
Reviewed-by: Oliver Hader
Reviewed-by: Francois Suter
Tested-by: Francois Suter

History

#1 Updated by Francois Suter over 1 year ago

  • Status changed from New to Accepted
  • Assigned To set to Francois Suter

#2 Updated by Gerrit Code Review over 1 year ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Documentation/TYPO3/Reference/Tca has been pushed to the review server.
It is available at https://review.typo3.org/27918

#3 Updated by Francois Suter over 1 year ago

Olly, this was quite a complicated feature to describe. Would you care to review my documentation patch to make sure it is fitting? Thanks in advance.

#4 Updated by Francois Suter over 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#5 Updated by Francois Suter about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF