[TYPO3-dev] how to implement "no records found" with TS

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Mon Jul 10 21:26:10 CEST 2006


Franz Holzinger schrieb:
> Hello Martin,
> 
> IMHO currentRecordTotal should always be 0 or 1. This is because one 
> record can be only one or not existing.

No, it returns the content of $cObj->currentRecordTotal which is the 
number of rows the SELECT returned.

See tslib_cObj->RECORDS and tslib_cObj->CONTENT.

Masi




More information about the TYPO3-dev mailing list