Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
optimized documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
iCodr8 committed Feb 11, 2014
1 parent 7516919 commit 37a5a90
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,16 @@ $GLOBALS['TL_DCA']['tl_my_cross_table'] = array
(
// ...

// Add the left table field relation to the cross table
'member' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_cross_table']['member'],
'foreignKey' => "tl_member.CONCAT(firstname, ' ', lastname)",
'sql' => "int(10) unsigned NOT NULL default '0'",
'relation' => array('type'=>'hasOne', 'load'=>'lazy')
),

// Add the right table field relation to the cross table
'mgroup' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_cross_table']['mgroup'],
Expand Down

0 comments on commit 37a5a90

Please sign in to comment.