2019-07-18 13:44:19 +02:00
|
|
|
<?php
|
2021-01-07 08:50:43 +01:00
|
|
|
|
2019-07-18 13:44:19 +02:00
|
|
|
namespace Wrm\Events\Domain\Model;
|
|
|
|
|
2021-01-07 08:58:03 +01:00
|
|
|
/*
|
2019-07-18 13:44:19 +02:00
|
|
|
*
|
|
|
|
* 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>
|
|
|
|
*
|
2021-01-07 08:58:03 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
|
|
|
|
|
2019-07-18 13:44:19 +02:00
|
|
|
/**
|
|
|
|
* Organizer
|
|
|
|
*/
|
2021-01-07 08:47:15 +01:00
|
|
|
class Organizer extends AbstractEntity
|
2019-07-18 13:44:19 +02:00
|
|
|
{
|
|
|
|
|
|
|
|
/**
|
|
|
|
* name
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $name = '';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* street
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $street = '';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* district
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $district = '';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* city
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $city = '';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* zip
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $zip = '';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* phone
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $phone = '';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* web
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $web = '';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* email
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $email = '';
|
|
|
|
|
2020-10-01 08:34:13 +02:00
|
|
|
/**
|
|
|
|
* @var int
|
|
|
|
*/
|
2020-10-01 08:56:44 +02:00
|
|
|
protected $_languageUid;
|
2020-10-01 08:34:13 +02:00
|
|
|
|
2019-07-18 13:44:19 +02:00
|
|
|
/**
|
|
|
|
* Returns the name
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @return string $name
|
|
|
|
*/
|
|
|
|
public function getName()
|
|
|
|
{
|
|
|
|
return $this->name;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets the name
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @param string $name
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function setName($name)
|
|
|
|
{
|
|
|
|
$this->name = $name;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Returns the street
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @return string $street
|
|
|
|
*/
|
|
|
|
public function getStreet()
|
|
|
|
{
|
|
|
|
return $this->street;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets the street
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @param string $street
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function setStreet($street)
|
|
|
|
{
|
|
|
|
$this->street = $street;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Returns the district
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @return string $district
|
|
|
|
*/
|
|
|
|
public function getDistrict()
|
|
|
|
{
|
|
|
|
return $this->district;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets the district
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @param string $district
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function setDistrict($district)
|
|
|
|
{
|
|
|
|
$this->district = $district;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Returns the city
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @return string $city
|
|
|
|
*/
|
|
|
|
public function getCity()
|
|
|
|
{
|
|
|
|
return $this->city;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets the city
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @param string $city
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function setCity($city)
|
|
|
|
{
|
|
|
|
$this->city = $city;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Returns the zip
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @return string $zip
|
|
|
|
*/
|
|
|
|
public function getZip()
|
|
|
|
{
|
|
|
|
return $this->zip;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets the zip
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @param string $zip
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function setZip($zip)
|
|
|
|
{
|
|
|
|
$this->zip = $zip;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Returns the phone
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @return string $phone
|
|
|
|
*/
|
|
|
|
public function getPhone()
|
|
|
|
{
|
|
|
|
return $this->phone;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets the phone
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @param string $phone
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function setPhone($phone)
|
|
|
|
{
|
|
|
|
$this->phone = $phone;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Returns the web
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @return string $web
|
|
|
|
*/
|
|
|
|
public function getWeb()
|
|
|
|
{
|
|
|
|
return $this->web;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets the web
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @param string $web
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function setWeb($web)
|
|
|
|
{
|
|
|
|
$this->web = $web;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Returns the email
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @return string $email
|
|
|
|
*/
|
|
|
|
public function getEmail()
|
|
|
|
{
|
|
|
|
return $this->email;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets the email
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @param string $email
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function setEmail($email)
|
|
|
|
{
|
|
|
|
$this->email = $email;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* __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
|
2021-01-07 08:50:43 +01:00
|
|
|
*
|
2019-07-18 13:44:19 +02:00
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
protected function initStorageObjects()
|
|
|
|
{
|
|
|
|
}
|
2020-10-01 08:34:13 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @param int $languageUid
|
|
|
|
* @return void
|
|
|
|
*/
|
2021-01-07 08:50:43 +01:00
|
|
|
public function setLanguageUid($languageUid)
|
|
|
|
{
|
2020-10-01 08:56:44 +02:00
|
|
|
$this->_languageUid = $languageUid;
|
2020-10-01 08:34:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return int
|
|
|
|
*/
|
2021-01-07 08:50:43 +01:00
|
|
|
public function getLanguageUid()
|
|
|
|
{
|
2020-10-01 08:56:44 +02:00
|
|
|
return $this->_languageUid;
|
2020-10-01 08:34:13 +02:00
|
|
|
}
|
2019-07-18 13:44:19 +02:00
|
|
|
}
|