‪TYPO3CMS  10.4
Offer.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 ‪$prices;
37 
41  public function ‪__construct()
42  {
43  $this->prices = 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 ‪getPrices()
66  {
67  return ‪$this->prices;
68  }
69 
74  {
75  $this->prices = ‪$prices;
76  }
77 }
‪TYPO3\CMS\Extbase\Annotation
Definition: IgnoreValidation.php:18
‪OliverHader\IrreTutorial\Domain\Model\Offer\getPrices
‪TYPO3 CMS Extbase Persistence ObjectStorage getPrices()
Definition: Offer.php:63
‪OliverHader\IrreTutorial\Domain\Model\Offer\$title
‪string $title
Definition: Offer.php:29
‪OliverHader\IrreTutorial\Domain\Model\Offer\setPrices
‪setPrices(ObjectStorage $prices)
Definition: Offer.php:71
‪TYPO3\CMS\Extbase\DomainObject\AbstractEntity
Definition: AbstractEntity.php:23
‪OliverHader\IrreTutorial\Domain\Model\Offer\__construct
‪__construct()
Definition: Offer.php:39
‪OliverHader\IrreTutorial\Domain\Model\Offer\$prices
‪TYPO3 CMS Extbase Persistence ObjectStorage<\OliverHader\IrreTutorial\Domain\Model\Offer > $prices
Definition: Offer.php:34
‪TYPO3\CMS\Extbase\Persistence\ObjectStorage
Definition: ObjectStorage.php:28
‪OliverHader\IrreTutorial\Domain\Model
Definition: Content.php:16
‪OliverHader\IrreTutorial\Domain\Model\Offer\setTitle
‪setTitle($title)
Definition: Offer.php:55
‪OliverHader\IrreTutorial\Domain\Model\Offer\getTitle
‪string getTitle()
Definition: Offer.php:47
‪OliverHader\IrreTutorial\Domain\Model\Offer
Definition: Offer.php:26