src/Entity/PageAccueil.php line 18

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PageAccueilRepository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\DBAL\Types\Types;
  7. use Doctrine\ORM\Mapping as ORM;
  8. use Stringable;
  9. use Symfony\Component\HttpFoundation\File\File;
  10. use Vich\UploaderBundle\Mapping\Annotation as Vich;
  11. /**
  12.  * @Vich\Uploadable
  13.  */
  14. #[ORM\Entity(repositoryClassPageAccueilRepository::class)]
  15. class PageAccueil implements Stringable
  16. {
  17.     #[ORM\Id]
  18.     #[ORM\GeneratedValue]
  19.     #[ORM\Column(type'integer')]
  20.     private int $id;
  21.     /**
  22.      * @Vich\UploadableField(mapping="images", fileNameProperty="image_name")
  23.      */
  24.     private ?File $image null;
  25.     #[ORM\Column(type'string'length255nullabletrue)]
  26.     private ?string $image_namenull;
  27.     #[ORM\Column(type'boolean'nullabletrue)]
  28.     private ?bool $image_active;
  29.     #[ORM\Column(type'string'length255nullabletrue)]
  30.     private ?string $image_enavant_namenull;
  31.     /**
  32.      * @Vich\UploadableField(mapping="images", fileNameProperty="image_enavant_name")
  33.      */
  34.     private ?File $image_enavant null;
  35.     #[ORM\ManyToOne(targetEntityPlacementImage::class, inversedBy'pageAccueils')]
  36.     private mixed $image_enavant_placement;
  37.     #[ORM\ManyToOne(targetEntityEpingle::class, inversedBy'pageAccueils')]
  38.     private mixed $epingle;
  39.     #[ORM\Column(type'string'length255nullabletrue)]
  40.     private ?string $enavant_libellenull;
  41.     #[ORM\Column(type'string'length255nullabletrue)]
  42.     private ?string $enavant_libelle_placementnull;
  43.     #[ORM\Column(type'string'length255nullabletrue)]
  44.     private ?string $enavant_urlnull;
  45.     #[ORM\ManyToMany(targetEntityCitation::class, inversedBy'pageAccueils')]
  46.     private mixed $citations;
  47.     #[ORM\Column(type'string'length255nullabletrue)]
  48.     private ?string $politique_couleur_fondnull;
  49.     #[ORM\Column(type'string'length255nullabletrue)]
  50.     private ?string $politique_couleur_titrenull;
  51.     #[ORM\Column(type'string'length255nullabletrue)]
  52.     private ?string $politique_couleur_textenull;
  53.     #[ORM\Column(type'string'length255nullabletrue)]
  54.     private ?string $institution_couleur_fondnull;
  55.     #[ORM\Column(type'string'length255nullabletrue)]
  56.     private ?string $institution_couleur_titrenull;
  57.     #[ORM\Column(type'string'length255nullabletrue)]
  58.     private ?string $institution_couleur_texte;
  59.     #[ORM\Column(type'text'nullabletrue)]
  60.     private ?string $content_htmlnull;
  61.     #[ORM\Column(type'boolean'nullabletrue)]
  62.     private ?bool $content_active;
  63.     #[ORM\ManyToOne(targetEntityRssArticle::class, inversedBy'pageAccueils')]
  64.     private mixed $nordinfo_rss;
  65.     #[ORM\Column(type'string'length255nullabletrue)]
  66.     private ?string $testimonial_libellenull;
  67.     #[ORM\Column(type'text'nullabletrue)]
  68.     private ?string $testimonial_citationnull;
  69.     #[ORM\Column(type'string'length255nullabletrue)]
  70.     private ?string $testimonial_image_namenull;
  71.     /**
  72.      * @Vich\UploadableField(mapping="images", fileNameProperty="testimonial_image_name")
  73.      */
  74.     private ?File $testimonial_image null;
  75.     #[ORM\Column(type'string'length255nullabletrue)]
  76.     private ?string $magazine_image__namenull;
  77.     /**
  78.      * @Vich\UploadableField(mapping="images", fileNameProperty="magazine_image__name")
  79.      */
  80.     private ?File $magazine_image null;
  81.     #[ORM\Column(type'string'length255nullabletrue)]
  82.     private ?string $magazine_vignette_namenull;
  83.     /**
  84.      * @Vich\UploadableField(mapping="images", fileNameProperty="magazine_vignette_name")
  85.      */
  86.     private ?File $magazine_vignette null;
  87.     #[ORM\Column(type'string'length255nullabletrue)]
  88.     private ?string $magazine_titrenull;
  89.     #[ORM\Column(type'text'nullabletrue)]
  90.     private ?string $magazine_chaponull;
  91.     #[ORM\Column(type'string'length255nullabletrue)]
  92.     private ?string $magazine_urlnull;
  93.     #[ORM\Column(type'boolean'nullabletrue)]
  94.     private ?bool $contacter_president;
  95.     #[ORM\Column(type'string'length255nullabletrue)]
  96.     private ?string $president_image_namenull;
  97.     /**
  98.      * @Vich\UploadableField(mapping="images", fileNameProperty="president_image_name")
  99.      */
  100.     private ?File $president_image null;
  101.     #[ORM\Column(type'datetime'nullabletrue)]
  102.     private mixed $date_update;
  103.     #[ORM\Column(type'integer'nullabletrue)]
  104.     private ?int $ordre_image;
  105.     #[ORM\Column(type'integer'nullabletrue)]
  106.     private ?int $ordre_actu;
  107.     #[ORM\Column(type'integer'nullabletrue)]
  108.     private ?int $ordre_citation;
  109.     #[ORM\Column(type'integer'nullabletrue)]
  110.     private ?int $ordre_politique;
  111.     #[ORM\Column(type'integer'nullabletrue)]
  112.     private ?int $ordre_institution;
  113.     #[ORM\Column(type'integer'nullabletrue)]
  114.     private ?int $ordre_editable;
  115.     #[ORM\Column(type'integer'nullabletrue)]
  116.     private ?int $ordre_nordinfo;
  117.     #[ORM\Column(type'integer'nullabletrue)]
  118.     private ?int $ordre_testimonial;
  119.     #[ORM\Column(type'integer'nullabletrue)]
  120.     private ?int $ordre_magazine;
  121.     #[ORM\Column(type'text'nullabletrue)]
  122.     private ?string $content_html2null;
  123.     #[ORM\Column(type'boolean'nullabletrue)]
  124.     private ?bool $content_active2;
  125.     #[ORM\Column(type'text'nullabletrue)]
  126.     private ?string $content_html3null;
  127.     #[ORM\Column(type'boolean'nullabletrue)]
  128.     private ?bool $content_active3;
  129.     #[ORM\Column(type'text'nullabletrue)]
  130.     private ?string $content_html4null;
  131.     #[ORM\Column(type'boolean'nullabletrue)]
  132.     private ?bool $content_active4;
  133.     #[ORM\Column(type'integer'nullabletrue)]
  134.     private ?int $ordre_editable2;
  135.     #[ORM\Column(type'integer'nullabletrue)]
  136.     private ?int $ordre_editable3;
  137.     #[ORM\Column(type'integer'nullabletrue)]
  138.     private ?int $ordre_editable4;
  139.     #[ORM\Column(type'text'nullabletrue)]
  140.     private ?string $enavant_contentnull;
  141.     #[ORM\Column(type'string'length255nullabletrue)]
  142.     private ?string $enavant_url_libellenull;
  143.     #[ORM\Column(type'integer'nullabletrue)]
  144.     private ?int $ordre_president;
  145.     #[ORM\Column(type'boolean'nullabletrue)]
  146.     private ?bool $magazine_active;
  147.     #[ORM\Column(type'boolean'nullabletrue)]
  148.     private ?bool $actu_active;
  149.     #[ORM\Column(type'boolean'nullabletrue)]
  150.     private ?bool $active_citation;
  151.     #[ORM\Column(type'boolean'nullabletrue)]
  152.     private ?bool $politique_active;
  153.     #[ORM\Column(type'boolean'nullabletrue)]
  154.     private ?bool $institution_active;
  155.     #[ORM\Column(type'boolean'nullabletrue)]
  156.     private ?bool $nordinfo_active;
  157.     #[ORM\Column(type'boolean'nullabletrue)]
  158.     private ?bool $testimonial_active;
  159.     #[ORM\Column(type'boolean'nullabletrue)]
  160.     private ?bool $services_active;
  161.     #[ORM\Column(type'integer'nullabletrue)]
  162.     private ?int $ordre_services;
  163.     #[ORM\Column(type'boolean'nullabletrue)]
  164.     private ?bool $nordevasion_active;
  165.     #[ORM\Column(type'integer'nullabletrue)]
  166.     private ?int $ordre_nordevasion;
  167.     #[ORM\Column(type'string'length255nullabletrue)]
  168.     private ?string $nordevasion_image1null;
  169.     /**
  170.      * @Vich\UploadableField(mapping="images", fileNameProperty="nordevasion_image1")
  171.      */
  172.     private ?File $nordevasion_file1 null;
  173.     #[ORM\Column(type'string'length255nullabletrue)]
  174.     private ?string $nordevasion_image2null;
  175.     /**
  176.      * @Vich\UploadableField(mapping="images", fileNameProperty="nordevasion_image2")
  177.      */
  178.     private ?File $nordevasion_file2 null;
  179.     #[ORM\Column(type'string'length255nullabletrue)]
  180.     private ?string $nordevasion_image3null;
  181.     /**
  182.      * @Vich\UploadableField(mapping="images", fileNameProperty="nordevasion_image3")
  183.      */
  184.     private ?File $nordevasion_file3 null;
  185.     #[ORM\Column(type'string'length255nullabletrue)]
  186.     private ?string $nordevasion_libelle1null;
  187.     #[ORM\Column(type'string'length255nullabletrue)]
  188.     private ?string $nordevasion_libelle2null;
  189.     #[ORM\Column(type'string'length255nullabletrue)]
  190.     private ?string $nordevasion_libelle3null;
  191.     #[ORM\Column(type'string'length255nullabletrue)]
  192.     private ?string $nordevasion_url1null;
  193.     #[ORM\Column(type'string'length255nullabletrue)]
  194.     private ?string $nordevasion_url2null;
  195.     #[ORM\Column(type'string'length255nullabletrue)]
  196.     private ?string $nordevasion_url3null;
  197.     #[ORM\Column(type'integer'nullabletrue)]
  198.     private ?int $cartographie_ordre;
  199.     #[ORM\Column(type'boolean'nullabletrue)]
  200.     private ?bool $cartographie_active;
  201.     #[ORM\ManyToMany(targetEntityImages::class, inversedBy'pageAccueils')]
  202.     private mixed $images;
  203.     #[ORM\Column(length255nullabletrue)]
  204.     private ?string $banner_image_subtitle null;
  205.     public function __toString(): string
  206.     {
  207.         return "Page accueil";
  208.     }
  209.     public function setNordevasionFile3(File $file null): void
  210.     {
  211.         $this->nordevasion_file3 $file;
  212.         if ($file) {
  213.             $this->date_update = new \DateTime;
  214.         }
  215.     }
  216.     public function getNordevasionFile3(): mixed
  217.     {
  218.         return $this->nordevasion_file3;
  219.     }
  220.     public function setNordevasionFile2(File $file null): void
  221.     {
  222.         $this->nordevasion_file2 $file;
  223.         if ($file) {
  224.             $this->date_update = new \DateTime;
  225.         }
  226.     }
  227.     public function getNordevasionFile2(): mixed
  228.     {
  229.         return $this->nordevasion_file2;
  230.     }
  231.     public function setNordevasionFile1(File $file null): void
  232.     {
  233.         $this->nordevasion_file1 $file;
  234.         if ($file) {
  235.             $this->date_update = new \DateTime;
  236.         }
  237.     }
  238.     public function getNordevasionFile1(): mixed
  239.     {
  240.         return $this->nordevasion_file1;
  241.     }
  242.     public function setMagazineVignette(File $file null): void
  243.     {
  244.         $this->magazine_vignette $file;
  245.         if ($file) {
  246.             $this->date_update = new \DateTime;
  247.         }
  248.     }
  249.     public function getMagazineVignette(): mixed
  250.     {
  251.         return $this->magazine_vignette;
  252.     }
  253.     public function setMagazineImage(File $file null): void
  254.     {
  255.         $this->magazine_image $file;
  256.         if ($file) {
  257.             $this->date_update = new \DateTime;
  258.         }
  259.     }
  260.     public function getMagazineImage(): mixed
  261.     {
  262.         return $this->magazine_image;
  263.     }
  264.     public function setTestimonialImage(File $file null): void
  265.     {
  266.         $this->testimonial_image $file;
  267.         if ($file) {
  268.             $this->date_update = new \DateTime;
  269.         }
  270.     }
  271.     public function getTestimonialImage(): mixed
  272.     {
  273.         return $this->testimonial_image;
  274.     }
  275.     public function setImageEnavant(File $file null): void
  276.     {
  277.         $this->image_enavant $file;
  278.         if ($file) {
  279.             $this->date_update = new \DateTime;
  280.         }
  281.     }
  282.     public function getImageEnavant(): mixed
  283.     {
  284.         return $this->image_enavant;
  285.     }
  286.     public function __construct()
  287.     {
  288.         $this->citations = new ArrayCollection();
  289.         $this->images = new ArrayCollection();
  290.     }
  291.     public function getId(): ?int
  292.     {
  293.         return $this->id;
  294.     }
  295.     public function getImageActive(): ?bool
  296.     {
  297.         return $this->image_active;
  298.     }
  299.     public function setImageActive(?bool $image_active): self
  300.     {
  301.         $this->image_active $image_active;
  302.         return $this;
  303.     }
  304.     public function getImageEnavantName(): ?string
  305.     {
  306.         return $this->image_enavant_name;
  307.     }
  308.     public function setImageEnavantName(?string $image_enavant_name): self
  309.     {
  310.         $this->image_enavant_name $image_enavant_name;
  311.         return $this;
  312.     }
  313.     public function getImageEnavantPlacement(): ?PlacementImage
  314.     {
  315.         return $this->image_enavant_placement;
  316.     }
  317.     public function setImageEnavantPlacement(?PlacementImage $image_enavant_placement): self
  318.     {
  319.         $this->image_enavant_placement $image_enavant_placement;
  320.         return $this;
  321.     }
  322.     public function getEnavantLibelle(): ?string
  323.     {
  324.         return $this->enavant_libelle;
  325.     }
  326.     public function setEnavantLibelle(?string $enavant_libelle): self
  327.     {
  328.         $this->enavant_libelle $enavant_libelle;
  329.         return $this;
  330.     }
  331.     public function getEnavantLibellePlacement(): ?string
  332.     {
  333.         return $this->enavant_libelle_placement;
  334.     }
  335.     public function setEnavantLibellePlacement(?string $enavant_libelle_placement): self
  336.     {
  337.         $this->enavant_libelle_placement $enavant_libelle_placement;
  338.         return $this;
  339.     }
  340.     public function getEnavantUrl(): ?string
  341.     {
  342.         return $this->enavant_url;
  343.     }
  344.     public function setEnavantUrl(?string $enavant_url): self
  345.     {
  346.         $this->enavant_url $enavant_url;
  347.         return $this;
  348.     }
  349.     /**
  350.      * @return Collection|Citation[]
  351.      */
  352.     public function getCitations(): Collection
  353.     {
  354.         return $this->citations;
  355.     }
  356.     public function addCitation(Citation $citation): self
  357.     {
  358.         if (!$this->citations->contains($citation)) {
  359.             $this->citations[] = $citation;
  360.         }
  361.         return $this;
  362.     }
  363.     public function removeCitation(Citation $citation): self
  364.     {
  365.         $this->citations->removeElement($citation);
  366.         return $this;
  367.     }
  368.     public function getPolitiqueCouleurFond(): ?string
  369.     {
  370.         return $this->politique_couleur_fond;
  371.     }
  372.     public function setPolitiqueCouleurFond(?string $politique_couleur_fond): self
  373.     {
  374.         $this->politique_couleur_fond $politique_couleur_fond;
  375.         return $this;
  376.     }
  377.     public function getPolitiqueCouleurTitre(): ?string
  378.     {
  379.         return $this->politique_couleur_titre;
  380.     }
  381.     public function setPolitiqueCouleurTitre(?string $politique_couleur_titre): self
  382.     {
  383.         $this->politique_couleur_titre $politique_couleur_titre;
  384.         return $this;
  385.     }
  386.     public function getPolitiqueCouleurTexte(): ?string
  387.     {
  388.         return $this->politique_couleur_texte;
  389.     }
  390.     public function setPolitiqueCouleurTexte(?string $politique_couleur_texte): self
  391.     {
  392.         $this->politique_couleur_texte $politique_couleur_texte;
  393.         return $this;
  394.     }
  395.     public function getInstitutionCouleurFond(): ?string
  396.     {
  397.         return $this->institution_couleur_fond;
  398.     }
  399.     public function setInstitutionCouleurFond(?string $institution_couleur_fond): self
  400.     {
  401.         $this->institution_couleur_fond $institution_couleur_fond;
  402.         return $this;
  403.     }
  404.     public function getInstitutionCouleurTitre(): ?string
  405.     {
  406.         return $this->institution_couleur_titre;
  407.     }
  408.     public function setInstitutionCouleurTitre(?string $institution_couleur_titre): self
  409.     {
  410.         $this->institution_couleur_titre $institution_couleur_titre;
  411.         return $this;
  412.     }
  413.     public function getInstitutionCouleurTexte(): ?string
  414.     {
  415.         return $this->institution_couleur_texte;
  416.     }
  417.     public function setInstitutionCouleurTexte(?string $institution_couleur_texte): self
  418.     {
  419.         $this->institution_couleur_texte $institution_couleur_texte;
  420.         return $this;
  421.     }
  422.     public function getContentHtml(): ?string
  423.     {
  424.         return $this->content_html;
  425.     }
  426.     public function setContentHtml(?string $content_html): self
  427.     {
  428.         $this->content_html $content_html;
  429.         return $this;
  430.     }
  431.     public function getContentActive(): ?bool
  432.     {
  433.         return $this->content_active;
  434.     }
  435.     public function setContentActive(?bool $content_active): self
  436.     {
  437.         $this->content_active $content_active;
  438.         return $this;
  439.     }
  440.     public function getNordinforss(): ?RssArticle
  441.     {
  442.         return $this->nordinfo_rss;
  443.     }
  444.     public function setNordinforss(?RssArticle $nordinfo_rss): self
  445.     {
  446.         $this->nordinfo_rss $nordinfo_rss;
  447.         return $this;
  448.     }
  449.     public function getTestimonialLibelle(): ?string
  450.     {
  451.         return $this->testimonial_libelle;
  452.     }
  453.     public function setTestimonialLibelle(?string $testimonial_libelle): self
  454.     {
  455.         $this->testimonial_libelle $testimonial_libelle;
  456.         return $this;
  457.     }
  458.     public function getTestimonialCitation(): ?string
  459.     {
  460.         return $this->testimonial_citation;
  461.     }
  462.     public function setTestimonialCitation(?string $testimonial_citation): self
  463.     {
  464.         $this->testimonial_citation $testimonial_citation;
  465.         return $this;
  466.     }
  467.     public function getTestimonialImageName(): ?string
  468.     {
  469.         return $this->testimonial_image_name;
  470.     }
  471.     public function setTestimonialImageName(?string $testimonial_image_name): self
  472.     {
  473.         $this->testimonial_image_name $testimonial_image_name;
  474.         return $this;
  475.     }
  476.     public function getMagazineImageName(): ?string
  477.     {
  478.         return $this->magazine_image__name;
  479.     }
  480.     public function setMagazineImageName(?string $magazine_image__name): self
  481.     {
  482.         $this->magazine_image__name $magazine_image__name;
  483.         return $this;
  484.     }
  485.     public function getMagazineVignetteName(): ?string
  486.     {
  487.         return $this->magazine_vignette_name;
  488.     }
  489.     public function setMagazineVignetteName(?string $magazine_vignette_name): self
  490.     {
  491.         $this->magazine_vignette_name $magazine_vignette_name;
  492.         return $this;
  493.     }
  494.     public function getMagazineTitre(): ?string
  495.     {
  496.         return $this->magazine_titre;
  497.     }
  498.     public function setMagazineTitre(?string $magazine_titre): self
  499.     {
  500.         $this->magazine_titre $magazine_titre;
  501.         return $this;
  502.     }
  503.     public function getMagazineChapo(): ?string
  504.     {
  505.         return $this->magazine_chapo;
  506.     }
  507.     public function setMagazineChapo(?string $magazine_chapo): self
  508.     {
  509.         $this->magazine_chapo $magazine_chapo;
  510.         return $this;
  511.     }
  512.     public function getMagazineUrl(): ?string
  513.     {
  514.         return $this->magazine_url;
  515.     }
  516.     public function setMagazineUrl(?string $magazine_url): self
  517.     {
  518.         $this->magazine_url $magazine_url;
  519.         return $this;
  520.     }
  521.     public function getContacterPresident(): ?bool
  522.     {
  523.         return $this->contacter_president;
  524.     }
  525.     public function setContacterPresident(?bool $contacter_president): self
  526.     {
  527.         $this->contacter_president $contacter_president;
  528.         return $this;
  529.     }
  530.     public function getEpingle(): ?Epingle
  531.     {
  532.         return $this->epingle;
  533.     }
  534.     public function setEpingle(?Epingle $epingle): self
  535.     {
  536.         $this->epingle $epingle;
  537.         return $this;
  538.     }
  539.     public function getDateUpdate(): ?\DateTimeInterface
  540.     {
  541.         return $this->date_update;
  542.     }
  543.     public function setDateUpdate(?\DateTimeInterface $date_update): self
  544.     {
  545.         $this->date_update $date_update;
  546.         return $this;
  547.     }
  548.     public function getOrdreImage(): ?int
  549.     {
  550.         return $this->ordre_image;
  551.     }
  552.     public function setOrdreImage(?int $ordre_image): self
  553.     {
  554.         $this->ordre_image $ordre_image;
  555.         return $this;
  556.     }
  557.     public function getOrdreActu(): ?int
  558.     {
  559.         return $this->ordre_actu;
  560.     }
  561.     public function setOrdreActu(?int $ordre_actu): self
  562.     {
  563.         $this->ordre_actu $ordre_actu;
  564.         return $this;
  565.     }
  566.     public function getOrdreCitation(): ?int
  567.     {
  568.         return $this->ordre_citation;
  569.     }
  570.     public function setOrdreCitation(?int $ordre_citation): self
  571.     {
  572.         $this->ordre_citation $ordre_citation;
  573.         return $this;
  574.     }
  575.     public function getOrdrePolitique(): ?int
  576.     {
  577.         return $this->ordre_politique;
  578.     }
  579.     public function setOrdrePolitique(?int $ordre_politique): self
  580.     {
  581.         $this->ordre_politique $ordre_politique;
  582.         return $this;
  583.     }
  584.     public function getOrdreInstitution(): ?int
  585.     {
  586.         return $this->ordre_institution;
  587.     }
  588.     public function setOrdreInstitution(?int $ordre_institution): self
  589.     {
  590.         $this->ordre_institution $ordre_institution;
  591.         return $this;
  592.     }
  593.     public function getOrdreEditable(): ?int
  594.     {
  595.         return $this->ordre_editable;
  596.     }
  597.     public function setOrdreEditable(?int $ordre_editable): self
  598.     {
  599.         $this->ordre_editable $ordre_editable;
  600.         return $this;
  601.     }
  602.     public function getOrdreNordinfo(): ?int
  603.     {
  604.         return $this->ordre_nordinfo;
  605.     }
  606.     public function setOrdreNordinfo(?int $ordre_nordinfo): self
  607.     {
  608.         $this->ordre_nordinfo $ordre_nordinfo;
  609.         return $this;
  610.     }
  611.     public function getOrdreTestimonial(): ?int
  612.     {
  613.         return $this->ordre_testimonial;
  614.     }
  615.     public function setOrdreTestimonial(?int $ordre_testimonial): self
  616.     {
  617.         $this->ordre_testimonial $ordre_testimonial;
  618.         return $this;
  619.     }
  620.     public function getOrdreMagazine(): ?int
  621.     {
  622.         return $this->ordre_magazine;
  623.     }
  624.     public function setOrdreMagazine(int $ordre_magazine): self
  625.     {
  626.         $this->ordre_magazine $ordre_magazine;
  627.         return $this;
  628.     }
  629.     public function getContentHtml2(): ?string
  630.     {
  631.         return $this->content_html2;
  632.     }
  633.     public function setContentHtml2(?string $content_html2): self
  634.     {
  635.         $this->content_html2 $content_html2;
  636.         return $this;
  637.     }
  638.     public function getContentActive2(): ?bool
  639.     {
  640.         return $this->content_active2;
  641.     }
  642.     public function setContentActive2(?bool $content_active2): self
  643.     {
  644.         $this->content_active2 $content_active2;
  645.         return $this;
  646.     }
  647.     public function getContentHtml3(): ?string
  648.     {
  649.         return $this->content_html3;
  650.     }
  651.     public function setContentHtml3(?string $content_html3): self
  652.     {
  653.         $this->content_html3 $content_html3;
  654.         return $this;
  655.     }
  656.     public function getContentActive3(): ?bool
  657.     {
  658.         return $this->content_active3;
  659.     }
  660.     public function setContentActive3(?bool $content_active3): self
  661.     {
  662.         $this->content_active3 $content_active3;
  663.         return $this;
  664.     }
  665.     public function getContentHtml4(): ?string
  666.     {
  667.         return $this->content_html4;
  668.     }
  669.     public function setContentHtml4(?string $content_html4): self
  670.     {
  671.         $this->content_html4 $content_html4;
  672.         return $this;
  673.     }
  674.     public function getContentActive4(): ?bool
  675.     {
  676.         return $this->content_active4;
  677.     }
  678.     public function setContentActive4(?bool $content_active4): self
  679.     {
  680.         $this->content_active4 $content_active4;
  681.         return $this;
  682.     }
  683.     public function getOrdreEditable2(): ?int
  684.     {
  685.         return $this->ordre_editable2;
  686.     }
  687.     public function setOrdreEditable2(?int $ordre_editable2): self
  688.     {
  689.         $this->ordre_editable2 $ordre_editable2;
  690.         return $this;
  691.     }
  692.     public function getOrdreEditable3(): ?int
  693.     {
  694.         return $this->ordre_editable3;
  695.     }
  696.     public function setOrdreEditable3(?int $ordre_editable3): self
  697.     {
  698.         $this->ordre_editable3 $ordre_editable3;
  699.         return $this;
  700.     }
  701.     public function getOrdreEditable4(): ?int
  702.     {
  703.         return $this->ordre_editable4;
  704.     }
  705.     public function setOrdreEditable4(?int $ordre_editable4): self
  706.     {
  707.         $this->ordre_editable4 $ordre_editable4;
  708.         return $this;
  709.     }
  710.     public function getEnavantContent(): ?string
  711.     {
  712.         return $this->enavant_content;
  713.     }
  714.     public function setEnavantContent(?string $enavant_content): self
  715.     {
  716.         $this->enavant_content $enavant_content;
  717.         return $this;
  718.     }
  719.     public function getEnavantUrlLibelle(): ?string
  720.     {
  721.         return $this->enavant_url_libelle;
  722.     }
  723.     public function setEnavantUrlLibelle(?string $enavant_url_libelle): self
  724.     {
  725.         $this->enavant_url_libelle $enavant_url_libelle;
  726.         return $this;
  727.     }
  728.     public function getImageName(): ?string
  729.     {
  730.         return $this->image_name;
  731.     }
  732.     public function setImageName(?string $image_name): self
  733.     {
  734.         $this->image_name $image_name;
  735.         return $this;
  736.     }
  737.     public function setImage(File $file null): void
  738.     {
  739.         $this->image $file;
  740.         if ($file) {
  741.             $this->date_update = new \DateTime;
  742.         }
  743.     }
  744.     public function getImage(): mixed
  745.     {
  746.         return $this->image;
  747.     }
  748.     public function getOrdrePresident(): ?int
  749.     {
  750.         return $this->ordre_president;
  751.     }
  752.     public function setOrdrePresident(?int $ordre_president): self
  753.     {
  754.         $this->ordre_president $ordre_president;
  755.         return $this;
  756.     }
  757.     public function getMagazineActive(): ?bool
  758.     {
  759.         return $this->magazine_active;
  760.     }
  761.     public function setMagazineActive(?bool $magazine_active): self
  762.     {
  763.         $this->magazine_active $magazine_active;
  764.         return $this;
  765.     }
  766.     public function getActuActive(): ?bool
  767.     {
  768.         return $this->actu_active;
  769.     }
  770.     public function setActuActive(?bool $actu_active): self
  771.     {
  772.         $this->actu_active $actu_active;
  773.         return $this;
  774.     }
  775.     public function getActiveCitation(): ?bool
  776.     {
  777.         return $this->active_citation;
  778.     }
  779.     public function setActiveCitation(?bool $active_citation): self
  780.     {
  781.         $this->active_citation $active_citation;
  782.         return $this;
  783.     }
  784.     public function getPolitiqueActive(): ?bool
  785.     {
  786.         return $this->politique_active;
  787.     }
  788.     public function setPolitiqueActive(?bool $politique_active): self
  789.     {
  790.         $this->politique_active $politique_active;
  791.         return $this;
  792.     }
  793.     public function getInstitutionActive(): ?bool
  794.     {
  795.         return $this->institution_active;
  796.     }
  797.     public function setInstitutionActive(?bool $institution_active): self
  798.     {
  799.         $this->institution_active $institution_active;
  800.         return $this;
  801.     }
  802.     public function getNordinfoActive(): ?bool
  803.     {
  804.         return $this->nordinfo_active;
  805.     }
  806.     public function setNordinfoActive(?bool $nordinfo_active): self
  807.     {
  808.         $this->nordinfo_active $nordinfo_active;
  809.         return $this;
  810.     }
  811.     public function getTestimonialActive(): ?bool
  812.     {
  813.         return $this->testimonial_active;
  814.     }
  815.     public function setTestimonialActive(?bool $testimonial_active): self
  816.     {
  817.         $this->testimonial_active $testimonial_active;
  818.         return $this;
  819.     }
  820.     public function getServicesActive(): ?bool
  821.     {
  822.         return $this->services_active;
  823.     }
  824.     public function setServicesActive(?bool $services_active): self
  825.     {
  826.         $this->services_active $services_active;
  827.         return $this;
  828.     }
  829.     public function getOrdreServices(): ?int
  830.     {
  831.         return $this->ordre_services;
  832.     }
  833.     public function setOrdreServices(?int $ordre_services): self
  834.     {
  835.         $this->ordre_services $ordre_services;
  836.         return $this;
  837.     }
  838.     public function getNordevasionActive(): ?bool
  839.     {
  840.         return $this->nordevasion_active;
  841.     }
  842.     public function setNordevasionActive(?bool $nordevasion_active): self
  843.     {
  844.         $this->nordevasion_active $nordevasion_active;
  845.         return $this;
  846.     }
  847.     public function getOrdreNordevasion(): ?int
  848.     {
  849.         return $this->ordre_nordevasion;
  850.     }
  851.     public function setOrdreNordevasion(?int $ordre_nordevasion): self
  852.     {
  853.         $this->ordre_nordevasion $ordre_nordevasion;
  854.         return $this;
  855.     }
  856.     public function getNordevasionImage1(): ?string
  857.     {
  858.         return $this->nordevasion_image1;
  859.     }
  860.     public function setNordevasionImage1(?string $nordevasion_image1): self
  861.     {
  862.         $this->nordevasion_image1 $nordevasion_image1;
  863.         return $this;
  864.     }
  865.     public function getNordevasionImage2(): ?string
  866.     {
  867.         return $this->nordevasion_image2;
  868.     }
  869.     public function setNordevasionImage2(?string $nordevasion_image2): self
  870.     {
  871.         $this->nordevasion_image2 $nordevasion_image2;
  872.         return $this;
  873.     }
  874.     public function getNordevasionImage3(): ?string
  875.     {
  876.         return $this->nordevasion_image3;
  877.     }
  878.     public function setNordevasionImage3(?string $nordevasion_image3): self
  879.     {
  880.         $this->nordevasion_image3 $nordevasion_image3;
  881.         return $this;
  882.     }
  883.     public function getNordevasionLibelle1(): ?string
  884.     {
  885.         return $this->nordevasion_libelle1;
  886.     }
  887.     public function setNordevasionLibelle1(?string $nordevasion_libelle1): self
  888.     {
  889.         $this->nordevasion_libelle1 $nordevasion_libelle1;
  890.         return $this;
  891.     }
  892.     public function getNordevasionLibelle2(): ?string
  893.     {
  894.         return $this->nordevasion_libelle2;
  895.     }
  896.     public function setNordevasionLibelle2(?string $nordevasion_libelle2): self
  897.     {
  898.         $this->nordevasion_libelle2 $nordevasion_libelle2;
  899.         return $this;
  900.     }
  901.     public function getNordevasionLibelle3(): ?string
  902.     {
  903.         return $this->nordevasion_libelle3;
  904.     }
  905.     public function setNordevasionLibelle3(?string $nordevasion_libelle3): self
  906.     {
  907.         $this->nordevasion_libelle3 $nordevasion_libelle3;
  908.         return $this;
  909.     }
  910.     public function getNordevasionUrl1(): ?string
  911.     {
  912.         return $this->nordevasion_url1;
  913.     }
  914.     public function setNordevasionUrl1(?string $nordevasion_url1): self
  915.     {
  916.         $this->nordevasion_url1 $nordevasion_url1;
  917.         return $this;
  918.     }
  919.     public function getNordevasionUrl2(): ?string
  920.     {
  921.         return $this->nordevasion_url2;
  922.     }
  923.     public function setNordevasionUrl2(?string $nordevasion_url2): self
  924.     {
  925.         $this->nordevasion_url2 $nordevasion_url2;
  926.         return $this;
  927.     }
  928.     public function getNordevasionUrl3(): ?string
  929.     {
  930.         return $this->nordevasion_url3;
  931.     }
  932.     public function setNordevasionUrl3(?string $nordevasion_url3): self
  933.     {
  934.         $this->nordevasion_url3 $nordevasion_url3;
  935.         return $this;
  936.     }
  937.     public function getCartographieOrdre(): ?int
  938.     {
  939.         return $this->cartographie_ordre;
  940.     }
  941.     public function setCartographieOrdre(?int $cartographie_ordre): self
  942.     {
  943.         $this->cartographie_ordre $cartographie_ordre;
  944.         return $this;
  945.     }
  946.     public function getCartographieActive(): ?bool
  947.     {
  948.         return $this->cartographie_active;
  949.     }
  950.     public function setCartographieActive(?bool $cartographie_active): self
  951.     {
  952.         $this->cartographie_active $cartographie_active;
  953.         return $this;
  954.     }
  955.     public function getPresidentImageName(): ?string
  956.     {
  957.         return $this->president_image_name;
  958.     }
  959.     public function setPresidentImageName(?string $nordevasion_image1): self
  960.     {
  961.         $this->president_image_name $nordevasion_image1;
  962.         return $this;
  963.     }
  964.     public function setPresidentImage(File $file null): void
  965.     {
  966.         $this->president_image $file;
  967.         if ($file) {
  968.             $this->date_update = new \DateTime;
  969.         }
  970.     }
  971.     public function getPresidentImage(): mixed
  972.     {
  973.         return $this->president_image;
  974.     }
  975.     /**
  976.      * @return Collection<int, Images>
  977.      */
  978.     public function getImages(): Collection
  979.     {
  980.         return $this->images;
  981.     }
  982.     public function addImage(Images $image): self
  983.     {
  984.         if (!$this->images->contains($image)) {
  985.             $this->images[] = $image;
  986.         }
  987.         return $this;
  988.     }
  989.     public function removeImage(Images $image): self
  990.     {
  991.         $this->images->removeElement($image);
  992.         return $this;
  993.     }
  994.     public function getBannerImageSubtitle(): ?string
  995.     {
  996.         return $this->banner_image_subtitle;
  997.     }
  998.     public function setBannerImageSubtitle(?string $banner_image_subtitle): static
  999.     {
  1000.         $this->banner_image_subtitle $banner_image_subtitle;
  1001.         return $this;
  1002.     }
  1003. }