‪TYPO3CMS  10.4
AbstractSectionMarkupGeneratedEvent.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\EventDispatcher\StoppableEventInterface;
22 
23 abstract class ‪AbstractSectionMarkupGeneratedEvent implements StoppableEventInterface
24 {
28  private ‪$columnConfig = [];
29 
33  private ‪$content = '';
34 
38  private ‪$pageLayoutView;
39 
43  private ‪$languageId;
44 
48  private ‪$stopRendering = false;
49 
51  {
52  $this->pageLayoutView = ‪$pageLayoutView;
53  $this->languageId = ‪$languageId;
54  $this->columnConfig = ‪$columnConfig;
55  }
56 
58  {
60  }
61 
62  public function ‪getLanguageId(): int
63  {
64  return ‪$this->languageId;
65  }
66 
67  public function ‪getColumnConfig(): array
68  {
70  }
71 
72  public function ‪setContent(string ‪$content = ''): void
73  {
74  $this->content = ‪$content;
75  }
76 
77  public function ‪getContent(): string
78  {
79  return ‪$this->content;
80  }
81 
85  public function ‪isPropagationStopped(): bool
86  {
88  }
89 
90  public function ‪setStopRendering(bool ‪$stopRendering): void
91  {
92  $this->stopRendering = ‪$stopRendering;
93  }
94 }
‪TYPO3\CMS\Backend\View\Event\AbstractSectionMarkupGeneratedEvent\getContent
‪getContent()
Definition: AbstractSectionMarkupGeneratedEvent.php:72
‪TYPO3\CMS\Backend\View\Event\AbstractSectionMarkupGeneratedEvent\$stopRendering
‪bool $stopRendering
Definition: AbstractSectionMarkupGeneratedEvent.php:43
‪TYPO3\CMS\Backend\View\Event
Definition: AbstractSectionMarkupGeneratedEvent.php:18
‪TYPO3\CMS\Backend\View\Event\AbstractSectionMarkupGeneratedEvent\getPageLayoutView
‪getPageLayoutView()
Definition: AbstractSectionMarkupGeneratedEvent.php:52
‪TYPO3\CMS\Backend\View\Event\AbstractSectionMarkupGeneratedEvent\$languageId
‪int $languageId
Definition: AbstractSectionMarkupGeneratedEvent.php:39
‪TYPO3\CMS\Backend\View\Event\AbstractSectionMarkupGeneratedEvent\setStopRendering
‪setStopRendering(bool $stopRendering)
Definition: AbstractSectionMarkupGeneratedEvent.php:85
‪TYPO3\CMS\Backend\View\Event\AbstractSectionMarkupGeneratedEvent\getColumnConfig
‪getColumnConfig()
Definition: AbstractSectionMarkupGeneratedEvent.php:62
‪TYPO3\CMS\Backend\View\Event\AbstractSectionMarkupGeneratedEvent\$columnConfig
‪array $columnConfig
Definition: AbstractSectionMarkupGeneratedEvent.php:27
‪TYPO3\CMS\Backend\View\Event\AbstractSectionMarkupGeneratedEvent\getLanguageId
‪getLanguageId()
Definition: AbstractSectionMarkupGeneratedEvent.php:57
‪TYPO3\CMS\Backend\View\PageLayoutView
Definition: PageLayoutView.php:61
‪TYPO3\CMS\Backend\View\Event\AbstractSectionMarkupGeneratedEvent\$content
‪string $content
Definition: AbstractSectionMarkupGeneratedEvent.php:31
‪TYPO3\CMS\Backend\View\Event\AbstractSectionMarkupGeneratedEvent\setContent
‪setContent(string $content='')
Definition: AbstractSectionMarkupGeneratedEvent.php:67
‪TYPO3\CMS\Backend\View\Event\AbstractSectionMarkupGeneratedEvent\__construct
‪__construct(PageLayoutView $pageLayoutView, int $languageId, array $columnConfig)
Definition: AbstractSectionMarkupGeneratedEvent.php:45
‪TYPO3\CMS\Backend\View\Event\AbstractSectionMarkupGeneratedEvent\$pageLayoutView
‪PageLayoutView $pageLayoutView
Definition: AbstractSectionMarkupGeneratedEvent.php:35
‪TYPO3\CMS\Backend\View\Event\AbstractSectionMarkupGeneratedEvent
Definition: AbstractSectionMarkupGeneratedEvent.php:24
‪TYPO3\CMS\Backend\View\Event\AbstractSectionMarkupGeneratedEvent\isPropagationStopped
‪isPropagationStopped()
Definition: AbstractSectionMarkupGeneratedEvent.php:80