‪TYPO3CMS  9.5
Content.php
Go to the documentation of this file.
1 <?php
3 
4 /*
5  * This file is part of the TYPO3 CMS project.
6  *
7  * It is free software; you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License, either version 2
9  * of the License, or any later version.
10  *
11  * For the full copyright and license information, please read the
12  * LICENSE.txt file that was distributed with this source code.
13  *
14  * The TYPO3 project - inspiring people to share!
15  */
16 
21 {
25  protected ‪$header = '';
26 
30  protected ‪$hotels;
31 
35  public function ‪__construct()
36  {
37  $this->hotels = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
38  }
39 
43  public function ‪getHeader()
44  {
45  return ‪$this->header;
46  }
47 
51  public function ‪setHeader(‪$header)
52  {
53  $this->header = ‪$header;
54  }
55 
59  public function ‪getHotels()
60  {
61  return ‪$this->hotels;
62  }
63 
67  public function ‪setHotels(\‪TYPO3\CMS\‪Extbase\Persistence\ObjectStorage ‪$hotels)
68  {
69  $this->hotels = ‪$hotels;
70  }
71 }
‪OliverHader\IrreTutorial\Domain\Model\Content\getHotels
‪TYPO3 CMS Extbase Persistence ObjectStorage<\OliverHader\IrreTutorial\Domain\Model\Hotel > getHotels()
Definition: Content.php:57
‪TYPO3\CMS\Extbase\Annotation
Definition: IgnoreValidation.php:4
‪TYPO3
‪OliverHader\IrreTutorial\Domain\Model\Content\$header
‪string $header
Definition: Content.php:24
‪OliverHader\IrreTutorial\Domain\Model\Content\setHeader
‪setHeader($header)
Definition: Content.php:49
‪TYPO3\CMS\Extbase\DomainObject\AbstractEntity
Definition: AbstractEntity.php:22
‪OliverHader\IrreTutorial\Domain\Model
Definition: Content.php:2
‪OliverHader\IrreTutorial\Domain\Model\Content\getHeader
‪string getHeader()
Definition: Content.php:41
‪OliverHader\IrreTutorial\Domain\Model\Content\__construct
‪__construct()
Definition: Content.php:33
‪OliverHader\IrreTutorial\Domain\Model\Content\$hotels
‪TYPO3 CMS Extbase Persistence ObjectStorage<\OliverHader\IrreTutorial\Domain\Model\Hotel > $hotels
Definition: Content.php:28
‪OliverHader\IrreTutorial\Domain\Model\Content\setHotels
‪setHotels(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $hotels)
Definition: Content.php:65
‪OliverHader\IrreTutorial\Domain\Model\Content
Definition: Content.php:21