[TYPO3-dev] tslib_cObj::fillInArray
Peter Russ
peter.russ at 4many.net
Thu Dec 17 10:03:40 CET 2009
Just wondering:
public function fillInMarkerArray(array $markContentArray, array $row,
$fieldList = '', $nl2br = true, $prefix = 'FIELD_', $HSC = false) {
if ($fieldList) {
$fArr = t3lib_div::trimExplode(',', $fieldList, 1);
foreach ($fArr as $field) {
$markContentArray['###' . $prefix . $field . '###'] = $nl2br ?
nl2br($row[$field]) : $row[$field];
}
} else {
if (is_array($row)) {
Why is $row forced to be an array?
Isn't the check obsolete?
Peter.
--
loans that change lives http://www.kiva.org
_____________________________
uon GbR
http://www.uon.li
http://www.xing.com/profile/Peter_Russ
More information about the TYPO3-dev
mailing list