[TYPO3-dev] tslib_cObj::fillInArray
Peter Russ
peter.russ at 4many.net
Thu Dec 17 10:13:26 CET 2009
--- Original Nachricht ---
Absender: Popy
Datum: 17.12.2009 10:05:
> "$row[$field]" ???
if (is_array($row))
;-)
>
> 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
More information about the TYPO3-dev
mailing list