[TYPO3-dev] tslib_cObj::fillInArray
Popy
popy.dev at gmail.com
Thu Dec 17 10:05:30 CET 2009
"$row[$field]" ???
2009/12/17 Peter Russ <peter.russ at 4many.net>
> 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
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
>
More information about the TYPO3-dev
mailing list