‪TYPO3CMS  11.5
RenderAdditionalContentToRecordListEvent.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
19 
20 use Psr\Http\Message\ServerRequestInterface;
21 
28 {
29  private ‪$contentAbove = '';
30 
31  private ‪$contentBelow = '';
32 
33  private ‪$request;
34 
35  public function ‪__construct(ServerRequestInterface ‪$request)
36  {
37  $this->request = ‪$request;
38  }
39 
40  public function ‪getRequest(): ServerRequestInterface
41  {
42  return ‪$this->request;
43  }
44 
45  public function ‪addContentAbove(string ‪$contentAbove): void
46  {
47  $this->contentAbove .= ‪$contentAbove;
48  }
49 
50  public function ‪addContentBelow(string ‪$contentBelow): void
51  {
52  $this->contentBelow .= ‪$contentBelow;
53  }
54 
55  public function ‪getAdditionalContentAbove(): string
56  {
58  }
59 
60  public function ‪getAdditionalContentBelow(): string
61  {
63  }
64 }
‪TYPO3\CMS\Recordlist\Event\RenderAdditionalContentToRecordListEvent\$contentAbove
‪$contentAbove
Definition: RenderAdditionalContentToRecordListEvent.php:29
‪TYPO3\CMS\Recordlist\Event\RenderAdditionalContentToRecordListEvent
Definition: RenderAdditionalContentToRecordListEvent.php:28
‪TYPO3\CMS\Recordlist\Event\RenderAdditionalContentToRecordListEvent\addContentBelow
‪addContentBelow(string $contentBelow)
Definition: RenderAdditionalContentToRecordListEvent.php:50
‪TYPO3\CMS\Recordlist\Event\RenderAdditionalContentToRecordListEvent\$request
‪$request
Definition: RenderAdditionalContentToRecordListEvent.php:33
‪TYPO3\CMS\Recordlist\Event\RenderAdditionalContentToRecordListEvent\__construct
‪__construct(ServerRequestInterface $request)
Definition: RenderAdditionalContentToRecordListEvent.php:35
‪TYPO3\CMS\Recordlist\Event\RenderAdditionalContentToRecordListEvent\getAdditionalContentAbove
‪getAdditionalContentAbove()
Definition: RenderAdditionalContentToRecordListEvent.php:55
‪TYPO3\CMS\Recordlist\Event\RenderAdditionalContentToRecordListEvent\getRequest
‪getRequest()
Definition: RenderAdditionalContentToRecordListEvent.php:40
‪TYPO3\CMS\Recordlist\Event\RenderAdditionalContentToRecordListEvent\$contentBelow
‪$contentBelow
Definition: RenderAdditionalContentToRecordListEvent.php:31
‪TYPO3\CMS\Recordlist\Event\RenderAdditionalContentToRecordListEvent\getAdditionalContentBelow
‪getAdditionalContentBelow()
Definition: RenderAdditionalContentToRecordListEvent.php:60
‪TYPO3\CMS\Recordlist\Event
Definition: ModifyRecordListHeaderColumnsEvent.php:18
‪TYPO3\CMS\Recordlist\Event\RenderAdditionalContentToRecordListEvent\addContentAbove
‪addContentAbove(string $contentAbove)
Definition: RenderAdditionalContentToRecordListEvent.php:45