]> Raphaƫl G. Git Repositories - blogbundle/blob - Entity/SiteTranslation.php
Fix included template name
[blogbundle] / Entity / SiteTranslation.php
1 <?php
2
3 namespace Rapsys\BlogBundle\Entity;
4
5 /**
6 * SiteTranslation
7 */
8 class SiteTranslation
9 {
10 /**
11 * @var integer
12 */
13 private $site_id;
14
15 /**
16 * @var integer
17 */
18 private $language_id;
19
20 /**
21 * @var string
22 */
23 private $title;
24
25 /**
26 * @var string
27 */
28 private $description;
29
30 /**
31 * @var \DateTime
32 */
33 private $created;
34
35 /**
36 * @var \DateTime
37 */
38 private $updated;
39
40 /**
41 * @var \Rapsys\BlogBundle\Entity\Site
42 */
43 private $site;
44
45 /**
46 * @var \Rapsys\BlogBundle\Entity\Language
47 */
48 private $language;
49
50
51 /**
52 * Set siteId
53 *
54 * @param integer $siteId
55 *
56 * @return SiteTranslation
57 */
58 public function setSiteId($siteId)
59 {
60 $this->site_id = $siteId;
61
62 return $this;
63 }
64
65 /**
66 * Get siteId
67 *
68 * @return integer
69 */
70 public function getSiteId()
71 {
72 return $this->site_id;
73 }
74
75 /**
76 * Set languageId
77 *
78 * @param integer $languageId
79 *
80 * @return SiteTranslation
81 */
82 public function setLanguageId($languageId)
83 {
84 $this->language_id = $languageId;
85
86 return $this;
87 }
88
89 /**
90 * Get languageId
91 *
92 * @return integer
93 */
94 public function getLanguageId()
95 {
96 return $this->language_id;
97 }
98
99 /**
100 * Set title
101 *
102 * @param string $title
103 *
104 * @return SiteTranslation
105 */
106 public function setTitle($title)
107 {
108 $this->title = $title;
109
110 return $this;
111 }
112
113 /**
114 * Get title
115 *
116 * @return string
117 */
118 public function getTitle()
119 {
120 return $this->title;
121 }
122
123 /**
124 * Set description
125 *
126 * @param string $description
127 *
128 * @return SiteTranslation
129 */
130 public function setDescription($description)
131 {
132 $this->description = $description;
133
134 return $this;
135 }
136
137 /**
138 * Get description
139 *
140 * @return string
141 */
142 public function getDescription()
143 {
144 return $this->description;
145 }
146
147 /**
148 * Set created
149 *
150 * @param \DateTime $created
151 *
152 * @return SiteTranslation
153 */
154 public function setCreated($created)
155 {
156 $this->created = $created;
157
158 return $this;
159 }
160
161 /**
162 * Get created
163 *
164 * @return \DateTime
165 */
166 public function getCreated()
167 {
168 return $this->created;
169 }
170
171 /**
172 * Set updated
173 *
174 * @param \DateTime $updated
175 *
176 * @return SiteTranslation
177 */
178 public function setUpdated($updated)
179 {
180 $this->updated = $updated;
181
182 return $this;
183 }
184
185 /**
186 * Get updated
187 *
188 * @return \DateTime
189 */
190 public function getUpdated()
191 {
192 return $this->updated;
193 }
194
195 /**
196 * Set site
197 *
198 * @param \Rapsys\BlogBundle\Entity\Site $site
199 *
200 * @return SiteTranslation
201 */
202 public function setSite(\Rapsys\BlogBundle\Entity\Site $site = null)
203 {
204 $this->site = $site;
205
206 return $this;
207 }
208
209 /**
210 * Get site
211 *
212 * @return \Rapsys\BlogBundle\Entity\Site
213 */
214 public function getSite()
215 {
216 return $this->site;
217 }
218
219 /**
220 * Set language
221 *
222 * @param \Rapsys\BlogBundle\Entity\Language $language
223 *
224 * @return SiteTranslation
225 */
226 public function setLanguage(\Rapsys\BlogBundle\Entity\Language $language = null)
227 {
228 $this->language = $language;
229
230 return $this;
231 }
232
233 /**
234 * Get language
235 *
236 * @return \Rapsys\BlogBundle\Entity\Language
237 */
238 public function getLanguage()
239 {
240 return $this->language;
241 }
242 }