‪TYPO3CMS  10.4
Hotel.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
21 
26 {
30  protected ‪$title = '';
31 
36  protected ‪$offers;
37 
41  public function ‪__construct()
42  {
43  $this->offers = new ‪ObjectStorage();
44  }
45 
49  public function ‪getTitle()
50  {
51  return ‪$this->title;
52  }
53 
57  public function ‪setTitle(‪$title)
58  {
59  $this->title = ‪$title;
60  }
61 
65  public function ‪getOffers()
66  {
67  return ‪$this->offers;
68  }
69 
74  {
75  $this->offers = ‪$offers;
76  }
77 }
‪TYPO3\CMS\Extbase\Annotation
Definition: IgnoreValidation.php:18
‪OliverHader\IrreTutorial\Domain\Model\Hotel\$offers
‪TYPO3 CMS Extbase Persistence ObjectStorage<\OliverHader\IrreTutorial\Domain\Model\Offer > $offers
Definition: Hotel.php:34
‪TYPO3\CMS\Extbase\DomainObject\AbstractEntity
Definition: AbstractEntity.php:23
‪TYPO3\CMS\Extbase\Persistence\ObjectStorage
Definition: ObjectStorage.php:28
‪OliverHader\IrreTutorial\Domain\Model\Hotel\$title
‪string $title
Definition: Hotel.php:29
‪OliverHader\IrreTutorial\Domain\Model\Hotel\getOffers
‪TYPO3 CMS Extbase Persistence ObjectStorage getOffers()
Definition: Hotel.php:63
‪OliverHader\IrreTutorial\Domain\Model
Definition: Content.php:16
‪OliverHader\IrreTutorial\Domain\Model\Hotel\setTitle
‪setTitle($title)
Definition: Hotel.php:55
‪OliverHader\IrreTutorial\Domain\Model\Hotel
Definition: Hotel.php:26
‪OliverHader\IrreTutorial\Domain\Model\Hotel\setOffers
‪setOffers(ObjectStorage $offers)
Definition: Hotel.php:71
‪OliverHader\IrreTutorial\Domain\Model\Hotel\__construct
‪__construct()
Definition: Hotel.php:39
‪OliverHader\IrreTutorial\Domain\Model\Hotel\getTitle
‪string getTitle()
Definition: Hotel.php:47