3 namespace Rapsys\BlogBundle\Entity
;
36 * @var \Doctrine\Common\Collections\Collection
38 private $article_translations;
41 * @var \Doctrine\Common\Collections\Collection
43 private $keyword_translations;
46 * @var \Doctrine\Common\Collections\Collection
48 private $site_translations;
51 * @var \Doctrine\Common\Collections\Collection
53 private $language_translations;
56 * @var \Doctrine\Common\Collections\Collection
58 private $target_translations;
63 public function __construct()
65 $this->article_translations
= new \Doctrine\Common\Collections\
ArrayCollection();
66 $this->keyword_translations
= new \Doctrine\Common\Collections\
ArrayCollection();
67 $this->site_translations
= new \Doctrine\Common\Collections\
ArrayCollection();
68 $this->language_translations
= new \Doctrine\Common\Collections\
ArrayCollection();
69 $this->target_translations
= new \Doctrine\Common\Collections\
ArrayCollection();
77 public function getId()
85 * @param string $iso6391
89 public function setIso6391($iso6391)
91 $this->iso6391
= $iso6391;
101 public function getIso6391()
103 return $this->iso6391
;
109 * @param string $iso6393
113 public function setIso6393($iso6393)
115 $this->iso6393
= $iso6393;
125 public function getIso6393()
127 return $this->iso6393
;
133 * @param \DateTime $created
137 public function setCreated($created)
139 $this->created
= $created;
149 public function getCreated()
151 return $this->created
;
157 * @param \DateTime $updated
161 public function setUpdated($updated)
163 $this->updated
= $updated;
173 public function getUpdated()
175 return $this->updated
;
179 * Add articleTranslation
181 * @param \Rapsys\BlogBundle\Entity\ArticleTranslation $articleTranslation
185 public function addArticleTranslation(\Rapsys\BlogBundle\Entity\ArticleTranslation
$articleTranslation)
187 $this->article_translations
[] = $articleTranslation;
193 * Remove articleTranslation
195 * @param \Rapsys\BlogBundle\Entity\ArticleTranslation $articleTranslation
197 public function removeArticleTranslation(\Rapsys\BlogBundle\Entity\ArticleTranslation
$articleTranslation)
199 $this->article_translations
->removeElement($articleTranslation);
203 * Get articleTranslations
205 * @return \Doctrine\Common\Collections\Collection
207 public function getArticleTranslations()
209 return $this->article_translations
;
213 * Add keywordTranslation
215 * @param \Rapsys\BlogBundle\Entity\KeywordTranslation $keywordTranslation
219 public function addKeywordTranslation(\Rapsys\BlogBundle\Entity\KeywordTranslation
$keywordTranslation)
221 $this->keyword_translations
[] = $keywordTranslation;
227 * Remove keywordTranslation
229 * @param \Rapsys\BlogBundle\Entity\KeywordTranslation $keywordTranslation
231 public function removeKeywordTranslation(\Rapsys\BlogBundle\Entity\KeywordTranslation
$keywordTranslation)
233 $this->keyword_translations
->removeElement($keywordTranslation);
237 * Get keywordTranslations
239 * @return \Doctrine\Common\Collections\Collection
241 public function getKeywordTranslations()
243 return $this->keyword_translations
;
247 * Add siteTranslation
249 * @param \Rapsys\BlogBundle\Entity\SiteTranslation $siteTranslation
253 public function addSiteTranslation(\Rapsys\BlogBundle\Entity\SiteTranslation
$siteTranslation)
255 $this->site_translations
[] = $siteTranslation;
261 * Remove siteTranslation
263 * @param \Rapsys\BlogBundle\Entity\SiteTranslation $siteTranslation
265 public function removeSiteTranslation(\Rapsys\BlogBundle\Entity\SiteTranslation
$siteTranslation)
267 $this->site_translations
->removeElement($siteTranslation);
271 * Get siteTranslations
273 * @return \Doctrine\Common\Collections\Collection
275 public function getSiteTranslations()
277 return $this->site_translations
;
281 * Add languageTranslation
283 * @param \Rapsys\BlogBundle\Entity\LanguageTranslation $languageTranslation
287 public function addLanguageTranslation(\Rapsys\BlogBundle\Entity\LanguageTranslation
$languageTranslation)
289 $this->language_translations
[] = $languageTranslation;
295 * Remove languageTranslation
297 * @param \Rapsys\BlogBundle\Entity\LanguageTranslation $languageTranslation
299 public function removeLanguageTranslation(\Rapsys\BlogBundle\Entity\LanguageTranslation
$languageTranslation)
301 $this->language_translations
->removeElement($languageTranslation);
305 * Get languageTranslations
307 * @return \Doctrine\Common\Collections\Collection
309 public function getLanguageTranslations()
311 return $this->language_translations
;
315 * Add targetTranslation
317 * @param \Rapsys\BlogBundle\Entity\LanguageTranslation $targetTranslation
321 public function addTargetTranslation(\Rapsys\BlogBundle\Entity\LanguageTranslation
$targetTranslation)
323 $this->target_translations
[] = $targetTranslation;
329 * Remove targetTranslation
331 * @param \Rapsys\BlogBundle\Entity\LanguageTranslation $targetTranslation
333 public function removeTargetTranslation(\Rapsys\BlogBundle\Entity\LanguageTranslation
$targetTranslation)
335 $this->target_translations
->removeElement($targetTranslation);
339 * Get targetTranslations
341 * @return \Doctrine\Common\Collections\Collection
343 public function getTargetTranslations()
345 return $this->target_translations
;
355 public function setId($id)