Просмотр полной версии : userFunc в select
Подскажите можно ли использовать для построения массива select item, массива параметров, с помощью userFunc? Если возможно то где рыть?
dmartynenko
24.02.2012, 18:48
Открываете документ doc_core_tca (версии 4.6.0 или ниже).
Ищете раздел: ['columns'][field name]['config'] / TYPE: "select"
Смотрите описание параметра itemsProcFunc
PHP function which is called to fill / manipulate the array with elements.
The function/method will have an array of parameters passed to it (where the item-array is passed by reference in the key 'items'). By modifying the array of items, you alter the list of items.
For more information, see how user-functions are specified in the section about 'wizards' some pages below here.
Открываете документ doc_core_tca (версии 4.6.0 или ниже).
Ищете раздел: ['columns'][field name]['config'] / TYPE: "select"
Смотрите описание параметра itemsProcFunc
Кстати решение это проблемы помогло воплотить ваше придложение №2 (http://forum.typo3.biz/showthread.php?t=9943). СПАСИБО!!!!!!!
Работает на vBulletin® версия 3.8.1. Copyright ©2000-2025, Jelsoft Enterprises Ltd. Перевод: zCarot