TYPO3 CMS  TYPO3_8-7
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 = null;
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 }
setHotels(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $hotels)
Definition: Content.php:67