/** * Getting the tree data: next entry * * @param mixed data handle * @param string CSS class for sub elements (workspace related) * @return array item data array OR FALSE if end of elements. * @access private * @see getDataInit() */ function getDataNext(&$res, $subCSSclass = '') { $row = parent::getDataNext($res, $subCSSclass); // Wir heben jede zweite Zeile hervor if ($row) { $this->iCurrentRow++; $bgColorClass = $this->iCurrentRow % 2 ? 'bgColor' : 'bgColor3'; // Bereits gewählte werden zusätzlich hervorgehoben if (in_array($row['uid'], $this->getItemArrayIds())) { $bgColorClass = 'bgColor4'; } $row['_CSSCLASS'] = ($row['_CSSCLASS'] ? ' ' : '') . $bgColorClass; $oConfig = $this->getConfig(); // den Titel mit label_alt fülen if ($oConfig->getTreeConfig('parseRecordTitle')) { $row[$oConfig->getTitleField() . '_alt'] = t3lib_befunc::getRecordTitle($oConfig->getForeignTable(), $row, $prep = TRUE, $forceResult = TRUE); } } return $row; }