Bug #21074 » 11979_v2.diff
t3lib/tceforms/class.t3lib_tceforms_suggest_defaultreceiver.php (working copy) | ||
---|---|---|
protected $mmForeignTable = '';
|
||
/**
|
||
* Counter to limit the recursions when querying the table; also needed to choose the range of records to select
|
||
*
|
||
* @var integer
|
||
*/
|
||
protected $recursionCounter = 0;
|
||
/**
|
||
* The select-clause to use when selecting the records (is manipulated and used by different functions, so it has to
|
||
* be a global var)
|
||
*
|
||
... | ... | |
$rows = array();
|
||
$this->params = &$params;
|
||
$this->start = $this->recursionCounter * 50;
|
||
$start = $recursionCounter * 50;
|
||
$this->prepareSelectStatement();
|
||
$this->prepareOrderByStatement();
|
||
... | ... | |
$this->selectClause,
|
||
'',
|
||
$this->orderByStatement,
|
||
$this->start . ', 50');
|
||
$start . ', 50');
|
||
$allRowsCount = $GLOBALS['TYPO3_DB']->sql_num_rows($res);
|
- « Previous
- 1
- 2
- Next »