Banner.php 2.47 KB
Newer Older
1
<?php
Sven Burkert's avatar
Sven Burkert committed
2
3
4
5
6
7
8
9
10
11
12
13
14
namespace T3o\Randombanners\Domain\Model;

/*
 * This file is part of the TYPO3 CMS project.
 *
 * It is free software; you can redistribute it and/or modify it under
 * the terms of the GNU General Public License, either version 2
 * of the License, or any later version.
 *
 * For the full copyright and license information, please read the
 * LICENSE.txt file that was distributed with this source code.
 *
 * The TYPO3 project - inspiring people to share!
15
 */
Sven Burkert's avatar
Sven Burkert committed
16
17
18

class Banner extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
{
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41

	/**
	 * name
	 *
	 * @var string
	 */
	protected $name;

	/**
	 * link
	 *
	 * @var string
	 */
	protected $link;

	/**
	 * email
	 *
	 * @var string
	 */
	protected $email;

	/**
42
	 * Logo
43
	 *
Sven Burkert's avatar
Sven Burkert committed
44
     * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\CMS\Extbase\Domain\Model\FileReference>
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
	 */
	protected $logo;

	/**
	 * clickedThisMonth
	 *
	 * @var integer
	 */
	protected $clickedThisMonth;

	/**
	 * clickedLastMonth
	 *
	 * @var string
	 */
	protected $clickedLastMonth;

	/**
	 * @param string $name
	 * @return void
	 */
	public function setName($name) {
		$this->name = $name;
	}

	/**
	 * @return string
	 */
	public function getName() {
		return $this->name;
	}

	/**
	 * @param string $link
	 * @return void
	 */
	public function setLink($link) {
		$this->link = $link;
	}

	/**
	 * @return string
	 */
	public function getLink() {
		return $this->link;
	}

	/**
Sven Burkert's avatar
Sven Burkert committed
93
94
	 * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $logo
     * @return void
95
	 */
Sven Burkert's avatar
Sven Burkert committed
96
	public function setLogo(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $logo) {
97
98
99
100
		$this->logo = $logo;
	}

	/**
101
	 * Get logo
Sven Burkert's avatar
Sven Burkert committed
102
103
     *
	 * @return \TYPO3\CMS\Extbase\Persistence\ObjectStorage
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
	 */
	public function getLogo() {
		return $this->logo;
	}

	/**
	 * @param string $email
	 * @return void
	 */
	public function setEmail($email) {
		$this->email = $email;
	}

	/**
	 * @return string
	 */
	public function getEmail() {
		return $this->email;
	}

	/**
	 * @param integer $clickedThisMonth
	 * @return void
	 */
	public function setClickedThisMonth($clickedThisMonth) {
		$this->clickedThisMonth = $clickedThisMonth;
	}

	/**
	 * @return integer
	 */
	public function getClickedThisMonth() {
		return $this->clickedThisMonth;
	}

	/**
	 * @param string $clickedLastMonth
	 * @return void
	 */
	public function setClickedLastMonth($clickedLastMonth) {
		$this->clickedLastMonth = $clickedLastMonth;
	}

	/**
	 * @return string
	 */
	public function getClickedLastMonth() {
		return $this->clickedLastMonth;
	}

Sven Burkert's avatar
Sven Burkert committed
154
}