events/Classes/Domain/Model/Category.php
Daniel Siepmann 0a56a5d482 Integrate destination data features
Import alongside of categories.
Use TYPO3 sys_category again.
2022-07-13 15:59:42 +02:00

33 lines
532 B
PHP

<?php
namespace Wrm\Events\Domain\Model;
use TYPO3\CMS\Extbase\Domain\Model\Category as ExtbaseCategory;
/**
* Extend original model to include furher properties.
*
* Used for Plugins and Import.
*/
class Category extends ExtbaseCategory
{
/**
* @var int
*/
protected $sorting = 0;
/**
* @var bool
*/
protected $hidden = false;
public function getSorting(): int
{
return $this->sorting;
}
public function hide(): void
{
$this->hidden = true;
}
}