mirror of
https://github.com/werkraum-media/events.git
synced 2024-12-28 01:26:09 +01:00
95 lines
1.6 KiB
PHP
95 lines
1.6 KiB
PHP
<?php
|
|
|
|
namespace Wrm\Events\Domain\Model;
|
|
|
|
/*
|
|
*
|
|
* This file is part of the "DD Events" Extension for TYPO3 CMS.
|
|
*
|
|
* For the full copyright and license information, please read the
|
|
* LICENSE.txt file that was distributed with this source code.
|
|
*
|
|
* (c) 2019 Dirk Koritnik <koritnik@werkraum-media.de>
|
|
*
|
|
*/
|
|
|
|
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
|
|
|
|
/**
|
|
* Region
|
|
*/
|
|
class Region extends AbstractEntity
|
|
{
|
|
|
|
/**
|
|
* title
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $title = '';
|
|
|
|
/**
|
|
* @var int
|
|
*/
|
|
protected $_languageUid;
|
|
|
|
/**
|
|
* Returns the title
|
|
*
|
|
* @return string $title
|
|
*/
|
|
public function getTitle()
|
|
{
|
|
return $this->title;
|
|
}
|
|
|
|
/**
|
|
* Sets the title
|
|
*
|
|
* @param string $title
|
|
* @return void
|
|
*/
|
|
public function setTitle($title)
|
|
{
|
|
$this->title = $title;
|
|
}
|
|
|
|
/**
|
|
* __construct
|
|
*/
|
|
public function __construct()
|
|
{
|
|
|
|
//Do not remove the next line: It would break the functionality
|
|
$this->initStorageObjects();
|
|
}
|
|
|
|
/**
|
|
* Initializes all ObjectStorage properties
|
|
* Do not modify this method!
|
|
* It will be rewritten on each save in the extension builder
|
|
* You may modify the constructor of this class instead
|
|
*
|
|
* @return void
|
|
*/
|
|
protected function initStorageObjects()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* @param int $languageUid
|
|
* @return void
|
|
*/
|
|
public function setLanguageUid($languageUid)
|
|
{
|
|
$this->_languageUid = $languageUid;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getLanguageUid()
|
|
{
|
|
return $this->_languageUid;
|
|
}
|
|
}
|