Actions
Feature #15893
closedNew TCA-options for getting labels with user-functions
Start date:
2006-03-24
Due date:
% Done:
0%
Estimated time:
PHP Version:
4
Tags:
Complexity:
Sprint Focus:
Description
For the 4.5 release, I would like to propose the introduction of two new TCA options which offer the possibility to determine labels in a user-function.
$TCA['tx_whatever']['ctrl']['label_user_func']
This can be used whenever the label or label_alt options don't offer enough flexibility, e.g. when you want to look up another table to create your label. The result of this function will overwrite anything found by the regular label or label_alt functionality.
$TCA['tx_whatever']['columns']['my_field']['label_user_func']
This can be used if you wish to determine the label of the field yourself, e.g. depending on a type-field.
(issue imported from #M2979)
Files
Actions