Initial commit - Typo3 11.5.41
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
<?php
|
||||
|
||||
namespace GeorgRinger\News\Event;
|
||||
|
||||
use GeorgRinger\News\Controller\AdministrationController;
|
||||
use TYPO3\CMS\Backend\Template\Components\Menu\Menu;
|
||||
|
||||
/**
|
||||
* This file is part of the "news" Extension for TYPO3 CMS.
|
||||
*
|
||||
* For the full copyright and license information, please read the
|
||||
* LICENSE.txt file that was distributed with this source code.
|
||||
*/
|
||||
final class AdministrationExtendMenuEvent
|
||||
{
|
||||
/**
|
||||
* @var AdministrationController
|
||||
*/
|
||||
private $administrationController;
|
||||
|
||||
/**
|
||||
* @var Menu
|
||||
*/
|
||||
private $menu;
|
||||
|
||||
public function __construct(AdministrationController $administrationController, Menu $menu)
|
||||
{
|
||||
$this->administrationController = $administrationController;
|
||||
$this->menu = $menu;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the administration controller
|
||||
*/
|
||||
public function getAdministrationController(): AdministrationController
|
||||
{
|
||||
return $this->administrationController;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the administration controller
|
||||
*/
|
||||
public function setAdministrationController(AdministrationController $administrationController): self
|
||||
{
|
||||
$this->administrationController = $administrationController;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the menu
|
||||
*/
|
||||
public function getMenu(): Menu
|
||||
{
|
||||
return $this->menu;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the menu
|
||||
*/
|
||||
public function setMenu(Menu $menu): self
|
||||
{
|
||||
$this->menu = $menu;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
namespace GeorgRinger\News\Event;
|
||||
|
||||
use GeorgRinger\News\Controller\AdministrationController;
|
||||
|
||||
/**
|
||||
* This file is part of the "news" Extension for TYPO3 CMS.
|
||||
*
|
||||
* For the full copyright and license information, please read the
|
||||
* LICENSE.txt file that was distributed with this source code.
|
||||
*/
|
||||
final class AdministrationIndexActionEvent
|
||||
{
|
||||
/**
|
||||
* @var AdministrationController
|
||||
*/
|
||||
private $administrationController;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private $assignedValues;
|
||||
|
||||
public function __construct(AdministrationController $administrationController, array $assignedValues)
|
||||
{
|
||||
$this->administrationController = $administrationController;
|
||||
$this->assignedValues = $assignedValues;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the administration controller
|
||||
*/
|
||||
public function getAdministrationController(): AdministrationController
|
||||
{
|
||||
return $this->administrationController;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the administration controller
|
||||
*/
|
||||
public function setAdministrationController(AdministrationController $administrationController): self
|
||||
{
|
||||
$this->administrationController = $administrationController;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the assignedValues
|
||||
*/
|
||||
public function getAssignedValues(): array
|
||||
{
|
||||
return $this->assignedValues;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the assignedValues
|
||||
*/
|
||||
public function setAssignedValues(array $assignedValues): self
|
||||
{
|
||||
$this->assignedValues = $assignedValues;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
<?php
|
||||
|
||||
namespace GeorgRinger\News\Event;
|
||||
|
||||
use GeorgRinger\News\Controller\AdministrationController;
|
||||
|
||||
/**
|
||||
* This file is part of the "news" Extension for TYPO3 CMS.
|
||||
*
|
||||
* For the full copyright and license information, please read the
|
||||
* LICENSE.txt file that was distributed with this source code.
|
||||
*/
|
||||
final class AdministrationNewsPidListingActionEvent
|
||||
{
|
||||
/**
|
||||
* @var AdministrationController
|
||||
*/
|
||||
private $administrationController;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private $rawTree;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
private $treeLevel;
|
||||
|
||||
public function __construct(AdministrationController $administrationController, array $rawTree, int $treeLevel)
|
||||
{
|
||||
$this->administrationController = $administrationController;
|
||||
$this->rawTree = $rawTree;
|
||||
$this->treeLevel = $treeLevel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the administration controller
|
||||
*/
|
||||
public function getAdministrationController(): AdministrationController
|
||||
{
|
||||
return $this->administrationController;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the administration controller
|
||||
*/
|
||||
public function setAdministrationController(AdministrationController $administrationController): self
|
||||
{
|
||||
$this->administrationController = $administrationController;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the rawTree
|
||||
*/
|
||||
public function getRawTree(): array
|
||||
{
|
||||
return $this->rawTree;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the rawTree
|
||||
*/
|
||||
public function setRawTree(array $rawTree): self
|
||||
{
|
||||
$this->rawTree = $rawTree;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the treeLevel
|
||||
*/
|
||||
public function getTreeLevel(): int
|
||||
{
|
||||
return $this->treeLevel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the treeLevel
|
||||
*/
|
||||
public function setTreeLevel(int $treeLevel): self
|
||||
{
|
||||
$this->treeLevel = $treeLevel;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
<?php
|
||||
|
||||
namespace GeorgRinger\News\Event;
|
||||
|
||||
use GeorgRinger\News\Domain\Model\Category;
|
||||
use GeorgRinger\News\Domain\Service\CategoryImportService;
|
||||
|
||||
/**
|
||||
* This file is part of the "news" Extension for TYPO3 CMS.
|
||||
*
|
||||
* For the full copyright and license information, please read the
|
||||
* LICENSE.txt file that was distributed with this source code.
|
||||
*/
|
||||
final class CategoryImportPostHydrateEvent
|
||||
{
|
||||
/**
|
||||
* @var CategoryImportService
|
||||
*/
|
||||
private $categoryImportService;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private $importItem;
|
||||
|
||||
/**
|
||||
* @var Category
|
||||
*/
|
||||
private $category;
|
||||
|
||||
public function __construct(CategoryImportService $categoryImportService, array $importItem, Category $category)
|
||||
{
|
||||
$this->categoryImportService = $categoryImportService;
|
||||
$this->importItem = $importItem;
|
||||
$this->category = $category;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the importer service
|
||||
*/
|
||||
public function getCategoryImportService(): CategoryImportService
|
||||
{
|
||||
return $this->categoryImportService;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the importer Service
|
||||
*/
|
||||
public function setCategoryImportService(CategoryImportService $categoryImportService): self
|
||||
{
|
||||
$this->categoryImportService = $categoryImportService;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the importItem
|
||||
*/
|
||||
public function getImportItem(): array
|
||||
{
|
||||
return $this->importItem;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the importItem
|
||||
*/
|
||||
public function setImportItem(array $importItem): self
|
||||
{
|
||||
$this->importItem = $importItem;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the category
|
||||
*/
|
||||
public function getCategory(): Category
|
||||
{
|
||||
return $this->category;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the category
|
||||
*/
|
||||
public function setCategory(Category $category): self
|
||||
{
|
||||
$this->category = $category;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
66
typo3conf/ext/news/Classes/Event/CategoryListActionEvent.php
Normal file
66
typo3conf/ext/news/Classes/Event/CategoryListActionEvent.php
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
namespace GeorgRinger\News\Event;
|
||||
|
||||
use GeorgRinger\News\Controller\CategoryController;
|
||||
|
||||
/**
|
||||
* This file is part of the "news" Extension for TYPO3 CMS.
|
||||
*
|
||||
* For the full copyright and license information, please read the
|
||||
* LICENSE.txt file that was distributed with this source code.
|
||||
*/
|
||||
final class CategoryListActionEvent
|
||||
{
|
||||
/**
|
||||
* @var CategoryController
|
||||
*/
|
||||
private $categoryController;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private $assignedValues;
|
||||
|
||||
public function __construct(CategoryController $categoryController, array $assignedValues)
|
||||
{
|
||||
$this->categoryController = $categoryController;
|
||||
$this->assignedValues = $assignedValues;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the category controller
|
||||
*/
|
||||
public function getCategoryController(): CategoryController
|
||||
{
|
||||
return $this->categoryController;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the category controller
|
||||
*/
|
||||
public function setCategoryController(CategoryController $categoryController): self
|
||||
{
|
||||
$this->categoryController = $categoryController;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the assignedValues
|
||||
*/
|
||||
public function getAssignedValues(): array
|
||||
{
|
||||
return $this->assignedValues;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the assignedValues
|
||||
*/
|
||||
public function setAssignedValues(array $assignedValues): self
|
||||
{
|
||||
$this->assignedValues = $assignedValues;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
<?php
|
||||
|
||||
namespace GeorgRinger\News\Event;
|
||||
|
||||
use GeorgRinger\News\Controller\NewsController;
|
||||
use GeorgRinger\News\Domain\Model\News;
|
||||
|
||||
/**
|
||||
* This file is part of the "news" Extension for TYPO3 CMS.
|
||||
*
|
||||
* For the full copyright and license information, please read the
|
||||
* LICENSE.txt file that was distributed with this source code.
|
||||
*/
|
||||
final class NewsCheckPidOfNewsRecordFailedInDetailActionEvent
|
||||
{
|
||||
/**
|
||||
* @var NewsController
|
||||
*/
|
||||
private $newsController;
|
||||
|
||||
/**
|
||||
* @var News
|
||||
*/
|
||||
private $news;
|
||||
|
||||
public function __construct(NewsController $newsController, News $news)
|
||||
{
|
||||
$this->newsController = $newsController;
|
||||
$this->news = $news;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the news controller
|
||||
*/
|
||||
public function getNewsController(): NewsController
|
||||
{
|
||||
return $this->newsController;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the news controller
|
||||
*/
|
||||
public function setNewsController(NewsController $newsController): self
|
||||
{
|
||||
$this->newsController = $newsController;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the news
|
||||
*/
|
||||
public function getNews(): News
|
||||
{
|
||||
return $this->news;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the news
|
||||
*/
|
||||
public function setNews(News $news): self
|
||||
{
|
||||
$this->news = $news;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
66
typo3conf/ext/news/Classes/Event/NewsDateMenuActionEvent.php
Normal file
66
typo3conf/ext/news/Classes/Event/NewsDateMenuActionEvent.php
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
namespace GeorgRinger\News\Event;
|
||||
|
||||
use GeorgRinger\News\Controller\NewsController;
|
||||
|
||||
/**
|
||||
* This file is part of the "news" Extension for TYPO3 CMS.
|
||||
*
|
||||
* For the full copyright and license information, please read the
|
||||
* LICENSE.txt file that was distributed with this source code.
|
||||
*/
|
||||
final class NewsDateMenuActionEvent
|
||||
{
|
||||
/**
|
||||
* @var NewsController
|
||||
*/
|
||||
private $newsController;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private $assignedValues;
|
||||
|
||||
public function __construct(NewsController $newsController, array $assignedValues)
|
||||
{
|
||||
$this->newsController = $newsController;
|
||||
$this->assignedValues = $assignedValues;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the news controller
|
||||
*/
|
||||
public function getNewsController(): NewsController
|
||||
{
|
||||
return $this->newsController;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the news controller
|
||||
*/
|
||||
public function setNewsController(NewsController $newsController): self
|
||||
{
|
||||
$this->newsController = $newsController;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the assignedValues
|
||||
*/
|
||||
public function getAssignedValues(): array
|
||||
{
|
||||
return $this->assignedValues;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the assignedValues
|
||||
*/
|
||||
public function setAssignedValues(array $assignedValues): self
|
||||
{
|
||||
$this->assignedValues = $assignedValues;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
66
typo3conf/ext/news/Classes/Event/NewsDetailActionEvent.php
Normal file
66
typo3conf/ext/news/Classes/Event/NewsDetailActionEvent.php
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
namespace GeorgRinger\News\Event;
|
||||
|
||||
use GeorgRinger\News\Controller\NewsController;
|
||||
|
||||
/**
|
||||
* This file is part of the "news" Extension for TYPO3 CMS.
|
||||
*
|
||||
* For the full copyright and license information, please read the
|
||||
* LICENSE.txt file that was distributed with this source code.
|
||||
*/
|
||||
final class NewsDetailActionEvent
|
||||
{
|
||||
/**
|
||||
* @var NewsController
|
||||
*/
|
||||
private $newsController;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private $assignedValues;
|
||||
|
||||
public function __construct(NewsController $newsController, array $assignedValues)
|
||||
{
|
||||
$this->newsController = $newsController;
|
||||
$this->assignedValues = $assignedValues;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the news controller
|
||||
*/
|
||||
public function getNewsController(): NewsController
|
||||
{
|
||||
return $this->newsController;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the news controller
|
||||
*/
|
||||
public function setNewsController(NewsController $newsController): self
|
||||
{
|
||||
$this->newsController = $newsController;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the assignedValues
|
||||
*/
|
||||
public function getAssignedValues(): array
|
||||
{
|
||||
return $this->assignedValues;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the assignedValues
|
||||
*/
|
||||
public function setAssignedValues(array $assignedValues): self
|
||||
{
|
||||
$this->assignedValues = $assignedValues;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
<?php
|
||||
|
||||
namespace GeorgRinger\News\Event;
|
||||
|
||||
use GeorgRinger\News\Domain\Model\News;
|
||||
use GeorgRinger\News\Domain\Service\NewsImportService;
|
||||
|
||||
/**
|
||||
* This file is part of the "news" Extension for TYPO3 CMS.
|
||||
*
|
||||
* For the full copyright and license information, please read the
|
||||
* LICENSE.txt file that was distributed with this source code.
|
||||
*/
|
||||
final class NewsImportPostHydrateEvent
|
||||
{
|
||||
/**
|
||||
* @var NewsImportService
|
||||
*/
|
||||
private $newsImportService;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private $importItem;
|
||||
|
||||
/**
|
||||
* @var News
|
||||
*/
|
||||
private $news;
|
||||
|
||||
public function __construct(NewsImportService $newsImportService, array $importItem, News $news)
|
||||
{
|
||||
$this->newsImportService = $newsImportService;
|
||||
$this->importItem = $importItem;
|
||||
$this->news = $news;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the importer service
|
||||
*/
|
||||
public function getNewsImportService(): NewsImportService
|
||||
{
|
||||
return $this->newsImportService;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the importer service
|
||||
*/
|
||||
public function setNewsImportService(NewsImportService $newsImportService): self
|
||||
{
|
||||
$this->newsImportService = $newsImportService;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the importItem
|
||||
*/
|
||||
public function getImportItem(): array
|
||||
{
|
||||
return $this->importItem;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the importItem
|
||||
*/
|
||||
public function setImportItem(array $importItem): self
|
||||
{
|
||||
$this->importItem = $importItem;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the news
|
||||
*/
|
||||
public function getNews(): News
|
||||
{
|
||||
return $this->news;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the news
|
||||
*/
|
||||
public function setNews(News $news): self
|
||||
{
|
||||
$this->news = $news;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
namespace GeorgRinger\News\Event;
|
||||
|
||||
use GeorgRinger\News\Domain\Service\NewsImportService;
|
||||
|
||||
/**
|
||||
* This file is part of the "news" Extension for TYPO3 CMS.
|
||||
*
|
||||
* For the full copyright and license information, please read the
|
||||
* LICENSE.txt file that was distributed with this source code.
|
||||
*/
|
||||
final class NewsImportPreHydrateEvent
|
||||
{
|
||||
/**
|
||||
* @var NewsImportService
|
||||
*/
|
||||
private $newsImportService;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private $importItem;
|
||||
|
||||
public function __construct(NewsImportService $newsImportService, array $importItem)
|
||||
{
|
||||
$this->newsImportService = $newsImportService;
|
||||
$this->importItem = $importItem;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the importer service
|
||||
*/
|
||||
public function getNewsImportService(): NewsImportService
|
||||
{
|
||||
return $this->newsImportService;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the importer service
|
||||
*/
|
||||
public function setNewsImportService(NewsImportService $newsImportService): self
|
||||
{
|
||||
$this->newsImportService = $newsImportService;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the importItem
|
||||
*/
|
||||
public function getImportItem(): array
|
||||
{
|
||||
return $this->importItem;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the importItem
|
||||
*/
|
||||
public function setImportItem(array $importItem): self
|
||||
{
|
||||
$this->importItem = $importItem;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
66
typo3conf/ext/news/Classes/Event/NewsListActionEvent.php
Normal file
66
typo3conf/ext/news/Classes/Event/NewsListActionEvent.php
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
namespace GeorgRinger\News\Event;
|
||||
|
||||
use GeorgRinger\News\Controller\NewsController;
|
||||
|
||||
/**
|
||||
* This file is part of the "news" Extension for TYPO3 CMS.
|
||||
*
|
||||
* For the full copyright and license information, please read the
|
||||
* LICENSE.txt file that was distributed with this source code.
|
||||
*/
|
||||
final class NewsListActionEvent
|
||||
{
|
||||
/**
|
||||
* @var NewsController
|
||||
*/
|
||||
private $newsController;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private $assignedValues;
|
||||
|
||||
public function __construct(NewsController $newsController, array $assignedValues)
|
||||
{
|
||||
$this->newsController = $newsController;
|
||||
$this->assignedValues = $assignedValues;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the news controller
|
||||
*/
|
||||
public function getNewsController(): NewsController
|
||||
{
|
||||
return $this->newsController;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the news controller
|
||||
*/
|
||||
public function setNewsController(NewsController $newsController): self
|
||||
{
|
||||
$this->newsController = $newsController;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the assignedValues
|
||||
*/
|
||||
public function getAssignedValues(): array
|
||||
{
|
||||
return $this->assignedValues;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the assignedValues
|
||||
*/
|
||||
public function setAssignedValues(array $assignedValues): self
|
||||
{
|
||||
$this->assignedValues = $assignedValues;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
namespace GeorgRinger\News\Event;
|
||||
|
||||
use GeorgRinger\News\Controller\NewsController;
|
||||
|
||||
/**
|
||||
* This file is part of the "news" Extension for TYPO3 CMS.
|
||||
*
|
||||
* For the full copyright and license information, please read the
|
||||
* LICENSE.txt file that was distributed with this source code.
|
||||
*/
|
||||
final class NewsListSelectedActionEvent
|
||||
{
|
||||
/**
|
||||
* @var NewsController
|
||||
*/
|
||||
private $newsController;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private $assignedValues;
|
||||
|
||||
public function __construct(NewsController $newsController, array $assignedValues)
|
||||
{
|
||||
$this->newsController = $newsController;
|
||||
$this->assignedValues = $assignedValues;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the news controller
|
||||
*/
|
||||
public function getNewsController(): NewsController
|
||||
{
|
||||
return $this->newsController;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the news controller
|
||||
*/
|
||||
public function setNewsController(NewsController $newsController): self
|
||||
{
|
||||
$this->newsController = $newsController;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the assignedValues
|
||||
*/
|
||||
public function getAssignedValues(): array
|
||||
{
|
||||
return $this->assignedValues;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the assignedValues
|
||||
*/
|
||||
public function setAssignedValues(array $assignedValues): self
|
||||
{
|
||||
$this->assignedValues = $assignedValues;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
namespace GeorgRinger\News\Event;
|
||||
|
||||
use GeorgRinger\News\Controller\NewsController;
|
||||
|
||||
/**
|
||||
* This file is part of the "news" Extension for TYPO3 CMS.
|
||||
*
|
||||
* For the full copyright and license information, please read the
|
||||
* LICENSE.txt file that was distributed with this source code.
|
||||
*/
|
||||
final class NewsSearchFormActionEvent
|
||||
{
|
||||
/**
|
||||
* @var NewsController
|
||||
*/
|
||||
private $newsController;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private $assignedValues;
|
||||
|
||||
public function __construct(NewsController $newsController, array $assignedValues)
|
||||
{
|
||||
$this->newsController = $newsController;
|
||||
$this->assignedValues = $assignedValues;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the news controller
|
||||
*/
|
||||
public function getNewsController(): NewsController
|
||||
{
|
||||
return $this->newsController;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the news controller
|
||||
*/
|
||||
public function setNewsController(NewsController $newsController): self
|
||||
{
|
||||
$this->newsController = $newsController;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the assignedValues
|
||||
*/
|
||||
public function getAssignedValues(): array
|
||||
{
|
||||
return $this->assignedValues;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the assignedValues
|
||||
*/
|
||||
public function setAssignedValues(array $assignedValues): self
|
||||
{
|
||||
$this->assignedValues = $assignedValues;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
namespace GeorgRinger\News\Event;
|
||||
|
||||
use GeorgRinger\News\Controller\NewsController;
|
||||
|
||||
/**
|
||||
* This file is part of the "news" Extension for TYPO3 CMS.
|
||||
*
|
||||
* For the full copyright and license information, please read the
|
||||
* LICENSE.txt file that was distributed with this source code.
|
||||
*/
|
||||
final class NewsSearchResultActionEvent
|
||||
{
|
||||
/**
|
||||
* @var NewsController
|
||||
*/
|
||||
private $newsController;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private $assignedValues;
|
||||
|
||||
public function __construct(NewsController $newsController, array $assignedValues)
|
||||
{
|
||||
$this->newsController = $newsController;
|
||||
$this->assignedValues = $assignedValues;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the news controller
|
||||
*/
|
||||
public function getNewsController(): NewsController
|
||||
{
|
||||
return $this->newsController;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the news controller
|
||||
*/
|
||||
public function setNewsController(NewsController $newsController): self
|
||||
{
|
||||
$this->newsController = $newsController;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the assignedValues
|
||||
*/
|
||||
public function getAssignedValues(): array
|
||||
{
|
||||
return $this->assignedValues;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the assignedValues
|
||||
*/
|
||||
public function setAssignedValues(array $assignedValues): self
|
||||
{
|
||||
$this->assignedValues = $assignedValues;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
66
typo3conf/ext/news/Classes/Event/TagListActionEvent.php
Normal file
66
typo3conf/ext/news/Classes/Event/TagListActionEvent.php
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
namespace GeorgRinger\News\Event;
|
||||
|
||||
use GeorgRinger\News\Controller\TagController;
|
||||
|
||||
/**
|
||||
* This file is part of the "news" Extension for TYPO3 CMS.
|
||||
*
|
||||
* For the full copyright and license information, please read the
|
||||
* LICENSE.txt file that was distributed with this source code.
|
||||
*/
|
||||
final class TagListActionEvent
|
||||
{
|
||||
/**
|
||||
* @var TagController
|
||||
*/
|
||||
private $tagController;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private $assignedValues;
|
||||
|
||||
public function __construct(TagController $tagController, array $assignedValues)
|
||||
{
|
||||
$this->tagController = $tagController;
|
||||
$this->assignedValues = $assignedValues;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the tag controller
|
||||
*/
|
||||
public function getTagController(): TagController
|
||||
{
|
||||
return $this->tagController;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the tag controller
|
||||
*/
|
||||
public function setTagController(TagController $tagController): self
|
||||
{
|
||||
$this->tagController = $tagController;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the assignedValues
|
||||
*/
|
||||
public function getAssignedValues(): array
|
||||
{
|
||||
return $this->assignedValues;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the assignedValues
|
||||
*/
|
||||
public function setAssignedValues(array $assignedValues): self
|
||||
{
|
||||
$this->assignedValues = $assignedValues;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user