diff --git a/Classes/Controller/.gitkeep b/Classes/Controller/.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/Classes/Controller/TestimonialController.php b/Classes/Controller/TestimonialController.php
deleted file mode 100644
index e0c82e4..0000000
--- a/Classes/Controller/TestimonialController.php
+++ /dev/null
@@ -1,64 +0,0 @@
-
- */
-class TestimonialController extends ActionController
-{
- /**
- * @var \OliverKlee\Tea\Domain\Repository\TestimonialRepository
- */
- protected $testimonialRepository = null;
-
- /**
- * @param TestimonialRepository $repository
- *
- * @return void
- */
- public function injectTestimonialRepository(TestimonialRepository $repository)
- {
- $this->testimonialRepository = $repository;
- }
-
- /**
- * Lists all testimonials.
- *
- * @return void
- */
- public function indexAction()
- {
- $this->view->assign('testimonials', $this->testimonialRepository->findAll());
- }
-
- /**
- * @param Testimonial $testimonial
- *
- * @return void
- */
- public function showAction(Testimonial $testimonial)
- {
- $this->view->assign('testimonial', $testimonial);
- }
-}
diff --git a/Classes/Domain/Model/.gitkeep b/Classes/Domain/Model/.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/Classes/Domain/Model/Addition.php b/Classes/Domain/Model/Addition.php
deleted file mode 100644
index 03712c4..0000000
--- a/Classes/Domain/Model/Addition.php
+++ /dev/null
@@ -1,49 +0,0 @@
-
- */
-class Addition extends \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject
-{
- /**
- * @var string
- * @validate NotEmpty
- */
- protected $title = '';
-
- /**
- * @return string $title
- */
- public function getTitle(): string
- {
- return $this->title;
- }
-
- /**
- * @param string $title
- *
- * @return void
- */
- public function setTitle(string $title)
- {
- $this->title = $title;
- }
-}
diff --git a/Classes/Domain/Model/TeaBeverage.php b/Classes/Domain/Model/TeaBeverage.php
deleted file mode 100644
index 805add7..0000000
--- a/Classes/Domain/Model/TeaBeverage.php
+++ /dev/null
@@ -1,191 +0,0 @@
-
- */
-class TeaBeverage extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
-{
- /**
- * @var float
- */
- protected $size = 0.0;
-
- /**
- * @var \OliverKlee\Tea\Domain\Model\TeaType
- * @lazy
- */
- protected $type = null;
-
- /**
- * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\OliverKlee\Tea\Domain\Model\Addition>
- * @lazy
- */
- protected $additions = null;
-
- /**
- * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\OliverKlee\Tea\Domain\Model\Testimonial>
- * @lazy
- */
- protected $testimonials = null;
-
- /**
- * The constructor.
- *
- * @return TeaBeverage
- */
- public function __construct()
- {
- $this->initializeStorageObjects();
- }
-
- /**
- * Initializes all ObjectStorage properties.
- *
- * @return void
- */
- protected function initializeStorageObjects()
- {
- $this->additions = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
- $this->testimonials = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
- }
-
- /**
- * @return float $size
- */
- public function getSize(): float
- {
- return $this->size;
- }
-
- /**
- * @param float $size
- *
- * @return void
- */
- public function setSize(float $size)
- {
- $this->size = $size;
- }
-
- /**
- * @return TeaType|null $type
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * @param TeaType $type
- *
- * @return void
- */
- public function setType(TeaType $type)
- {
- $this->type = $type;
- }
-
- /**
- * @return \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\OliverKlee\Tea\Domain\Model\Addition> $additions
- */
- public function getAdditions(): ObjectStorage
- {
- return $this->additions;
- }
-
- /**
- * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $additions
- *
- * @return void
- */
- public function setAdditions(ObjectStorage $additions)
- {
- $this->additions = $additions;
- }
-
- /**
- * Adds an Addition.
- *
- * @param \OliverKlee\Tea\Domain\Model\Addition $addition
- *
- * @return void
- */
- public function addAddition(Addition $addition)
- {
- $this->additions->attach($addition);
- }
-
- /**
- * Removes an Addition.
- *
- * @param \OliverKlee\Tea\Domain\Model\Addition $additionToRemove The Addition to be removed
- *
- * @return void
- */
- public function removeAddition(Addition $additionToRemove)
- {
- $this->additions->detach($additionToRemove);
- }
-
- /**
- * @return \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\OliverKlee\Tea\Domain\Model\Testimonial> $testimonials
- */
- public function getTestimonials(): ObjectStorage
- {
- return $this->testimonials;
- }
-
- /**
- * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $testimonials
- *
- * @return void
- */
- public function setTestimonials(ObjectStorage $testimonials)
- {
- $this->testimonials = $testimonials;
- }
-
- /**
- * Adds an Testimonial.
- *
- * @param \OliverKlee\Tea\Domain\Model\Testimonial $testimonial
- *
- * @return void
- */
- public function addTestimonial(Testimonial $testimonial)
- {
- $this->testimonials->attach($testimonial);
- }
-
- /**
- * Removes an Testimonial.
- *
- * @param \OliverKlee\Tea\Domain\Model\Testimonial $testimonialToRemove The Testimonial to be removed
- *
- * @return void
- */
- public function removeTestimonial(Testimonial $testimonialToRemove)
- {
- $this->testimonials->detach($testimonialToRemove);
- }
-}
diff --git a/Classes/Domain/Model/TeaType.php b/Classes/Domain/Model/TeaType.php
deleted file mode 100644
index b682d86..0000000
--- a/Classes/Domain/Model/TeaType.php
+++ /dev/null
@@ -1,80 +0,0 @@
-
- */
-class TeaType extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
-{
- /**
- * @var string
- * @validate NotEmpty
- */
- protected $title = '';
-
- /**
- * @var bool
- */
- protected $caffeinated = false;
-
- /**
- * @return string
- */
- public function getTitle(): string
- {
- return $this->title;
- }
-
- /**
- * @param string $title
- *
- * @return void
- */
- public function setTitle(string $title)
- {
- $this->title = $title;
- }
-
- /**
- * @return bool
- */
- public function getCaffeinated(): bool
- {
- return $this->caffeinated;
- }
-
- /**
- * @param bool $caffeinated
- *
- * @return void
- */
- public function setCaffeinated(bool $caffeinated)
- {
- $this->caffeinated = $caffeinated;
- }
-
- /**
- * @return bool
- */
- public function isCaffeinated(): bool
- {
- return $this->getCaffeinated();
- }
-}
diff --git a/Classes/Domain/Model/Testimonial.php b/Classes/Domain/Model/Testimonial.php
deleted file mode 100644
index 17d9f34..0000000
--- a/Classes/Domain/Model/Testimonial.php
+++ /dev/null
@@ -1,94 +0,0 @@
-
- */
-class Testimonial extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
-{
- /**
- * @var \DateTime
- */
- protected $dateOfPosting = null;
-
- /**
- * @var int
- */
- protected $numberOfConsumedCups = 0;
-
- /**
- * @var string
- */
- protected $text = '';
-
- /**
- * @return \DateTime|null
- */
- public function getDateOfPosting()
- {
- return $this->dateOfPosting;
- }
-
- /**
- * @param \DateTime $dateOfPosting
- *
- * @return void
- */
- public function setDateOfPosting(\DateTime $dateOfPosting)
- {
- $this->dateOfPosting = $dateOfPosting;
- }
-
- /**
- * @return int $numberOfConsumedCups
- */
- public function getNumberOfConsumedCups(): int
- {
- return $this->numberOfConsumedCups;
- }
-
- /**
- * @param int $numberOfConsumedCups
- *
- * @return void
- */
- public function setNumberOfConsumedCups(int $numberOfConsumedCups)
- {
- $this->numberOfConsumedCups = $numberOfConsumedCups;
- }
-
- /**
- * @return string
- */
- public function getText(): string
- {
- return $this->text;
- }
-
- /**
- * @param string $text
- *
- * @return void
- */
- public function setText(string $text)
- {
- $this->text = $text;
- }
-}
diff --git a/Classes/Domain/Repository/.gitkeep b/Classes/Domain/Repository/.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/Classes/Domain/Repository/TeaBeverageRepository.php b/Classes/Domain/Repository/TeaBeverageRepository.php
deleted file mode 100644
index 0d2a2b6..0000000
--- a/Classes/Domain/Repository/TeaBeverageRepository.php
+++ /dev/null
@@ -1,26 +0,0 @@
-
- */
-class TeaBeverageRepository extends \TYPO3\CMS\Extbase\Persistence\Repository
-{
-}
diff --git a/Classes/Domain/Repository/TestimonialRepository.php b/Classes/Domain/Repository/TestimonialRepository.php
deleted file mode 100644
index ed2cc5b..0000000
--- a/Classes/Domain/Repository/TestimonialRepository.php
+++ /dev/null
@@ -1,26 +0,0 @@
-
- */
-class TestimonialRepository extends \TYPO3\CMS\Extbase\Persistence\Repository
-{
-}
diff --git a/Classes/Utility/FileUtility.php b/Classes/Utility/FileUtility.php
deleted file mode 100644
index 27c0f53..0000000
--- a/Classes/Utility/FileUtility.php
+++ /dev/null
@@ -1,49 +0,0 @@
-
- */
-class FileUtility
-{
- /**
- * Concatenates the files given as $sourceFilePaths and writes their contents into $targetFilePath.
- *
- * @param string $targetFilePath
- * @param string[] $sourceFilePaths
- *
- * @return void
- *
- * @throws \InvalidArgumentException
- */
- public function concatenate(string $targetFilePath, array $sourceFilePaths)
- {
- if ($targetFilePath === '') {
- throw new \InvalidArgumentException('$targetFileName must not be empty.', 1445631384);
- }
-
- $concatenatedContents = '';
- foreach ($sourceFilePaths as $sourceFilePath) {
- $concatenatedContents .= file_get_contents($sourceFilePath);
- }
-
- file_put_contents($targetFilePath, $concatenatedContents);
- }
-}
diff --git a/Configuration/TCA/.gitkeep b/Configuration/TCA/.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/Configuration/TCA/tx_tea_domain_model_addition.php b/Configuration/TCA/tx_tea_domain_model_addition.php
deleted file mode 100644
index 653d53e..0000000
--- a/Configuration/TCA/tx_tea_domain_model_addition.php
+++ /dev/null
@@ -1,130 +0,0 @@
- [
- 'title' => 'LLL:EXT:tea/Resources/Private/Language/locallang_db.xlf:tx_tea_domain_model_addition',
- 'label' => 'title',
- 'tstamp' => 'tstamp',
- 'crdate' => 'crdate',
- 'cruser_id' => 'cruser_id',
- 'dividers2tabs' => true,
-
- 'versioningWS' => 2,
- 'versioning_followPages' => true,
-
- 'origUid' => 't3_origuid',
- 'languageField' => 'sys_language_uid',
- 'transOrigPointerField' => 'l10n_parent',
- 'transOrigDiffSourceField' => 'l10n_diffsource',
-
- 'delete' => 'deleted',
- 'enablecolumns' => [
- 'disabled' => 'hidden',
- 'starttime' => 'starttime',
- 'endtime' => 'endtime',
- ],
- 'searchFields' => 'title,',
- 'iconfile' => 'EXT:tea/Resources/Public/Icons/tx_tea_domain_model_addition.gif',
- ],
- 'interface' => [
- 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title',
- ],
- 'types' => [
- '1' => ['showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'],
- ],
- 'palettes' => [
- '1' => ['showitem' => ''],
- ],
- 'columns' => [
- 'sys_language_uid' => [
- 'exclude' => 1,
- 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
- 'config' => [
- 'type' => 'select',
- 'renderType' => 'selectSingle',
- 'foreign_table' => 'sys_language',
- 'foreign_table_where' => 'ORDER BY sys_language.title',
- 'items' => [
- ['LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1],
- ['LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0],
- ],
- ],
- ],
- 'l10n_parent' => [
- 'displayCond' => 'FIELD:sys_language_uid:>:0',
- 'exclude' => 1,
- 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
- 'config' => [
- 'type' => 'select',
- 'renderType' => 'selectSingle',
- 'items' => [
- ['', 0],
- ],
- 'foreign_table' => 'tx_tea_domain_model_addition',
- 'foreign_table_where' => 'AND tx_tea_domain_model_addition.pid=###CURRENT_PID### AND tx_tea_domain_model_addition.sys_language_uid IN (-1,0)',
- ],
- ],
- 'l10n_diffsource' => [
- 'config' => [
- 'type' => 'passthrough',
- ],
- ],
- 't3ver_label' => [
- 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
- 'config' => [
- 'type' => 'input',
- 'size' => 30,
- 'max' => 255,
- ],
- ],
- 'hidden' => [
- 'exclude' => 1,
- 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
- 'config' => [
- 'type' => 'check',
- ],
- ],
- 'starttime' => [
- 'exclude' => 1,
- 'l10n_mode' => 'mergeIfNotBlank',
- 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
- 'config' => [
- 'type' => 'input',
- 'size' => 13,
- 'max' => 20,
- 'eval' => 'datetime',
- 'checkbox' => 0,
- 'default' => 0,
- 'range' => [
- 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
- ],
- ],
- ],
- 'endtime' => [
- 'exclude' => 1,
- 'l10n_mode' => 'mergeIfNotBlank',
- 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
- 'config' => [
- 'type' => 'input',
- 'size' => 13,
- 'max' => 20,
- 'eval' => 'datetime',
- 'checkbox' => 0,
- 'default' => 0,
- 'range' => [
- 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
- ],
- ],
- ],
- 'title' => [
- 'exclude' => 0,
- 'label' => 'LLL:EXT:tea/Resources/Private/Language/locallang_db.xlf:tx_tea_domain_model_addition.title',
- 'config' => [
- 'type' => 'input',
- 'size' => 30,
- 'eval' => 'trim,required',
- ],
- ],
- ],
-];
diff --git a/Configuration/TCA/tx_tea_domain_model_teabeverage.php b/Configuration/TCA/tx_tea_domain_model_teabeverage.php
deleted file mode 100644
index 21153c4..0000000
--- a/Configuration/TCA/tx_tea_domain_model_teabeverage.php
+++ /dev/null
@@ -1,172 +0,0 @@
- [
- 'title' => 'LLL:EXT:tea/Resources/Private/Language/locallang_db.xlf:tx_tea_domain_model_teabeverage',
- 'label' => 'size',
- 'tstamp' => 'tstamp',
- 'crdate' => 'crdate',
- 'cruser_id' => 'cruser_id',
- 'dividers2tabs' => true,
-
- 'versioningWS' => 2,
- 'versioning_followPages' => true,
-
- 'origUid' => 't3_origuid',
- 'languageField' => 'sys_language_uid',
- 'transOrigPointerField' => 'l10n_parent',
- 'transOrigDiffSourceField' => 'l10n_diffsource',
-
- 'delete' => 'deleted',
- 'enablecolumns' => [
- 'disabled' => 'hidden',
- 'starttime' => 'starttime',
- 'endtime' => 'endtime',
- ],
- 'searchFields' => 'size,type,additions,testimonials,',
- 'iconfile' => 'EXT:tea/Resources/Public/Icons/tx_tea_domain_model_teabeverage.gif',
- ],
- 'interface' => [
- 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, size, type, additions, testimonials',
- ],
- 'types' => [
- '1' => ['showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, size, type, additions, testimonials, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'],
- ],
- 'palettes' => [
- '1' => ['showitem' => ''],
- ],
- 'columns' => [
- 'sys_language_uid' => [
- 'exclude' => 1,
- 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
- 'config' => [
- 'type' => 'select',
- 'renderType' => 'selectSingle',
- 'foreign_table' => 'sys_language',
- 'foreign_table_where' => 'ORDER BY sys_language.title',
- 'items' => [
- ['LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1],
- ['LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0],
- ],
- ],
- ],
- 'l10n_parent' => [
- 'displayCond' => 'FIELD:sys_language_uid:>:0',
- 'exclude' => 1,
- 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
- 'config' => [
- 'type' => 'select',
- 'renderType' => 'selectSingle',
- 'items' => [
- ['', 0],
- ],
- 'foreign_table' => 'tx_tea_domain_model_teabeverage',
- 'foreign_table_where' => 'AND tx_tea_domain_model_teabeverage.pid=###CURRENT_PID### AND tx_tea_domain_model_teabeverage.sys_language_uid IN (-1,0)',
- ],
- ],
- 'l10n_diffsource' => [
- 'config' => [
- 'type' => 'passthrough',
- ],
- ],
- 't3ver_label' => [
- 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
- 'config' => [
- 'type' => 'input',
- 'size' => 30,
- 'max' => 255,
- ],
- ],
- 'hidden' => [
- 'exclude' => 1,
- 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
- 'config' => [
- 'type' => 'check',
- ],
- ],
- 'starttime' => [
- 'exclude' => 1,
- 'l10n_mode' => 'mergeIfNotBlank',
- 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
- 'config' => [
- 'type' => 'input',
- 'size' => 13,
- 'max' => 20,
- 'eval' => 'datetime',
- 'checkbox' => 0,
- 'default' => 0,
- 'range' => [
- 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
- ],
- ],
- ],
- 'endtime' => [
- 'exclude' => 1,
- 'l10n_mode' => 'mergeIfNotBlank',
- 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
- 'config' => [
- 'type' => 'input',
- 'size' => 13,
- 'max' => 20,
- 'eval' => 'datetime',
- 'checkbox' => 0,
- 'default' => 0,
- 'range' => [
- 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
- ],
- ],
- ],
- 'size' => [
- 'exclude' => 0,
- 'label' => 'LLL:EXT:tea/Resources/Private/Language/locallang_db.xlf:tx_tea_domain_model_teabeverage.size',
- 'config' => [
- 'type' => 'input',
- 'size' => 30,
- 'eval' => 'double2',
- ],
- ],
- 'type' => [
- 'exclude' => 0,
- 'label' => 'LLL:EXT:tea/Resources/Private/Language/locallang_db.xlf:tx_tea_domain_model_teabeverage.type',
- 'config' => [
- 'type' => 'select',
- 'renderType' => 'selectSingle',
- 'foreign_table' => 'tx_tea_domain_model_teatype',
- 'minitems' => 0,
- 'maxitems' => 1,
- ],
- ],
- 'additions' => [
- 'exclude' => 0,
- 'label' => 'LLL:EXT:tea/Resources/Private/Language/locallang_db.xlf:tx_tea_domain_model_teabeverage.additions',
- 'config' => [
- 'type' => 'select',
- 'renderType' => 'selectSingleBox',
- 'foreign_table' => 'tx_tea_domain_model_addition',
- 'MM' => 'tx_tea_teabeverage_addition_mm',
- 'size' => 10,
- 'autoSizeMax' => 30,
- 'maxitems' => 9999,
- 'multiple' => 0,
- ],
- ],
- 'testimonials' => [
- 'exclude' => 0,
- 'label' => 'LLL:EXT:tea/Resources/Private/Language/locallang_db.xlf:tx_tea_domain_model_teabeverage.testimonials',
- 'config' => [
- 'type' => 'inline',
- 'foreign_table' => 'tx_tea_domain_model_testimonial',
- 'foreign_field' => 'teabeverage',
- 'maxitems' => 9999,
- 'appearance' => [
- 'collapseAll' => 0,
- 'levelLinksPosition' => 'top',
- 'showSynchronizationLink' => 1,
- 'showPossibleLocalizationRecords' => 1,
- 'showAllLocalizationLink' => 1,
- ],
- ],
- ],
- ],
-];
diff --git a/Configuration/TCA/tx_tea_domain_model_teatype.php b/Configuration/TCA/tx_tea_domain_model_teatype.php
deleted file mode 100644
index 2a5289c..0000000
--- a/Configuration/TCA/tx_tea_domain_model_teatype.php
+++ /dev/null
@@ -1,138 +0,0 @@
- [
- 'title' => 'LLL:EXT:tea/Resources/Private/Language/locallang_db.xlf:tx_tea_domain_model_teatype',
- 'label' => 'title',
- 'tstamp' => 'tstamp',
- 'crdate' => 'crdate',
- 'cruser_id' => 'cruser_id',
- 'dividers2tabs' => true,
-
- 'versioningWS' => 2,
- 'versioning_followPages' => true,
-
- 'origUid' => 't3_origuid',
- 'languageField' => 'sys_language_uid',
- 'transOrigPointerField' => 'l10n_parent',
- 'transOrigDiffSourceField' => 'l10n_diffsource',
-
- 'delete' => 'deleted',
- 'enablecolumns' => [
- 'disabled' => 'hidden',
- 'starttime' => 'starttime',
- 'endtime' => 'endtime',
- ],
- 'searchFields' => 'title,caffeinated,',
- 'iconfile' => 'EXT:tea/Resources/Public/Icons/tx_tea_domain_model_teatype.gif',
- ],
- 'interface' => [
- 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, caffeinated',
- ],
- 'types' => [
- '1' => ['showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden title, caffeinated, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'],
- ],
- 'palettes' => [
- '1' => ['showitem' => ''],
- ],
- 'columns' => [
- 'sys_language_uid' => [
- 'exclude' => 1,
- 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
- 'config' => [
- 'type' => 'select',
- 'renderType' => 'selectSingle',
- 'foreign_table' => 'sys_language',
- 'foreign_table_where' => 'ORDER BY sys_language.title',
- 'items' => [
- ['LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1],
- ['LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0],
- ],
- ],
- ],
- 'l10n_parent' => [
- 'displayCond' => 'FIELD:sys_language_uid:>:0',
- 'exclude' => 1,
- 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
- 'config' => [
- 'type' => 'select',
- 'renderType' => 'selectSingle',
- 'items' => [
- ['', 0],
- ],
- 'foreign_table' => 'tx_tea_domain_model_teatype',
- 'foreign_table_where' => 'AND tx_tea_domain_model_teatype.pid=###CURRENT_PID### AND tx_tea_domain_model_teatype.sys_language_uid IN (-1,0)',
- ],
- ],
- 'l10n_diffsource' => [
- 'config' => [
- 'type' => 'passthrough',
- ],
- ],
- 't3ver_label' => [
- 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
- 'config' => [
- 'type' => 'input',
- 'size' => 30,
- 'max' => 255,
- ],
- ],
- 'hidden' => [
- 'exclude' => 1,
- 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
- 'config' => [
- 'type' => 'check',
- ],
- ],
- 'starttime' => [
- 'exclude' => 1,
- 'l10n_mode' => 'mergeIfNotBlank',
- 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
- 'config' => [
- 'type' => 'input',
- 'size' => 13,
- 'max' => 20,
- 'eval' => 'datetime',
- 'checkbox' => 0,
- 'default' => 0,
- 'range' => [
- 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
- ],
- ],
- ],
- 'endtime' => [
- 'exclude' => 1,
- 'l10n_mode' => 'mergeIfNotBlank',
- 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
- 'config' => [
- 'type' => 'input',
- 'size' => 13,
- 'max' => 20,
- 'eval' => 'datetime',
- 'checkbox' => 0,
- 'default' => 0,
- 'range' => [
- 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
- ],
- ],
- ],
- 'title' => [
- 'exclude' => 0,
- 'label' => 'LLL:EXT:tea/Resources/Private/Language/locallang_db.xlf:tx_tea_domain_model_teatype.title',
- 'config' => [
- 'type' => 'input',
- 'size' => 30,
- 'eval' => 'trim,required',
- ],
- ],
- 'caffeinated' => [
- 'exclude' => 0,
- 'label' => 'LLL:EXT:tea/Resources/Private/Language/locallang_db.xlf:tx_tea_domain_model_teatype.caffeinated',
- 'config' => [
- 'type' => 'check',
- 'default' => 0,
- ],
- ],
- ],
-];
diff --git a/Configuration/TCA/tx_tea_domain_model_testimonial.php b/Configuration/TCA/tx_tea_domain_model_testimonial.php
deleted file mode 100644
index f8533f8..0000000
--- a/Configuration/TCA/tx_tea_domain_model_testimonial.php
+++ /dev/null
@@ -1,156 +0,0 @@
- [
- 'title' => 'LLL:EXT:tea/Resources/Private/Language/locallang_db.xlf:tx_tea_domain_model_testimonial',
- 'label' => 'date_of_posting',
- 'tstamp' => 'tstamp',
- 'crdate' => 'crdate',
- 'cruser_id' => 'cruser_id',
- 'dividers2tabs' => true,
-
- 'versioningWS' => 2,
- 'versioning_followPages' => true,
-
- 'origUid' => 't3_origuid',
- 'languageField' => 'sys_language_uid',
- 'transOrigPointerField' => 'l10n_parent',
- 'transOrigDiffSourceField' => 'l10n_diffsource',
-
- 'delete' => 'deleted',
- 'enablecolumns' => [
- 'disabled' => 'hidden',
- 'starttime' => 'starttime',
- 'endtime' => 'endtime',
- ],
- 'searchFields' => 'date_of_posting,number_of_consumed_cups,text,',
- 'iconfile' => 'EXT:tea/Resources/Public/Icons/tx_tea_domain_model_testimonial.gif',
- ],
- 'interface' => [
- 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, date_of_posting, number_of_consumed_cups, text',
- ],
- 'types' => [
- '1' => ['showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, date_of_posting, number_of_consumed_cups, text, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'],
- ],
- 'palettes' => [
- '1' => ['showitem' => ''],
- ],
- 'columns' => [
- 'sys_language_uid' => [
- 'exclude' => 1,
- 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
- 'config' => [
- 'type' => 'select',
- 'renderType' => 'selectSingle',
- 'foreign_table' => 'sys_language',
- 'foreign_table_where' => 'ORDER BY sys_language.title',
- 'items' => [
- ['LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1],
- ['LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0],
- ],
- ],
- ],
- 'l10n_parent' => [
- 'displayCond' => 'FIELD:sys_language_uid:>:0',
- 'exclude' => 1,
- 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
- 'config' => [
- 'type' => 'select',
- 'renderType' => 'selectSingle',
- 'items' => [
- ['', 0],
- ],
- 'foreign_table' => 'tx_tea_domain_model_testimonial',
- 'foreign_table_where' => 'AND tx_tea_domain_model_testimonial.pid=###CURRENT_PID### AND tx_tea_domain_model_testimonial.sys_language_uid IN (-1,0)',
- ],
- ],
- 'l10n_diffsource' => [
- 'config' => [
- 'type' => 'passthrough',
- ],
- ],
- 't3ver_label' => [
- 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
- 'config' => [
- 'type' => 'input',
- 'size' => 30,
- 'max' => 255,
- ],
- ],
- 'hidden' => [
- 'exclude' => 1,
- 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
- 'config' => [
- 'type' => 'check',
- ],
- ],
- 'starttime' => [
- 'exclude' => 1,
- 'l10n_mode' => 'mergeIfNotBlank',
- 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
- 'config' => [
- 'type' => 'input',
- 'size' => 13,
- 'max' => 20,
- 'eval' => 'datetime',
- 'checkbox' => 0,
- 'default' => 0,
- 'range' => [
- 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
- ],
- ],
- ],
- 'endtime' => [
- 'exclude' => 1,
- 'l10n_mode' => 'mergeIfNotBlank',
- 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
- 'config' => [
- 'type' => 'input',
- 'size' => 13,
- 'max' => 20,
- 'eval' => 'datetime',
- 'checkbox' => 0,
- 'default' => 0,
- 'range' => [
- 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')),
- ],
- ],
- ],
- 'date_of_posting' => [
- 'exclude' => 0,
- 'label' => 'LLL:EXT:tea/Resources/Private/Language/locallang_db.xlf:tx_tea_domain_model_testimonial.date_of_posting',
- 'config' => [
- 'type' => 'input',
- 'size' => 12,
- 'eval' => 'datetime',
- 'checkbox' => '0',
- 'default' => '0',
- ],
- ],
- 'number_of_consumed_cups' => [
- 'exclude' => 0,
- 'label' => 'LLL:EXT:tea/Resources/Private/Language/locallang_db.xlf:tx_tea_domain_model_testimonial.number_of_consumed_cups',
- 'config' => [
- 'type' => 'input',
- 'size' => 4,
- 'eval' => 'int',
- ],
- ],
- 'text' => [
- 'exclude' => 0,
- 'label' => 'LLL:EXT:tea/Resources/Private/Language/locallang_db.xlf:tx_tea_domain_model_testimonial.text',
- 'config' => [
- 'type' => 'text',
- 'cols' => 40,
- 'rows' => 15,
- 'eval' => 'trim',
- ],
- ],
- 'teabeverage' => [
- 'config' => [
- 'type' => 'passthrough',
- ],
- ],
- ],
-];
diff --git a/Configuration/TypoScript/.gitkeep b/Configuration/TypoScript/.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/Configuration/TypoScript/constants.txt b/Configuration/TypoScript/constants.txt
deleted file mode 100644
index c02a67c..0000000
--- a/Configuration/TypoScript/constants.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-plugin.tx_tea {
- view {
- # cat=plugin.tx_tea/file; type=string; label=Path to template root (FE)
- templateRootPath = EXT:tea/Resources/Private/Templates/
- # cat=plugin.tx_tea/file; type=string; label=Path to template partials (FE)
- partialRootPath = EXT:tea/Resources/Private/Partials/
- # cat=plugin.tx_tea/file; type=string; label=Path to template layouts (FE)
- layoutRootPath = EXT:tea/Resources/Private/Layouts/
- }
-
- persistence {
- # cat=plugin.tx_tea//a; type=string; label=Default storage PID
- storagePid =
- # cat=plugin.tx_tea//a; type=int; label=UID of the page/folder where all new records will be created
- newRecordStoragePid =
- }
-
- settings {
-
- }
-}
\ No newline at end of file
diff --git a/Configuration/TypoScript/setup.txt b/Configuration/TypoScript/setup.txt
deleted file mode 100644
index 2496d4e..0000000
--- a/Configuration/TypoScript/setup.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-plugin.tx_tea {
- view {
- templateRootPath = {$plugin.tx_tea.view.templateRootPath}
- partialRootPath = {$plugin.tx_tea.view.partialRootPath}
- layoutRootPath = {$plugin.tx_tea.view.layoutRootPath}
- }
-
- persistence {
- storagePid = {$plugin.tx_tea.persistence.storagePid}
- }
-
- features {
- rewrittenPropertyMapper = 1
- }
-}
\ No newline at end of file
diff --git a/Resources/Private/Language/.gitkeep b/Resources/Private/Language/.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/Resources/Private/Language/de.locallang.xlf b/Resources/Private/Language/de.locallang.xlf
deleted file mode 100644
index 6962970..0000000
--- a/Resources/Private/Language/de.locallang.xlf
+++ /dev/null
@@ -1,20 +0,0 @@
-
-