Project

General

Profile

Feature #19898 » wizard_itemsProcFunc-core-10047.diff

Administrator Admin, 2011-01-12 22:16

View differences:

t3lib/class.t3lib_tceforms.php (Arbeitskopie)
$TSconfig[$field] = $TSconfig[$field]['wizards.'][$wid . '.'];
$selItems = $this->addSelectOptionsToItemArray($this->initItemArray($fieldValue), $fieldValue, $TSconfig, $field);
// Process items by a user function:
if (!empty($wConf['itemsProcFunc'])) {
$funcConfig = (!empty($wConf['itemsProcFunc.']) ? $wConf['itemsProcFunc.'] : array());
$selItems = $this->procItems($selItems, $funcConfig, $wConf, $table, $row, $field);
}
$opt = array();
$opt[] = '<option>' . $iTitle . '</option>';
foreach ($selItems as $p) {
(4-4/4)