SHOW:
|
|
- or go back to the newest paste.
| 1 | <?php | |
| 2 | namespace Webguerillas\Wgbe\Domain\Model; | |
| 3 | ||
| 4 | /*************************************************************** | |
| 5 | * Copyright notice | |
| 6 | * | |
| 7 | * (c) 2013 | |
| 8 | * All rights reserved | |
| 9 | * | |
| 10 | * This script is part of the TYPO3 project. The TYPO3 project is | |
| 11 | * free software; you can redistribute it and/or modify | |
| 12 | * it under the terms of the GNU General Public License as published by | |
| 13 | * the Free Software Foundation; either version 3 of the License, or | |
| 14 | * (at your option) any later version. | |
| 15 | * | |
| 16 | * The GNU General Public License can be found at | |
| 17 | * http://www.gnu.org/copyleft/gpl.html. | |
| 18 | * | |
| 19 | * This script is distributed in the hope that it will be useful, | |
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 22 | * GNU General Public License for more details. | |
| 23 | * | |
| 24 | * This copyright notice MUST APPEAR in all copies of the script! | |
| 25 | ***************************************************************/ | |
| 26 | ||
| 27 | /** | |
| 28 | * | |
| 29 | * | |
| 30 | * @package wgbe | |
| 31 | * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3 or later | |
| 32 | * | |
| 33 | */ | |
| 34 | class Cases extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
| |
| 35 | ||
| 36 | /** | |
| 37 | * headline | |
| 38 | * | |
| 39 | * @var \string | |
| 40 | */ | |
| 41 | protected $headline; | |
| 42 | ||
| 43 | /** | |
| 44 | * service | |
| 45 | * | |
| 46 | * @var \Webguerillas\Wgbe\Domain\Model\Service | |
| 47 | */ | |
| 48 | protected $service; | |
| 49 | ||
| 50 | /** | |
| 51 | * copytext | |
| 52 | * | |
| 53 | * @var \string | |
| 54 | */ | |
| 55 | protected $copytext; | |
| 56 | ||
| 57 | /** | |
| 58 | * link | |
| 59 | * | |
| 60 | * @var \string | |
| 61 | */ | |
| 62 | protected $link; | |
| 63 | ||
| 64 | /** | |
| 65 | * Returns the headline | |
| 66 | * | |
| 67 | * @return \string $headline | |
| 68 | */ | |
| 69 | public function getHeadline() {
| |
| 70 | return $this->headline; | |
| 71 | } | |
| 72 | ||
| 73 | /** | |
| 74 | * Sets the headline | |
| 75 | * | |
| 76 | * @param \string $headline | |
| 77 | * @return void | |
| 78 | */ | |
| 79 | public function setHeadline($headline) {
| |
| 80 | $this->headline = $headline; | |
| 81 | } | |
| 82 | ||
| 83 | ||
| 84 | /** | |
| 85 | * Sets the service | |
| 86 | * | |
| 87 | * @return void | |
| 88 | */ | |
| 89 | public function setService(\Webguerillas\Wgbe\Domain\Model\Service $service) {
| |
| 90 | $this->service = $service; | |
| 91 | } | |
| 92 | ||
| 93 | /** | |
| 94 | * Returns the service | |
| 95 | * | |
| 96 | * @return \Webguerillas\Wgbe\Domain\Model\Service | |
| 97 | */ | |
| 98 | public function getService() {
| |
| 99 | return $this->service; | |
| 100 | } | |
| 101 | ||
| 102 | /** | |
| 103 | * Returns the copytext | |
| 104 | * | |
| 105 | * @return \string $copytext | |
| 106 | */ | |
| 107 | public function getCopytext() {
| |
| 108 | return $this->copytext; | |
| 109 | } | |
| 110 | ||
| 111 | /** | |
| 112 | * Sets the copytext | |
| 113 | * | |
| 114 | * @param \string $copytext | |
| 115 | * @return void | |
| 116 | */ | |
| 117 | public function setCopytext($copytext) {
| |
| 118 | $this->copytext = $copytext; | |
| 119 | } | |
| 120 | ||
| 121 | /** | |
| 122 | * Returns the link | |
| 123 | * | |
| 124 | * @return \string $link | |
| 125 | */ | |
| 126 | public function getLink() {
| |
| 127 | return $this->link; | |
| 128 | } | |
| 129 | ||
| 130 | /** | |
| 131 | * Sets the link | |
| 132 | * | |
| 133 | * @param \string $link | |
| 134 | * @return void | |
| 135 | */ | |
| 136 | public function setLink($link) {
| |
| 137 | $this->link = $link; | |
| 138 | } | |
| 139 | ||
| 140 | } | |
| 141 | ?> |