<?php
namespace TheatreCore\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
/**
* Contacts
*
* @ORM\Table(name="contacts", uniqueConstraints={@ORM\UniqueConstraint(name="url_clean", columns={"url_clean"})}, indexes={@ORM\Index(name="publish", columns={"publish"}), @ORM\Index(name="idextranetuser", columns={"idextranetuser"}), @ORM\Index(name="idtypestructure", columns={"idtypestructure"}), @ORM\Index(name="organisation", columns={"organisation"}), @ORM\Index(name="url_redirect", columns={"url_redirect"}), @ORM\Index(name="ga_tracking_id", columns={"ga_tracking_id"}), @ORM\Index(name="city", columns={"city"}), @ORM\Index(name="lastname", columns={"lastname"}), @ORM\Index(name="country", columns={"country"})})
* @ORM\Entity(repositoryClass="TheatreCore\Repository\ContactsRepository")
*/
class Contacts
{
/**
* @var int
*
* @ORM\Column(name="idcontact", type="integer", nullable=false, options={"unsigned"=true})
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $idcontact;
/**
* @var bool|null
*
* @ORM\Column(name="type", type="boolean", nullable=true, options={"default"="1","comment"="0>person, 1>organisation"})
*/
private $type = true;
/**
* @var string|null
*
* @ORM\Column(name="organisation", type="string", length=255, nullable=true)
*
* @Assert\NotBlank(message="Veuillez préciser le nom")
*
*/
private $organisation;
/**
* @var string|null
*
* @ORM\Column(name="nom_suite", type="string", length=255, nullable=true)
*/
private $nomSuite;
/**
* @var string|null
*
* @ORM\Column(name="lastname", type="string", length=255, nullable=true)
*/
private $lastname;
/**
* @var string|null
*
* @ORM\Column(name="firstname", type="string", length=255, nullable=true)
*/
private $firstname;
/**
* @var string|null
*
* @ORM\Column(name="idtypestructure", type="string", length=5, nullable=true)
*/
private $idtypestructure;
/**
* @var string|null
*
* @ORM\Column(name="license", type="string", length=255, nullable=true)
*/
private $license;
/**
* @var string|null
*
* @ORM\Column(name="comment", type="text", length=65535, nullable=true)
*/
private $comment;
/**
* @var string|null
*
* @ORM\Column(name="private_comment", type="text", length=65535, nullable=true)
*/
private $privateComment;
/**
* @var string|null
*
* @ORM\Column(name="address1", type="text", length=255, nullable=true)
*/
private $address1;
/**
* @var string|null
*
* @ORM\Column(name="address2", type="text", length=255, nullable=true)
*/
private $address2;
/**
* @var string|null
*
* @ORM\Column(name="zip", type="string", length=16, nullable=true)
*/
private $zip;
/**
* @var string|null
*
* @ORM\Column(name="city", type="string", length=50, nullable=true)
*/
private $city;
/**
* @var string|null
*
* @ORM\Column(name="phone1", type="text", length=255, nullable=true)
*/
private $phone1;
/**
* @var string|null
*
* @ORM\Column(name="phone2", type="text", length=255, nullable=true)
*/
private $phone2;
/**
* @var string|null
*
* @ORM\Column(name="fax", type="text", length=255, nullable=true)
*/
private $fax;
/**
* @var string|null
*
* @ORM\Column(name="email1", type="text", length=255, nullable=true)
*/
private $email1;
/**
* @var bool
*
* @ORM\Column(name="email1_online", type="boolean", nullable=false)
*/
private $email1Online = false;
/**
* @var bool
*
* @ORM\Column(name="email2_online", type="boolean", nullable=false)
*/
private $email2Online = false;
/**
* @var string|null
*
* @ORM\Column(name="email2", type="text", length=255, nullable=true)
*/
private $email2;
/**
* @var string|null
*
* @ORM\Column(name="url", type="text", length=255, nullable=true)
*/
private $url;
/**
* @var string|null
*
* @ORM\Column(name="url_ticket", type="string", length=255, nullable=true)
*/
private $urlTicket;
/**
* @var string|null
*
* @ORM\Column(name="facebook", type="string", length=250, nullable=true)
*/
private $facebook;
/**
* @var string|null
*
* @ORM\Column(name="twitter", type="string", length=250, nullable=true)
*/
private $twitter;
/**
* @var string|null
*
* @ORM\Column(name="instagram", type="string", length=250, nullable=true)
*/
private $instagram;
/**
* @var string|null
*
* @ORM\Column(name="mobile", type="string", length=31, nullable=true)
*/
private $mobile;
/**
* @var bool|null
*
* @ORM\Column(name="geocodable", type="boolean", nullable=true)
*/
private $geocodable = false;
/**
* @var string|null
*
* @ORM\Column(name="x", type="decimal", precision=10, scale=8, nullable=true, options={"default"="0.00000000"})
*/
private $x = '0.00000000';
/**
* @var string|null
*
* @ORM\Column(name="y", type="decimal", precision=10, scale=8, nullable=true, options={"default"="0.00000000"})
*/
private $y = '0.00000000';
/**
* @var int|null
*
* @ORM\Column(name="idmultimedia", type="integer", nullable=true, options={"unsigned"=true})
*/
private $idmultimedia;
/**
* @var bool|null
*
* @ORM\Column(name="type_view", type="boolean", nullable=true)
*/
private $typeView;
/**
* @var bool|null
*
* @ORM\Column(name="stats_access", type="boolean", nullable=true)
*/
private $statsAccess;
/**
* @var string|null
*
* @ORM\Column(name="ga_tracking_id", type="string", length=250, nullable=true)
*/
private $gaTrackingId;
/**
* @var bool|null
*
* @ORM\Column(name="is_festival", type="boolean", nullable=true)
*/
private $isFestival;
/**
* @var bool|null
*
* @ORM\Column(name="link_on_video", type="boolean", nullable=true)
*/
private $linkOnVideo;
/**
* @var bool|null
*
* @ORM\Column(name="is_partenaire", type="boolean", nullable=true)
*/
private $isPartenaire;
/**
* @var int
*
* @ORM\Column(name="valid_version", type="integer", nullable=false)
*/
private $validVersion = false;
/**
* @var string|null
*
* @ORM\Column(name="other_versions", type="text", length=65535, nullable=true)
*/
private $otherVersions;
/**
* @var string|null
*
* @ORM\Column(name="url_redirect", type="string", length=250, nullable=true)
*/
private $urlRedirect;
/**
* @var string
*
* @ORM\Column(name="url_clean", type="string", length=250, nullable=false)
*/
private $urlClean;
/**
* @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
*
* @ORM\Column(name="publish", type="integer", nullable=false, options={"default"="1"})
*/
private $publish = true;
/**
* @var bool
*
* @ORM\Column(name="valid", type="integer", nullable=false)
*/
private $valid = 0;
/**
* @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="Classifications", inversedBy="idcontact")
* @ORM\JoinTable(name="contact_classification",
* joinColumns={
* @ORM\JoinColumn(name="idcontact", referencedColumnName="idcontact")
* },
* inverseJoinColumns={
* @ORM\JoinColumn(name="idclassification", referencedColumnName="idclassification")
* }
* )
*/
private $idclassification;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\ManyToMany(targetEntity="Extranetusers", inversedBy="idcontact")
* @ORM\JoinTable(name="contact_extranetuser",
* joinColumns={
* @ORM\JoinColumn(name="idcontact", referencedColumnName="idcontact")
* },
* inverseJoinColumns={
* @ORM\JoinColumn(name="contact_idextranetuser", referencedColumnName="idextranetuser")
* }
* )
*/
private $contactextranetuser;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\ManyToMany(targetEntity="Contents", mappedBy="publishercontact")
*/
private $idcontent;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\ManyToMany(targetEntity="News", mappedBy="idcontact")
*/
private $idnew;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\ManyToMany(targetEntity="Persons", mappedBy="idcontact")
*/
private $idperson;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\ManyToMany(targetEntity="Podcasts", mappedBy="idcontact")
*/
private $idpodcast;
/**
* @var \aides
*
* @ORM\OneToMany(targetEntity="ContactAide", mappedBy="idcontact")
*/
private $aides;
/**
* @var \saisons
*
* @ORM\OneToMany(targetEntity="Contactsaisons", mappedBy="idcontact")
*/
private $saisons;
/**
* Constructor
*/
public function __construct()
{
$this->idclassification = new \Doctrine\Common\Collections\ArrayCollection();
$this->contactextranetuser = new \Doctrine\Common\Collections\ArrayCollection();
$this->idcontent = new \Doctrine\Common\Collections\ArrayCollection();
$this->idnew = new \Doctrine\Common\Collections\ArrayCollection();
$this->idperson = new \Doctrine\Common\Collections\ArrayCollection();
$this->idpodcast = new \Doctrine\Common\Collections\ArrayCollection();
$this->aides = new \Doctrine\Common\Collections\ArrayCollection();
$this->saisons = new \Doctrine\Common\Collections\ArrayCollection();
}
/**
* Get idcontact.
*
* @return int
*/
public function getIdcontact()
{
return $this->idcontact;
}
/**
* Set type.
*
* @param bool|null $type
*
* @return Contacts
*/
public function setType($type = null)
{
$this->type = $type;
return $this;
}
/**
* Get type.
*
* @return bool|null
*/
public function getType()
{
return $this->type;
}
/**
* Set organisation.
*
* @param string|null $organisation
*
* @return Contacts
*/
public function setOrganisation($organisation = null)
{
$this->organisation = $organisation;
return $this;
}
/**
* Get organisation.
*
* @return string|null
*/
public function getOrganisation()
{
return $this->organisation;
}
/**
* Set nomSuite.
*
* @param string|null $nomSuite
*
* @return Contacts
*/
public function setNomSuite($nomSuite = null)
{
$this->nomSuite = $nomSuite;
return $this;
}
/**
* Get nomSuite.
*
* @return string|null
*/
public function getNomSuite()
{
return $this->nomSuite;
}
/**
* Set lastname.
*
* @param string|null $lastname
*
* @return Contacts
*/
public function setLastname($lastname = null)
{
$this->lastname = $lastname;
return $this;
}
/**
* Get lastname.
*
* @return string|null
*/
public function getLastname()
{
return $this->lastname;
}
/**
* Set firstname.
*
* @param string|null $firstname
*
* @return Contacts
*/
public function setFirstname($firstname = null)
{
$this->firstname = $firstname;
return $this;
}
/**
* Get firstname.
*
* @return string|null
*/
public function getFirstname()
{
return $this->firstname;
}
/**
* Set idtypestructure.
*
* @param string|null $idtypestructure
*
* @return Contacts
*/
public function setIdtypestructure($idtypestructure = null)
{
$this->idtypestructure = $idtypestructure;
return $this;
}
/**
* Get idtypestructure.
*
* @return string|null
*/
public function getIdtypestructure()
{
return $this->idtypestructure;
}
/**
* Set license.
*
* @param string|null $license
*
* @return Contacts
*/
public function setLicense($license = null)
{
$this->license = $license;
return $this;
}
/**
* Get license.
*
* @return string|null
*/
public function getLicense()
{
return $this->license;
}
/**
* Set comment.
*
* @param string|null $comment
*
* @return Contacts
*/
public function setComment($comment = null)
{
$this->comment = $comment;
return $this;
}
/**
* Get comment.
*
* @return string|null
*/
public function getComment()
{
return $this->comment;
}
/**
* Set privateComment.
*
* @param string|null $privateComment
*
* @return Contacts
*/
public function setPrivateComment($privateComment = null)
{
$this->privateComment = $privateComment;
return $this;
}
/**
* Get privateComment.
*
* @return string|null
*/
public function getPrivateComment()
{
return $this->privateComment;
}
/**
* Set address1.
*
* @param string|null $address1
*
* @return Contacts
*/
public function setAddress1($address1 = null)
{
$this->address1 = $address1;
return $this;
}
/**
* Get address1.
*
* @return string|null
*/
public function getAddress1()
{
return $this->address1;
}
/**
* Set address2.
*
* @param string|null $address2
*
* @return Contacts
*/
public function setAddress2($address2 = null)
{
$this->address2 = $address2;
return $this;
}
/**
* Get address2.
*
* @return string|null
*/
public function getAddress2()
{
return $this->address2;
}
/**
* Set zip.
*
* @param string|null $zip
*
* @return Contacts
*/
public function setZip($zip = null)
{
$this->zip = $zip;
return $this;
}
/**
* Get zip.
*
* @return string|null
*/
public function getZip()
{
return $this->zip;
}
/**
* Set city.
*
* @param string|null $city
*
* @return Contacts
*/
public function setCity($city = null)
{
$this->city = $city;
return $this;
}
/**
* Get city.
*
* @return string|null
*/
public function getCity()
{
return $this->city;
}
/**
* Set phone1.
*
* @param string|null $phone1
*
* @return Contacts
*/
public function setPhone1($phone1 = null)
{
$this->phone1 = $phone1;
return $this;
}
/**
* Get phone1.
*
* @return string|null
*/
public function getPhone1()
{
return $this->phone1;
}
/**
* Set phone2.
*
* @param string|null $phone2
*
* @return Contacts
*/
public function setPhone2($phone2 = null)
{
$this->phone2 = $phone2;
return $this;
}
/**
* Get phone2.
*
* @return string|null
*/
public function getPhone2()
{
return $this->phone2;
}
/**
* Set fax.
*
* @param string|null $fax
*
* @return Contacts
*/
public function setFax($fax = null)
{
$this->fax = $fax;
return $this;
}
/**
* Get fax.
*
* @return string|null
*/
public function getFax()
{
return $this->fax;
}
/**
* Set email1.
*
* @param string|null $email1
*
* @return Contacts
*/
public function setEmail1($email1 = null)
{
$this->email1 = $email1;
return $this;
}
/**
* Get email1.
*
* @return string|null
*/
public function getEmail1()
{
return $this->email1;
}
/**
* Set email1Online.
*
* @param bool $email1Online
*
* @return Contacts
*/
public function setEmail1Online($email1Online)
{
$this->email1Online = $email1Online;
return $this;
}
/**
* Get email1Online.
*
* @return bool
*/
public function getEmail1Online()
{
return $this->email1Online;
}
/**
* Set email2Online.
*
* @param bool $email2Online
*
* @return Contacts
*/
public function setEmail2Online($email2Online)
{
$this->email2Online = $email2Online;
return $this;
}
/**
* Get email2Online.
*
* @return bool
*/
public function getEmail2Online()
{
return $this->email2Online;
}
/**
* Set email2.
*
* @param string|null $email2
*
* @return Contacts
*/
public function setEmail2($email2 = null)
{
$this->email2 = $email2;
return $this;
}
/**
* Get email2.
*
* @return string|null
*/
public function getEmail2()
{
return $this->email2;
}
/**
* Set url.
*
* @param string|null $url
*
* @return Contacts
*/
public function setUrl($url = null)
{
$this->url = $url;
return $this;
}
/**
* Get url.
*
* @return string|null
*/
public function getUrl()
{
return $this->url;
}
/**
* Set urlTicket.
*
* @param string|null $urlTicket
*
* @return Contacts
*/
public function setUrlTicket($urlTicket = null)
{
$this->urlTicket = $urlTicket;
return $this;
}
/**
* Get urlTicket.
*
* @return string|null
*/
public function getUrlTicket()
{
return $this->urlTicket;
}
/**
* Set facebook.
*
* @param string|null $facebook
*
* @return Contacts
*/
public function setFacebook($facebook = null)
{
$this->facebook = $facebook;
return $this;
}
/**
* Get facebook.
*
* @return string|null
*/
public function getFacebook()
{
return $this->facebook;
}
/**
* Set twitter.
*
* @param string|null $twitter
*
* @return Contacts
*/
public function setTwitter($twitter = null)
{
$this->twitter = $twitter;
return $this;
}
/**
* Get twitter.
*
* @return string|null
*/
public function getTwitter()
{
return $this->twitter;
}
/**
* Set instagram.
*
* @param string|null $instagram
*
* @return Contacts
*/
public function setInstagram($instagram = null)
{
$this->instagram = $instagram;
return $this;
}
/**
* Get instagram.
*
* @return string|null
*/
public function getInstagram()
{
return $this->instagram;
}
/**
* Set mobile.
*
* @param string|null $mobile
*
* @return Contacts
*/
public function setMobile($mobile = null)
{
$this->mobile = $mobile;
return $this;
}
/**
* Get mobile.
*
* @return string|null
*/
public function getMobile()
{
return $this->mobile;
}
/**
* Set geocodable.
*
* @param bool|null $geocodable
*
* @return Contacts
*/
public function setGeocodable($geocodable = null)
{
$this->geocodable = $geocodable;
return $this;
}
/**
* Get geocodable.
*
* @return bool|null
*/
public function getGeocodable()
{
return $this->geocodable;
}
/**
* Set x.
*
* @param string|null $x
*
* @return Contacts
*/
public function setX($x = null)
{
$this->x = $x;
return $this;
}
/**
* Get x.
*
* @return string|null
*/
public function getX()
{
return $this->x;
}
/**
* Set y.
*
* @param string|null $y
*
* @return Contacts
*/
public function setY($y = null)
{
$this->y = $y;
return $this;
}
/**
* Get y.
*
* @return string|null
*/
public function getY()
{
return $this->y;
}
/**
* Set idmultimedia.
*
* @param int|null $idmultimedia
*
* @return Contacts
*/
public function setIdmultimedia($idmultimedia = null)
{
$this->idmultimedia = $idmultimedia;
return $this;
}
/**
* Get idmultimedia.
*
* @return int|null
*/
public function getIdmultimedia()
{
return $this->idmultimedia;
}
/**
* Set typeView.
*
* @param bool|null $typeView
*
* @return Contacts
*/
public function setTypeView($typeView = null)
{
$this->typeView = $typeView;
return $this;
}
/**
* Get typeView.
*
* @return bool|null
*/
public function getTypeView()
{
return $this->typeView;
}
/**
* Set statsAccess.
*
* @param bool|null $statsAccess
*
* @return Contacts
*/
public function setStatsAccess($statsAccess = null)
{
$this->statsAccess = $statsAccess;
return $this;
}
/**
* Get statsAccess.
*
* @return bool|null
*/
public function getStatsAccess()
{
return $this->statsAccess;
}
/**
* Set gaTrackingId.
*
* @param string|null $gaTrackingId
*
* @return Contacts
*/
public function setGaTrackingId($gaTrackingId = null)
{
$this->gaTrackingId = $gaTrackingId;
return $this;
}
/**
* Get gaTrackingId.
*
* @return string|null
*/
public function getGaTrackingId()
{
return $this->gaTrackingId;
}
/**
* Set isFestival.
*
* @param bool|null $isFestival
*
* @return Contacts
*/
public function setIsFestival($isFestival = null)
{
$this->isFestival = $isFestival;
return $this;
}
/**
* Get isFestival.
*
* @return bool|null
*/
public function getIsFestival()
{
return $this->isFestival;
}
/**
* Set linkOnVideo.
*
* @param bool|null $linkOnVideo
*
* @return Contacts
*/
public function setLinkOnVideo($linkOnVideo = null)
{
$this->linkOnVideo = $linkOnVideo;
return $this;
}
/**
* Get linkOnVideo.
*
* @return bool|null
*/
public function getLinkOnVideo()
{
return $this->linkOnVideo;
}
/**
* Set isPartenaire.
*
* @param bool|null $isPartenaire
*
* @return Contacts
*/
public function setIsPartenaire($isPartenaire = null)
{
$this->isPartenaire = $isPartenaire;
return $this;
}
/**
* Get isPartenaire.
*
* @return bool|null
*/
public function getIsPartenaire()
{
return $this->isPartenaire;
}
/**
* Set validVersion.
*
* @param bool $validVersion
*
* @return Contacts
*/
public function setValidVersion($validVersion)
{
$this->validVersion = $validVersion;
return $this;
}
/**
* Get validVersion.
*
* @return bool
*/
public function getValidVersion()
{
return $this->validVersion;
}
/**
* Set otherVersions.
*
* @param string|null $otherVersions
*
* @return Contacts
*/
public function setOtherVersions($otherVersions = null)
{
$this->otherVersions = $otherVersions;
return $this;
}
/**
* Get otherVersions.
*
* @return string|null
*/
public function getOtherVersions()
{
return $this->otherVersions;
}
/**
* Set urlRedirect.
*
* @param string|null $urlRedirect
*
* @return Contacts
*/
public function setUrlRedirect($urlRedirect = null)
{
$this->urlRedirect = $urlRedirect;
return $this;
}
/**
* Get urlRedirect.
*
* @return string|null
*/
public function getUrlRedirect()
{
return $this->urlRedirect;
}
/**
* Set urlClean.
*
* @param string $urlClean
*
* @return Contacts
*/
public function setUrlClean($urlClean)
{
$this->urlClean = $urlClean;
return $this;
}
/**
* Get urlClean.
*
* @return string
*/
public function getUrlClean()
{
return $this->urlClean;
}
/**
* Set dateupdate.
*
* @param \DateTime|null $dateupdate
*
* @return Contacts
*/
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 Contacts
*/
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 $publish
*
* @return Contacts
*/
public function setPublish($publish)
{
$this->publish = $publish;
return $this;
}
/**
* Get publish.
*
* @return bool
*/
public function getPublish()
{
return $this->publish;
}
/**
* Set valid.
*
* @param bool $valid
*
* @return Contacts
*/
public function setValid($valid)
{
$this->valid = $valid;
return $this;
}
/**
* Get valid.
*
* @return bool
*/
public function getValid()
{
return $this->valid;
}
/**
* Set country.
*
* @param \Countries|null $country
*
* @return Contacts
*/
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 Contacts
*/
public function setIdextranetuser(Extranetusers $idextranetuser = null)
{
$this->idextranetuser = $idextranetuser;
return $this;
}
/**
* Get idextranetuser.
*
* @return \Extranetusers|null
*/
public function getIdextranetuser()
{
return $this->idextranetuser;
}
/**
* Add idclassification.
*
* @param \Classifications $idclassification
*
* @return Contacts
*/
public function addIdclassification(Classifications $idclassification)
{
$this->idclassification[] = $idclassification;
return $this;
}
/**
* Remove idclassification.
*
* @param \Classifications $idclassification
*
* @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
*/
public function removeIdclassification(Classifications $idclassification)
{
return $this->idclassification->removeElement($idclassification);
}
/**
* Get idclassification.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getIdclassification()
{
return $this->idclassification;
}
/**
* Add contactextranetuser.
*
* @param \Extranetusers $contactextranetuser
*
* @return Contacts
*/
public function addContactextranetuser(Extranetusers $contactextranetuser)
{
$this->contactextranetuser[] = $contactextranetuser;
return $this;
}
/**
* Remove contactextranetuser.
*
* @param \Extranetusers $contactextranetuser
*
* @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
*/
public function removeContactextranetuser(Extranetusers $contactextranetuser)
{
return $this->contactextranetuser->removeElement($contactextranetuser);
}
/**
* Get contactextranetuser.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getContactextranetuser()
{
return $this->contactextranetuser;
}
/**
* Add idcontent.
*
* @param \Contents $idcontent
*
* @return Contacts
*/
public function addIdcontent(Contents $idcontent)
{
$this->idcontent[] = $idcontent;
return $this;
}
/**
* Remove idcontent.
*
* @param \Contents $idcontent
*
* @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
*/
public function removeIdcontent(Contents $idcontent)
{
return $this->idcontent->removeElement($idcontent);
}
/**
* Get idcontent.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getIdcontent()
{
return $this->idcontent;
}
/**
* 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;
}
/**
* Add idperson.
*
* @param \Persons $idperson
*
* @return Contacts
*/
public function addIdperson(Persons $idperson)
{
$this->idperson[] = $idperson;
return $this;
}
/**
* Remove idperson.
*
* @param \Persons $idperson
*
* @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
*/
public function removeIdperson(Persons $idperson)
{
return $this->idperson->removeElement($idperson);
}
/**
* Get idperson.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getIdperson()
{
return $this->idperson;
}
/**
* Add idpodcast.
*
* @param \Podcasts $idpodcast
*
* @return Contacts
*/
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 $this->aides.
*
* @param \ContactAide $idmultimedia
*
* @return Contacts
*/
public function addAides(Aides $aides)
{
$this->$this->aides[] = $aides;
return $this;
}
/**
* Remove $this->aides.
*
* @param \ContactAide $aides
*
* @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
*/
public function removeAides(Aides $aides)
{
return $this->aides->removeElement($aides);
}
/**
* Get $this->aides.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getAides()
{
return $this->aides;
}
/**
* Add $this->saisons.
*
* @param \ContactAide $idmultimedia
*
* @return Contacts
*/
public function addSaisons(Contactsaisons $saisons)
{
$this->$this->saisons[] = $saisons;
return $this;
}
/**
* Remove $this->saisons.
*
* @param \ContactAide $saisons
*
* @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
*/
public function removeSaisons(Contactsaisons $saisons)
{
return $this->saisons->removeElement($saisons);
}
/**
* Get $this->saisons.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getSaisons()
{
return $this->saisons;
}
public function __toString() {
return (string)$this->getOrganisation();
}
}