<?php
namespace TheatreCore\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Texts
*
* @ORM\Table(name="texts", uniqueConstraints={@ORM\UniqueConstraint(name="url_clean", columns={"url_clean"})}, indexes={@ORM\Index(name="idfiletextaccess", columns={"idfiletextaccess"}), @ORM\Index(name="continent", columns={"continent"}), @ORM\Index(name="selection_aneth", columns={"selection_aneth"}), @ORM\Index(name="type", columns={"type"}), @ORM\Index(name="idcontact_translation", columns={"idcontact_translation"}), @ORM\Index(name="title", columns={"title"}), @ORM\Index(name="publication_month", columns={"publication_month"}), @ORM\Index(name="country", columns={"country"}), @ORM\Index(name="idextranetuser", columns={"idextranetuser"}), @ORM\Index(name="idcontact_publisher", columns={"idcontact_publisher"}), @ORM\Index(name="idcontact_performing", columns={"idcontact_performing"}), @ORM\Index(name="idgenretext", columns={"idgenretext"})})
* @ORM\Entity(repositoryClass="TheatreCore\Repository\TextsRepository")
*/
class Texts
{
/**
* @var int
*
* @ORM\Column(name="idtext", type="integer", nullable=false, options={"unsigned"=true})
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $idtext;
/**
* @var int|null
*
* @ORM\Column(name="type", type="integer", nullable=true)
*/
private $type = false;
/**
* @var bool|null
*
* @ORM\Column(name="idtypetext", type="boolean", nullable=true)
*/
private $idtypetext = false;
/**
* @var bool|null
*
* @ORM\Column(name="special_text", type="boolean", nullable=true)
*/
private $specialText;
/**
* @var string|null
*
* @ORM\Column(name="title", type="string", length=255, nullable=true)
*/
private $title;
/**
* @var string|null
*
* @ORM\Column(name="subtitle", type="string", length=255, nullable=true)
*/
private $subtitle;
/**
* @var int|null
*
* @ORM\Column(name="date", type="smallint", nullable=true)
*/
private $date;
/**
* @var string|null
*
* @ORM\Column(name="language", type="string", length=2, nullable=true)
*/
private $language;
/**
* @var bool|null
*
* @ORM\Column(name="markdown", type="boolean", nullable=true)
*/
private $markdown;
/**
* @var string|null
*
* @ORM\Column(name="abstract", type="text", length=65535, nullable=true)
*/
private $abstract;
/**
* @var string|null
*
* @ORM\Column(name="abstract_author", type="string", length=255, nullable=true)
*/
private $abstractAuthor;
/**
* @var \DateTime|null
*
* @ORM\Column(name="abstract_date", type="date", nullable=true)
*/
private $abstractDate;
/**
* @var string|null
*
* @ORM\Column(name="abstract_url", type="text", length=65535, nullable=true)
*/
private $abstractUrl;
/**
* @var string|null
*
* @ORM\Column(name="publisher_url_text", type="string", length=255, nullable=true)
*/
private $publisherUrlText;
/**
* @var int|null
*
* @ORM\Column(name="publication_year", type="smallint", nullable=true)
*/
private $publicationYear;
/**
* @var int|null
*
* @ORM\Column(name="publication_month", type="smallint", nullable=true)
*/
private $publicationMonth;
/**
* @var string|null
*
* @ORM\Column(name="isbn", type="string", length=20, nullable=true)
*/
private $isbn;
/**
* @var string|null
*
* @ORM\Column(name="ean", type="string", length=20, nullable=true)
*/
private $ean;
/**
* @var string|null
*
* @ORM\Column(name="publishinfos", type="text", length=65535, nullable=true)
*/
private $publishinfos;
/**
* @var string|null
*
* @ORM\Column(name="urltextaccess", type="string", length=255, nullable=true)
*/
private $urltextaccess;
/**
* @var string|null
*
* @ORM\Column(name="emailtextaccess", type="string", length=255, nullable=true)
*/
private $emailtextaccess;
/**
* @var int|null
*
* @ORM\Column(name="idfiletextaccess", type="integer", nullable=true)
*/
private $idfiletextaccess;
/**
* @var string|null
*
* @ORM\Column(name="filetextaccesssave", type="string", length=255, nullable=true)
*/
private $filetextaccesssave;
/**
* @var string|null
*
* @ORM\Column(name="textaccessmore", type="text", length=65535, nullable=true)
*/
private $textaccessmore;
/**
* @var string|null
*
* @ORM\Column(name="request_translation_text", type="text", length=65535, nullable=true)
*/
private $requestTranslationText;
/**
* @var string|null
*
* @ORM\Column(name="request_performing_text", type="text", length=65535, nullable=true)
*/
private $requestPerformingText;
/**
* @var string|null
*
* @ORM\Column(name="help_translation", type="text", length=65535, nullable=true)
*/
private $helpTranslation;
/**
* @var string|null
*
* @ORM\Column(name="help_publishing", type="text", length=65535, nullable=true)
*/
private $helpPublishing;
/**
* @var string|null
*
* @ORM\Column(name="help_other", type="text", length=65535, nullable=true)
*/
private $helpOther;
/**
* @var string|null
*
* @ORM\Column(name="moreinfo", type="text", length=65535, nullable=true)
*/
private $moreinfo;
/**
* @var string|null
*
* @ORM\Column(name="nmale", type="string", length=5, nullable=true)
*/
private $nmale;
/**
* @var string|null
*
* @ORM\Column(name="nfemale", type="string", length=5, nullable=true)
*/
private $nfemale;
/**
* @var string|null
*
* @ORM\Column(name="npeople", type="text", length=65535, nullable=true)
*/
private $npeople;
/**
* @var string|null
*
* @ORM\Column(name="textorder", type="text", length=65535, nullable=true)
*/
private $textorder;
/**
* @var int|null
*
* @ORM\Column(name="nbpages", type="smallint", nullable=true, options={"unsigned"=true})
*/
private $nbpages;
/**
* @var string|null
*
* @ORM\Column(name="price", type="decimal", precision=5, scale=2, nullable=true)
*/
private $price;
/**
* @var string|null
*
* @ORM\Column(name="selection_aneth", type="string", length=20, nullable=true, options={"comment"="Date selection ANETH"})
*/
private $selectionAneth;
/**
* @var int|null
*
* @ORM\Column(name="idtext_aneth", type="integer", nullable=true, options={"unsigned"=true,"comment"="Id du texte chez Aneth"})
*/
private $idtextAneth;
/**
* @var string|null
*
* @ORM\Column(name="aide_creation", type="string", length=20, nullable=true)
*/
private $aideCreation;
/**
* @var string|null
*
* @ORM\Column(name="comments", type="text", length=65535, nullable=true)
*/
private $comments;
/**
* @var string|null
*
* @ORM\Column(name="url_clean", type="string", length=250, nullable=true)
*/
private $urlClean;
/**
* @var bool
*
* @ORM\Column(name="textfictif", type="boolean", nullable=false)
*/
private $textfictif = false;
/**
* @var bool|null
*
* @ORM\Column(name="valid_opendata", type="boolean", nullable=true)
*/
private $validOpendata;
/**
* @var \DateTime|null
*
* @ORM\Column(name="dateupdate", type="datetime", nullable=true)
*/
private $dateupdate;
/**
* @var \DateTime|null
*
* @ORM\Column(name="dateinsert", type="datetime", nullable=true)
*/
private $dateinsert;
/**
* @var bool|null
*
* @ORM\Column(name="publish", type="boolean", nullable=true)
*/
private $publish = false;
/**
* @var int|null
*
* @ORM\Column(name="statut", type="integer", nullable=true)
*/
private $statut;
/**
* @var bool
*
* @ORM\Column(name="valid", type="boolean", nullable=false)
*/
private $valid = false;
/**
* @var \Contacts
*
* @ORM\ManyToOne(targetEntity="Contacts")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="idcontact_publisher", referencedColumnName="idcontact")
* })
*/
private $idcontact_publisher;
/**
* @var \Contacts
*
* @ORM\ManyToOne(targetEntity="Contacts")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="idcontact_translation", referencedColumnName="idcontact")
* })
*/
private $idcontact_translation;
/**
* @var \Contacts
*
* @ORM\ManyToOne(targetEntity="Contacts")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="idcontact_performing", referencedColumnName="idcontact")
* })
*/
private $idcontact_performing;
/**
* @var \Genretexts
*
* @ORM\ManyToOne(targetEntity="Genretexts")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="idgenretext", referencedColumnName="idgenretext")
* })
*/
private $idgenretext;
/**
* @var \Continents
*
* @ORM\ManyToOne(targetEntity="Continents")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="continent", referencedColumnName="id")
* })
*/
private $continent;
/**
* @var \Countries
*
* @ORM\ManyToOne(targetEntity="Countries")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="country", referencedColumnName="id")
* })
*/
private $country;
/**
* @var \Extranetusers
*
* @ORM\ManyToOne(targetEntity="Extranetusers")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="idextranetuser", referencedColumnName="idextranetuser")
* })
*/
private $idextranetuser;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\ManyToMany(targetEntity="Dvds", mappedBy="idtext")
*/
private $iddvd;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\ManyToMany(targetEntity="Podcasts", mappedBy="idtext")
*/
private $idpodcast;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\ManyToMany(targetEntity="Texts")
* @ORM\JoinTable(name="text_adaptation",
* joinColumns={
* @ORM\JoinColumn(name="idtextadaptation", referencedColumnName="idtext")
* },
* inverseJoinColumns={
* @ORM\JoinColumn(name="idtext", referencedColumnName="idtext")
* }
* )
*/
private $textAdaptationtext;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\ManyToMany(targetEntity="Persons", inversedBy="textAuthortext")
* @ORM\JoinTable(name="text_author",
* joinColumns={
* @ORM\JoinColumn(name="idtext", referencedColumnName="idtext")
* },
* inverseJoinColumns={
* @ORM\JoinColumn(name="idperson", referencedColumnName="idperson")
* }
* )
*
*/
private $text_author;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\ManyToMany(targetEntity="Classifications", inversedBy="idtext")
* @ORM\JoinTable(name="text_classification",
* joinColumns={
* @ORM\JoinColumn(name="idtext", referencedColumnName="idtext")
* },
* inverseJoinColumns={
* @ORM\JoinColumn(name="idclassification", referencedColumnName="idclassification")
* }
* )
*/
private $text_classification;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\ManyToMany(targetEntity="Spectacles", inversedBy="text_spectacle")
* @ORM\JoinTable(name="text_spectacle",
* joinColumns={
* @ORM\JoinColumn(name="idtext", referencedColumnName="idtext")
* },
* inverseJoinColumns={
* @ORM\JoinColumn(name="idspectacle", referencedColumnName="idspectacle")
* }
* )
*/
private $idspectacle;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\ManyToMany(targetEntity="Texts")
* @ORM\JoinTable(name="text_traduction",
* joinColumns={
* @ORM\JoinColumn(name="idtexttraduction", referencedColumnName="idtext")
* },
* inverseJoinColumns={
* @ORM\JoinColumn(name="idtext", referencedColumnName="idtext")
* }
* )
*/
private $textTraductiontext;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\ManyToMany(targetEntity="Persons", inversedBy="textTranslatortext")
* @ORM\JoinTable(name="text_translsator",
* joinColumns={
* @ORM\JoinColumn(name="idtext", referencedColumnName="idtext")
* },
* inverseJoinColumns={
* @ORM\JoinColumn(name="idperson", referencedColumnName="idperson")
* }
* )
*/
private $textTranslator;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\ManyToMany(targetEntity="Persons", inversedBy="textPersontext")
* @ORM\JoinTable(name="text_person",
* joinColumns={
* @ORM\JoinColumn(name="idtext", referencedColumnName="idtext")
* },
* inverseJoinColumns={
* @ORM\JoinColumn(name="idperson", referencedColumnName="idperson")
* }
* )
*/
private $text_person;
/**
* @var \Texts
*
* @ORM\OneToMany(targetEntity="TextAide", mappedBy="idtext")
*
*/
private $aides;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\ManyToMany(targetEntity="News", mappedBy="idtext")
*/
private $idnew;
/**
* Constructor
*/
public function __construct()
{
$this->iddvd = new \Doctrine\Common\Collections\ArrayCollection();
$this->idpodcast = new \Doctrine\Common\Collections\ArrayCollection();
$this->textAdaptationtext = new \Doctrine\Common\Collections\ArrayCollection();
$this->text_author = new \Doctrine\Common\Collections\ArrayCollection();
$this->text_classification = new \Doctrine\Common\Collections\ArrayCollection();
$this->idspectacle = new \Doctrine\Common\Collections\ArrayCollection();
$this->textTraductiontext = new \Doctrine\Common\Collections\ArrayCollection();
$this->textTranslator = new \Doctrine\Common\Collections\ArrayCollection();
$this->text_person = new \Doctrine\Common\Collections\ArrayCollection();
$this->idperson = new \Doctrine\Common\Collections\ArrayCollection();
$this->aides = new \Doctrine\Common\Collections\ArrayCollection();
$this->idnew = new \Doctrine\Common\Collections\ArrayCollection();
}
/**
* Get idtext.
*
* @return int
*/
public function getIdtext()
{
return $this->idtext;
}
/**
* Set type.
*
* @param bool|null $type
*
* @return Texts
*/
public function setType($type = null)
{
$this->type = $type;
return $this;
}
/**
* Get type.
*
* @return bool|null
*/
public function getType()
{
return $this->type;
}
/**
* Set idtypetext.
*
* @param bool|null $idtypetext
*
* @return Texts
*/
public function setIdtypetext($idtypetext = null)
{
$this->idtypetext = $idtypetext;
return $this;
}
/**
* Get idtypetext.
*
* @return bool|null
*/
public function getIdtypetext()
{
return $this->idtypetext;
}
/**
* Set specialText.
*
* @param bool|null $specialText
*
* @return Texts
*/
public function setSpecialText($specialText = null)
{
$this->specialText = $specialText;
return $this;
}
/**
* Get specialText.
*
* @return bool|null
*/
public function getSpecialText()
{
return $this->specialText;
}
/**
* Set title.
*
* @param string|null $title
*
* @return Texts
*/
public function setTitle($title = null)
{
$this->title = $title;
return $this;
}
/**
* Get title.
*
* @return string|null
*/
public function getTitle()
{
return $this->title;
}
/**
* Set subtitle.
*
* @param string|null $subtitle
*
* @return Texts
*/
public function setSubtitle($subtitle = null)
{
$this->subtitle = $subtitle;
return $this;
}
/**
* Get subtitle.
*
* @return string|null
*/
public function getSubtitle()
{
return $this->subtitle;
}
/**
* Set date.
*
* @param int|null $date
*
* @return Texts
*/
public function setDate($date = null)
{
$this->date = $date;
return $this;
}
/**
* Get date.
*
* @return int|null
*/
public function getDate()
{
return $this->date;
}
/**
* Set language.
*
* @param string|null $language
*
* @return Texts
*/
public function setLanguage($language = null)
{
$this->language = $language;
return $this;
}
/**
* Get language.
*
* @return string|null
*/
public function getLanguage()
{
return $this->language;
}
/**
* Set markdown.
*
* @param bool|null $markdown
*
* @return Texts
*/
public function setMarkdown($markdown = null)
{
$this->markdown = $markdown;
return $this;
}
/**
* Get markdown.
*
* @return bool|null
*/
public function getMarkdown()
{
return $this->markdown;
}
/**
* Set abstract.
*
* @param string|null $abstract
*
* @return Texts
*/
public function setAbstract($abstract = null)
{
$this->abstract = $abstract;
return $this;
}
/**
* Get abstract.
*
* @return string|null
*/
public function getAbstract()
{
return $this->abstract;
}
/**
* Set abstractAuthor.
*
* @param string|null $abstractAuthor
*
* @return Texts
*/
public function setAbstractAuthor($abstractAuthor = null)
{
$this->abstractAuthor = $abstractAuthor;
return $this;
}
/**
* Get abstractAuthor.
*
* @return string|null
*/
public function getAbstractAuthor()
{
return $this->abstractAuthor;
}
/**
* Set abstractDate.
*
* @param \DateTime|null $abstractDate
*
* @return Texts
*/
public function setAbstractDate($abstractDate = null)
{
$this->abstractDate = $abstractDate;
return $this;
}
/**
* Get abstractDate.
*
* @return \DateTime|null
*/
public function getAbstractDate()
{
return $this->abstractDate;
}
/**
* Set abstractUrl.
*
* @param string|null $abstractUrl
*
* @return Texts
*/
public function setAbstractUrl($abstractUrl = null)
{
$this->abstractUrl = $abstractUrl;
return $this;
}
/**
* Get abstractUrl.
*
* @return string|null
*/
public function getAbstractUrl()
{
return $this->abstractUrl;
}
/**
* Set publisherUrlText.
*
* @param string|null $publisherUrlText
*
* @return Texts
*/
public function setPublisherUrlText($publisherUrlText = null)
{
$this->publisherUrlText = $publisherUrlText;
return $this;
}
/**
* Get publisherUrlText.
*
* @return string|null
*/
public function getPublisherUrlText()
{
return $this->publisherUrlText;
}
/**
* Set publicationYear.
*
* @param int|null $publicationYear
*
* @return Texts
*/
public function setPublicationYear($publicationYear = null)
{
$this->publicationYear = $publicationYear;
return $this;
}
/**
* Get publicationYear.
*
* @return int|null
*/
public function getPublicationYear()
{
return $this->publicationYear;
}
/**
* Set publicationMonth.
*
* @param int|null $publicationMonth
*
* @return Texts
*/
public function setPublicationMonth($publicationMonth = null)
{
$this->publicationMonth = $publicationMonth;
return $this;
}
/**
* Get publicationMonth.
*
* @return int|null
*/
public function getPublicationMonth()
{
return $this->publicationMonth;
}
/**
* Set isbn.
*
* @param string|null $isbn
*
* @return Texts
*/
public function setIsbn($isbn = null)
{
$this->isbn = $isbn;
return $this;
}
/**
* Get isbn.
*
* @return string|null
*/
public function getIsbn()
{
return $this->isbn;
}
/**
* Set ean.
*
* @param string|null $ean
*
* @return Texts
*/
public function setEan($ean = null)
{
$this->ean = $ean;
return $this;
}
/**
* Get ean.
*
* @return string|null
*/
public function getEan()
{
return $this->ean;
}
/**
* Set publishinfos.
*
* @param string|null $publishinfos
*
* @return Texts
*/
public function setPublishinfos($publishinfos = null)
{
$this->publishinfos = $publishinfos;
return $this;
}
/**
* Get publishinfos.
*
* @return string|null
*/
public function getPublishinfos()
{
return $this->publishinfos;
}
/**
* Set urltextaccess.
*
* @param string|null $urltextaccess
*
* @return Texts
*/
public function setUrltextaccess($urltextaccess = null)
{
$this->urltextaccess = $urltextaccess;
return $this;
}
/**
* Get urltextaccess.
*
* @return string|null
*/
public function getUrltextaccess()
{
return $this->urltextaccess;
}
/**
* Set emailtextaccess.
*
* @param string|null $emailtextaccess
*
* @return Texts
*/
public function setEmailtextaccess($emailtextaccess = null)
{
$this->emailtextaccess = $emailtextaccess;
return $this;
}
/**
* Get emailtextaccess.
*
* @return string|null
*/
public function getEmailtextaccess()
{
return $this->emailtextaccess;
}
/**
* Set idfiletextaccess.
*
* @param int|null $idfiletextaccess
*
* @return Texts
*/
public function setIdfiletextaccess($idfiletextaccess = null)
{
$this->idfiletextaccess = $idfiletextaccess;
return $this;
}
/**
* Get idfiletextaccess.
*
* @return int|null
*/
public function getIdfiletextaccess()
{
return $this->idfiletextaccess;
}
/**
* Set filetextaccesssave.
*
* @param string|null $filetextaccesssave
*
* @return Texts
*/
public function setFiletextaccesssave($filetextaccesssave = null)
{
$this->filetextaccesssave = $filetextaccesssave;
return $this;
}
/**
* Get filetextaccesssave.
*
* @return string|null
*/
public function getFiletextaccesssave()
{
return $this->filetextaccesssave;
}
/**
* Set textaccessmore.
*
* @param string|null $textaccessmore
*
* @return Texts
*/
public function setTextaccessmore($textaccessmore = null)
{
$this->textaccessmore = $textaccessmore;
return $this;
}
/**
* Get textaccessmore.
*
* @return string|null
*/
public function getTextaccessmore()
{
return $this->textaccessmore;
}
/**
* Set requestTranslationText.
*
* @param string|null $requestTranslationText
*
* @return Texts
*/
public function setRequestTranslationText($requestTranslationText = null)
{
$this->requestTranslationText = $requestTranslationText;
return $this;
}
/**
* Get requestTranslationText.
*
* @return string|null
*/
public function getRequestTranslationText()
{
return $this->requestTranslationText;
}
/**
* Set requestPerformingText.
*
* @param string|null $requestPerformingText
*
* @return Texts
*/
public function setRequestPerformingText($requestPerformingText = null)
{
$this->requestPerformingText = $requestPerformingText;
return $this;
}
/**
* Get requestPerformingText.
*
* @return string|null
*/
public function getRequestPerformingText()
{
return $this->requestPerformingText;
}
/**
* Set helpTranslation.
*
* @param string|null $helpTranslation
*
* @return Texts
*/
public function setHelpTranslation($helpTranslation = null)
{
$this->helpTranslation = $helpTranslation;
return $this;
}
/**
* Get helpTranslation.
*
* @return string|null
*/
public function getHelpTranslation()
{
return $this->helpTranslation;
}
/**
* Set helpPublishing.
*
* @param string|null $helpPublishing
*
* @return Texts
*/
public function setHelpPublishing($helpPublishing = null)
{
$this->helpPublishing = $helpPublishing;
return $this;
}
/**
* Get helpPublishing.
*
* @return string|null
*/
public function getHelpPublishing()
{
return $this->helpPublishing;
}
/**
* Set helpOther.
*
* @param string|null $helpOther
*
* @return Texts
*/
public function setHelpOther($helpOther = null)
{
$this->helpOther = $helpOther;
return $this;
}
/**
* Get helpOther.
*
* @return string|null
*/
public function getHelpOther()
{
return $this->helpOther;
}
/**
* Set moreinfo.
*
* @param string|null $moreinfo
*
* @return Texts
*/
public function setMoreinfo($moreinfo = null)
{
$this->moreinfo = $moreinfo;
return $this;
}
/**
* Get moreinfo.
*
* @return string|null
*/
public function getMoreinfo()
{
return $this->moreinfo;
}
/**
* Set nmale.
*
* @param string|null $nmale
*
* @return Texts
*/
public function setNmale($nmale = null)
{
$this->nmale = $nmale;
return $this;
}
/**
* Get nmale.
*
* @return string|null
*/
public function getNmale()
{
return $this->nmale;
}
/**
* Set nfemale.
*
* @param string|null $nfemale
*
* @return Texts
*/
public function setNfemale($nfemale = null)
{
$this->nfemale = $nfemale;
return $this;
}
/**
* Get nfemale.
*
* @return string|null
*/
public function getNfemale()
{
return $this->nfemale;
}
/**
* Set npeople.
*
* @param string|null $npeople
*
* @return Texts
*/
public function setNpeople($npeople = null)
{
$this->npeople = $npeople;
return $this;
}
/**
* Get npeople.
*
* @return string|null
*/
public function getNpeople()
{
return $this->npeople;
}
/**
* Set textorder.
*
* @param string|null $textorder
*
* @return Texts
*/
public function setTextorder($textorder = null)
{
$this->textorder = $textorder;
return $this;
}
/**
* Get textorder.
*
* @return string|null
*/
public function getTextorder()
{
return $this->textorder;
}
/**
* Set nbpages.
*
* @param int|null $nbpages
*
* @return Texts
*/
public function setNbpages($nbpages = null)
{
$this->nbpages = $nbpages;
return $this;
}
/**
* Get nbpages.
*
* @return int|null
*/
public function getNbpages()
{
return $this->nbpages;
}
/**
* Set price.
*
* @param string|null $price
*
* @return Texts
*/
public function setPrice($price = null)
{
$this->price = $price;
return $this;
}
/**
* Get price.
*
* @return string|null
*/
public function getPrice()
{
return $this->price;
}
/**
* Set selectionAneth.
*
* @param string|null $selectionAneth
*
* @return Texts
*/
public function setSelectionAneth($selectionAneth = null)
{
$this->selectionAneth = $selectionAneth;
return $this;
}
/**
* Get selectionAneth.
*
* @return string|null
*/
public function getSelectionAneth()
{
return $this->selectionAneth;
}
/**
* Set idtextAneth.
*
* @param int|null $idtextAneth
*
* @return Texts
*/
public function setIdtextAneth($idtextAneth = null)
{
$this->idtextAneth = $idtextAneth;
return $this;
}
/**
* Get idtextAneth.
*
* @return int|null
*/
public function getIdtextAneth()
{
return $this->idtextAneth;
}
/**
* Set aideCreation.
*
* @param string|null $aideCreation
*
* @return Texts
*/
public function setAideCreation($aideCreation = null)
{
$this->aideCreation = $aideCreation;
return $this;
}
/**
* Get aideCreation.
*
* @return string|null
*/
public function getAideCreation()
{
return $this->aideCreation;
}
/**
* Set comments.
*
* @param string|null $comments
*
* @return Texts
*/
public function setComments($comments = null)
{
$this->comments = $comments;
return $this;
}
/**
* Get comments.
*
* @return string|null
*/
public function getComments()
{
return $this->comments;
}
/**
* Set urlClean.
*
* @param string|null $urlClean
*
* @return Texts
*/
public function setUrlClean($urlClean = null)
{
$this->urlClean = $urlClean;
return $this;
}
/**
* Get urlClean.
*
* @return string|null
*/
public function getUrlClean()
{
return $this->urlClean;
}
/**
* Set textfictif.
*
* @param bool $textfictif
*
* @return Texts
*/
public function setTextfictif($textfictif)
{
$this->textfictif = $textfictif;
return $this;
}
/**
* Get textfictif.
*
* @return bool
*/
public function getTextfictif()
{
return $this->textfictif;
}
/**
* Set validOpendata.
*
* @param bool|null $validOpendata
*
* @return Texts
*/
public function setValidOpendata($validOpendata = null)
{
$this->validOpendata = $validOpendata;
return $this;
}
/**
* Get validOpendata.
*
* @return bool|null
*/
public function getValidOpendata()
{
return $this->validOpendata;
}
/**
* Set dateupdate.
*
* @param \DateTime|null $dateupdate
*
* @return Texts
*/
public function setDateupdate($dateupdate = null)
{
$this->dateupdate = $dateupdate;
return $this;
}
/**
* Get dateupdate.
*
* @return \DateTime|null
*/
public function getDateupdate()
{
return $this->dateupdate;
}
/**
* Set dateinsert.
*
* @param \DateTime|null $dateinsert
*
* @return Texts
*/
public function setDateinsert($dateinsert = null)
{
$this->dateinsert = $dateinsert;
return $this;
}
/**
* Get dateinsert.
*
* @return \DateTime|null
*/
public function getDateinsert()
{
return $this->dateinsert;
}
/**
* Set publish.
*
* @param bool|null $publish
*
* @return Texts
*/
public function setPublish($publish = null)
{
$this->publish = $publish;
return $this;
}
/**
* Get publish.
*
* @return bool|null
*/
public function getPublish()
{
return $this->publish;
}
/**
* Set statut.
*
* @param bool|null $statut
*
* @return Texts
*/
public function setStatut($statut = null)
{
$this->statut = $statut;
return $this;
}
/**
* Get statut.
*
* @return bool|null
*/
public function getStatut()
{
return $this->statut;
}
/**
* Set valid.
*
* @param bool $valid
*
* @return Texts
*/
public function setValid($valid)
{
$this->valid = $valid;
return $this;
}
/**
* Get valid.
*
* @return bool
*/
public function getValid()
{
return $this->valid;
}
/**
* Set idcontact_publisher.
*
* @param \Contacts|null $idcontact_publisher
*
* @return Texts
*/
public function setIdcontactPublisher(Contacts $idcontact_publisher = null)
{
$this->idcontact_publisher = $idcontact_publisher;
return $this;
}
/**
* Get idcontact_publisher.
*
* @return \Contacts|null
*/
public function getIdcontactPublisher()
{
return $this->idcontact_publisher;
}
/**
* Set idcontact_translation.
*
* @param \Contacts|null $idcontact_translation
*
* @return Texts
*/
public function setIdcontactTranslation(Contacts $idcontact_translation = null)
{
$this->idcontact_translation = $idcontact_translation;
return $this;
}
/**
* Get idcontact_translation.
*
* @return \Contacts|null
*/
public function getIdcontactTranslation()
{
return $this->idcontact_translation;
}
/**
* Set idcontact_performing.
*
* @param \Contacts|null $idcontact_performing
*
* @return Texts
*/
public function setIdcontactPerforming(Contacts $idcontact_performing = null)
{
$this->idcontact_performing = $idcontact_performing;
return $this;
}
/**
* Get idcontact_performing.
*
* @return \Contacts|null
*/
public function getIdcontactPerforming()
{
return $this->idcontact_performing;
}
/**
* Set idgenretext.
*
* @param \Genretexts|null $idgenretext
*
* @return Texts
*/
public function setIdgenretext(Genretexts $idgenretext = null)
{
$this->idgenretext = $idgenretext;
return $this;
}
/**
* Get idgenretext.
*
* @return \Genretexts|null
*/
public function getIdgenretext()
{
return $this->idgenretext;
}
/**
* Set continent.
*
* @param \Continents|null $continent
*
* @return Texts
*/
public function setContinent(Continents $continent = null)
{
$this->continent = $continent;
return $this;
}
/**
* Get continent.
*
* @return \Continents|null
*/
public function getContinent()
{
return $this->continent;
}
/**
* Set country.
*
* @param \Countries|null $country
*
* @return Texts
*/
public function setCountry(Countries $country = null)
{
$this->country = $country;
return $this;
}
/**
* Get country.
*
* @return \Countries|null
*/
public function getCountry()
{
return $this->country;
}
/**
* Set idextranetuser.
*
* @param \Extranetusers|null $idextranetuser
*
* @return Texts
*/
public function setIdextranetuser($idextranetuser = null)
{
$this->idextranetuser = $idextranetuser;
return $this;
}
/**
* Get idextranetuser.
*
* @return \Extranetusers|null
*/
public function getIdextranetuser()
{
return $this->idextranetuser;
}
/**
* Add iddvd.
*
* @param \Dvds $iddvd
*
* @return Texts
*/
public function addIddvd(Dvds $iddvd)
{
$this->iddvd[] = $iddvd;
return $this;
}
/**
* Remove iddvd.
*
* @param \Dvds $iddvd
*
* @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
*/
public function removeIddvd(Dvds $iddvd)
{
return $this->iddvd->removeElement($iddvd);
}
/**
* Get iddvd.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getIddvd()
{
return $this->iddvd;
}
/**
* Add idpodcast.
*
* @param \Podcasts $idpodcast
*
* @return Texts
*/
public function addIdpodcast(Podcasts $idpodcast)
{
$this->idpodcast[] = $idpodcast;
return $this;
}
/**
* Remove idpodcast.
*
* @param \Podcasts $idpodcast
*
* @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
*/
public function removeIdpodcast(Podcasts $idpodcast)
{
return $this->idpodcast->removeElement($idpodcast);
}
/**
* Get idpodcast.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getIdpodcast()
{
return $this->idpodcast;
}
/**
* Add textAdaptationtext.
*
* @param \Texts $textAdaptationtext
*
* @return Texts
*/
public function addTextAdaptationtext(Texts $textAdaptationtext)
{
$this->textAdaptationtext[] = $textAdaptationtext;
return $this;
}
/**
* Remove textAdaptationtext.
*
* @param \Texts $textAdaptationtext
*
* @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
*/
public function removeTextAdaptationtext(Texts $textAdaptationtext)
{
return $this->textAdaptationtext->removeElement($textAdaptationtext);
}
/**
* Get textAdaptationtext.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getTextAdaptationtext()
{
return $this->textAdaptationtext;
}
/**
* Add text_author.
*
* @param \Persons $text_author
*
* @return Texts
*/
public function addTextAuthor(Persons $text_author)
{
$this->text_author[] = $text_author;
return $this;
}
/**
* Remove text_author.
*
* @param \Persons $text_author
*
* @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
*/
public function removeTextAuthor(Persons $text_author)
{
return $this->text_author->removeElement($text_author);
}
/**
* Get text_author.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getTextAuthor()
{
return $this->text_author;
}
/**
* Add idclassification.
*
* @param \Classifications $text_classification
*
* @return Texts
*/
public function addTextClassification(Classifications $text_classification)
{
$this->text_classification[] = $text_classification;
return $this;
}
/**
* Remove idclassification.
*
* @param \Classifications $text_classification
*
* @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
*/
public function removeTextClassification(Classifications $text_classification)
{
return $this->text_classification->removeElement($text_classification);
}
/**
* Get idclassification.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getTextClassification()
{
return $this->text_classification;
}
/**
* Add idspectacle.
*
* @param \Spectacles $idspectacle
*
* @return Texts
*/
public function addIdspectacle(Spectacles $idspectacle)
{
$this->idspectacle[] = $idspectacle;
return $this;
}
/**
* Remove idspectacle.
*
* @param \Spectacles $idspectacle
*
* @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
*/
public function removeIdspectacle(Spectacles $idspectacle)
{
return $this->idspectacle->removeElement($idspectacle);
}
/**
* Get idspectacle.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getIdspectacle()
{
return $this->idspectacle;
}
/**
* Add textTraductiontext.
*
* @param \Texts $textTraductiontext
*
* @return Texts
*/
public function addTextTraductiontext(Texts $textTraductiontext)
{
$this->textTraductiontext[] = $textTraductiontext;
return $this;
}
/**
* Remove textTraductiontext.
*
* @param \Texts $textTraductiontext
*
* @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
*/
public function removeTextTraductiontext(Texts $textTraductiontext)
{
return $this->textTraductiontext->removeElement($textTraductiontext);
}
/**
* Get textTraductiontext.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getTextTraductiontext()
{
return $this->textTraductiontext;
}
/**
* Add textTranslator.
*
* @param \Texts $textTranslator
*
* @return Texts
*/
public function addTextTranslator(Texts $textTranslator)
{
$this->textTranslator[] = $textTranslator;
return $this;
}
/**
* Remove textTranslator.
*
* @param \Texts $textTranslator
*
* @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
*/
public function removeTextTranslator(Texts $textTranslator)
{
return $this->textTranslator->removeElement($textTranslator);
}
/**
* Get textTranslator.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getTextTranslator()
{
return $this->textTranslator;
}
//start
/**
* Add text_person.
*
* @param \Texts $text_person
*
* @return Texts
*/
public function addTextPerson(Texts $text_person)
{
$this->text_person[] = $text_person;
return $this;
}
/**
* Remove text_person.
*
* @param \Texts $text_person
*
* @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
*/
public function removeTextPerson(Texts $text_person)
{
return $this->text_person->removeElement($text_person);
}
/**
* Set text_person.
*
* @param \Persons $text_person
*
* @return Texts
*/
public function setTextPerson($text_person)
{
$this->text_person[] = $text_person;
return $this;
}
/**
* Get text_person.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getTextPerson()
{
return $this->text_person;
}
public function __toString()
{
return $this->title;
}
/**
* Get $this->aides.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getAides()
{
return $this->aides;
}
/**
* Add idnew.
*
* @param \News $idnew
*
* @return Contacts
*/
public function addIdnew(News $idnew)
{
$this->idnew[] = $idnew;
return $this;
}
/**
* Remove idnew.
*
* @param \News $idnew
*
* @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
*/
public function removeIdnew(News $idnew)
{
return $this->idnew->removeElement($idnew);
}
/**
* Get idnew.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getIdnew()
{
return $this->idnew;
}
}