| @@ 340-361 (lines=22) @@ | ||
| 337 | * @return array array([boolean], [HTML]) where [boolean] is 1 for reverse element, [HTML] is the table-row code for the element |
|
| 338 | * @deprecated since TYPO3 v9, will be removed in TYPO3 v10 |
|
| 339 | */ |
|
| 340 | public function fwd_rwd_nav($table = '') |
|
| 341 | { |
|
| 342 | $code = ''; |
|
| 343 | if ($this->eCounter >= $this->firstElementNumber && $this->eCounter < $this->firstElementNumber + $this->iLimit) { |
|
| 344 | if ($this->firstElementNumber && $this->eCounter == $this->firstElementNumber) { |
|
| 345 | // Reverse |
|
| 346 | $theData = []; |
|
| 347 | $titleCol = $this->fieldArray[0]; |
|
| 348 | $theData[$titleCol] = $this->fwd_rwd_HTML('fwd', $this->eCounter, $table); |
|
| 349 | $code = $this->addElement(1, '', $theData, 'class="fwd_rwd_nav"'); |
|
| 350 | } |
|
| 351 | return [1, $code]; |
|
| 352 | } |
|
| 353 | if ($this->eCounter == $this->firstElementNumber + $this->iLimit) { |
|
| 354 | // Forward |
|
| 355 | $theData = []; |
|
| 356 | $titleCol = $this->fieldArray[0]; |
|
| 357 | $theData[$titleCol] = $this->fwd_rwd_HTML('rwd', $this->eCounter, $table); |
|
| 358 | $code = $this->addElement(1, '', $theData, 'class="fwd_rwd_nav"'); |
|
| 359 | } |
|
| 360 | return [0, $code]; |
|
| 361 | } |
|
| 362 | ||
| 363 | /** |
|
| 364 | * Creates the button with link to either forward or reverse |
|
| @@ 654-675 (lines=22) @@ | ||
| 651 | * @param string $table Table name |
|
| 652 | * @return array array([boolean], [HTML]) where [boolean] is 1 for reverse element, [HTML] is the table-row code for the element |
|
| 653 | */ |
|
| 654 | public function fwd_rwd_nav($table = '') |
|
| 655 | { |
|
| 656 | $code = ''; |
|
| 657 | if ($this->eCounter >= $this->firstElementNumber && $this->eCounter < $this->firstElementNumber + $this->iLimit) { |
|
| 658 | if ($this->firstElementNumber && $this->eCounter == $this->firstElementNumber) { |
|
| 659 | // Reverse |
|
| 660 | $theData = []; |
|
| 661 | $titleCol = $this->fieldArray[0]; |
|
| 662 | $theData[$titleCol] = $this->fwd_rwd_HTML('fwd', $this->eCounter, $table); |
|
| 663 | $code = $this->addElement(1, '', $theData, 'class="fwd_rwd_nav"'); |
|
| 664 | } |
|
| 665 | return [1, $code]; |
|
| 666 | } |
|
| 667 | if ($this->eCounter == $this->firstElementNumber + $this->iLimit) { |
|
| 668 | // Forward |
|
| 669 | $theData = []; |
|
| 670 | $titleCol = $this->fieldArray[0]; |
|
| 671 | $theData[$titleCol] = $this->fwd_rwd_HTML('rwd', $this->eCounter, $table); |
|
| 672 | $code = $this->addElement(1, '', $theData, 'class="fwd_rwd_nav"'); |
|
| 673 | } |
|
| 674 | return [0, $code]; |
|
| 675 | } |
|
| 676 | ||
| 677 | /** |
|
| 678 | * Creates the button with link to either forward or reverse |
|
| @@ 4185-4206 (lines=22) @@ | ||
| 4182 | * @param string $table Table name |
|
| 4183 | * @return array array([boolean], [HTML]) where [boolean] is 1 for reverse element, [HTML] is the table-row code for the element |
|
| 4184 | */ |
|
| 4185 | public function fwd_rwd_nav($table = '') |
|
| 4186 | { |
|
| 4187 | $code = ''; |
|
| 4188 | if ($this->eCounter >= $this->firstElementNumber && $this->eCounter < $this->firstElementNumber + $this->iLimit) { |
|
| 4189 | if ($this->firstElementNumber && $this->eCounter == $this->firstElementNumber) { |
|
| 4190 | // Reverse |
|
| 4191 | $theData = []; |
|
| 4192 | $titleCol = $this->fieldArray[0]; |
|
| 4193 | $theData[$titleCol] = $this->fwd_rwd_HTML('fwd', $this->eCounter, $table); |
|
| 4194 | $code = $this->addElement(1, '', $theData, 'class="fwd_rwd_nav"'); |
|
| 4195 | } |
|
| 4196 | return [1, $code]; |
|
| 4197 | } |
|
| 4198 | if ($this->eCounter == $this->firstElementNumber + $this->iLimit) { |
|
| 4199 | // Forward |
|
| 4200 | $theData = []; |
|
| 4201 | $titleCol = $this->fieldArray[0]; |
|
| 4202 | $theData[$titleCol] = $this->fwd_rwd_HTML('rwd', $this->eCounter, $table); |
|
| 4203 | $code = $this->addElement(1, '', $theData, 'class="fwd_rwd_nav"'); |
|
| 4204 | } |
|
| 4205 | return [0, $code]; |
|
| 4206 | } |
|
| 4207 | ||
| 4208 | /** |
|
| 4209 | * Creates the button with link to either forward or reverse |
|
| @@ 4053-4074 (lines=22) @@ | ||
| 4050 | * @param string $table Table name |
|
| 4051 | * @return array array([boolean], [HTML]) where [boolean] is 1 for reverse element, [HTML] is the table-row code for the element |
|
| 4052 | */ |
|
| 4053 | public function fwd_rwd_nav($table = '') |
|
| 4054 | { |
|
| 4055 | $code = ''; |
|
| 4056 | if ($this->eCounter >= $this->firstElementNumber && $this->eCounter < $this->firstElementNumber + $this->iLimit) { |
|
| 4057 | if ($this->firstElementNumber && $this->eCounter == $this->firstElementNumber) { |
|
| 4058 | // Reverse |
|
| 4059 | $theData = []; |
|
| 4060 | $titleCol = $this->fieldArray[0]; |
|
| 4061 | $theData[$titleCol] = $this->fwd_rwd_HTML('fwd', $this->eCounter, $table); |
|
| 4062 | $code = $this->addElement(1, '', $theData, 'class="fwd_rwd_nav"'); |
|
| 4063 | } |
|
| 4064 | return [1, $code]; |
|
| 4065 | } |
|
| 4066 | if ($this->eCounter == $this->firstElementNumber + $this->iLimit) { |
|
| 4067 | // Forward |
|
| 4068 | $theData = []; |
|
| 4069 | $titleCol = $this->fieldArray[0]; |
|
| 4070 | $theData[$titleCol] = $this->fwd_rwd_HTML('rwd', $this->eCounter, $table); |
|
| 4071 | $code = $this->addElement(1, '', $theData, 'class="fwd_rwd_nav"'); |
|
| 4072 | } |
|
| 4073 | return [0, $code]; |
|
| 4074 | } |
|
| 4075 | ||
| 4076 | /** |
|
| 4077 | * Creates the button with link to either forward or reverse |
|