Тема: userFunc в select
Показать сообщение отдельно
Старый 24.02.2012, 18:48   #2
dmartynenko
Senior Member
 
Аватар для dmartynenko
 
Регистрация: 20.07.2007
Адрес: Беларусь, Минск
Сообщений: 957
Отправить сообщение для dmartynenko с помощью ICQ
По умолчанию

Открываете документ 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.
dmartynenko вне форума   Ответить с цитированием