‪TYPO3CMS  10.4
Content.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 
20 
25 {
29  protected ‪$header = '';
30 
34  protected ‪$hotels;
35 
39  public function ‪__construct()
40  {
41  $this->hotels = new ‪ObjectStorage();
42  }
43 
47  public function ‪getHeader()
48  {
49  return ‪$this->header;
50  }
51 
55  public function ‪setHeader(‪$header)
56  {
57  $this->header = ‪$header;
58  }
59 
63  public function ‪getHotels()
64  {
65  return ‪$this->hotels;
66  }
67 
72  {
73  $this->hotels = ‪$hotels;
74  }
75 }
‪OliverHader\IrreTutorial\Domain\Model\Content\getHotels
‪TYPO3 CMS Extbase Persistence ObjectStorage getHotels()
Definition: Content.php:61
‪OliverHader\IrreTutorial\Domain\Model\Content\$header
‪string $header
Definition: Content.php:28
‪OliverHader\IrreTutorial\Domain\Model\Content\setHeader
‪setHeader($header)
Definition: Content.php:53
‪TYPO3\CMS\Extbase\DomainObject\AbstractEntity
Definition: AbstractEntity.php:23
‪TYPO3\CMS\Extbase\Persistence\ObjectStorage
Definition: ObjectStorage.php:28
‪OliverHader\IrreTutorial\Domain\Model\Content\setHotels
‪setHotels(ObjectStorage $hotels)
Definition: Content.php:69
‪OliverHader\IrreTutorial\Domain\Model
Definition: Content.php:16
‪OliverHader\IrreTutorial\Domain\Model\Content\getHeader
‪string getHeader()
Definition: Content.php:45
‪OliverHader\IrreTutorial\Domain\Model\Content\__construct
‪__construct()
Definition: Content.php:37
‪OliverHader\IrreTutorial\Domain\Model\Content\$hotels
‪TYPO3 CMS Extbase Persistence ObjectStorage<\OliverHader\IrreTutorial\Domain\Model\Hotel > $hotels
Definition: Content.php:32
‪OliverHader\IrreTutorial\Domain\Model\Content
Definition: Content.php:25