Paaxio 1.0
Plateforme de streaming musical - SAE IUT Bayonne
Chargement...
Recherche...
Aucune correspondance
playlist.class.php
Aller à la documentation de ce fichier.
1<?php
7class Playlist {
11 private int|null $idPlaylist;
12
16 private string|null $nomPlaylist;
17
21 private bool|null $estPubliquePlaylist;
22
26 private DateTime|null $dateCreationPlaylist;
27
31 private DateTime|null $dateDerniereModification;
32
36 private string|null $emailProprietaire;
37
41 private ?string $urlPochetteAuto = null;
42
52 public function __construct(
53 ?int $idPlaylist = null, ?string $nomPlaylist = null, ?bool $estPubliquePlaylist = null, ?DateTime $dateCreationPlaylist = null,
54 ?DateTime $dateDerniereModification = null, ?string $emailProprietaire = null
55 ) {
56 $this->idPlaylist = $idPlaylist;
57 $this->nomPlaylist = $nomPlaylist;
58 $this->estPubliquePlaylist = $estPubliquePlaylist;
59 $this->dateCreationPlaylist = $dateCreationPlaylist;
60 $this->dateDerniereModification = $dateDerniereModification;
61 $this->emailProprietaire = $emailProprietaire;
62 }
63
67 public function getIdPlaylist(): int
68 {
69 return $this->idPlaylist;
70 }
74 public function setIdPlaylist(int $idPlaylist): void
75 {
76 $this->idPlaylist = $idPlaylist;
77 }
78
82 public function getNomPlaylist(): string
83 {
84 return $this->nomPlaylist;
85 }
89 public function setNomPlaylist(string $nomPlaylist): void
90 {
91 $this->nomPlaylist = $nomPlaylist;
92 }
93
97 public function isEstPubliquePlaylist(): bool
98 {
100 }
105 {
106 $this->estPubliquePlaylist = $estPubliquePlaylist;
107 }
108
112 public function getDateCreationPlaylist(): DateTime
113 {
115 }
119 public function setDateCreationPlaylist(DateTime $dateCreationPlaylist): void
120 {
121 $this->dateCreationPlaylist = $dateCreationPlaylist;
122 }
123
127 public function getDateDerniereModification(): DateTime
128 {
130 }
135 {
136 $this->dateDerniereModification = $dateDerniereModification;
137 }
138
142 public function getEmailProprietaire(): string
143 {
145 }
149 public function setEmailProprietaire(string $emailProprietaire): void
150 {
151 $this->emailProprietaire = $emailProprietaire;
152 }
153
157 public function getUrlPochetteAuto(): ?string
158 {
160 }
161
165 public function setUrlPochetteAuto(?string $url): void
166 {
167 $this->urlPochetteAuto = $url;
168 }
169}
setUrlPochetteAuto(?string $url)
Set the value of urlPochette.
bool null $estPubliquePlaylist
int null $idPlaylist
getEmailProprietaire()
Get the value of emailProprietaire.
string null $emailProprietaire
getDateCreationPlaylist()
Get the value of dateCreationPlaylist.
DateTime null $dateCreationPlaylist
getIdPlaylist()
Get the value of idPlaylist.
getDateDerniereModification()
Get the value of dateDerniereModification.
getUrlPochetteAuto()
Get the value of urlPochette.
__construct(?int $idPlaylist=null, ?string $nomPlaylist=null, ?bool $estPubliquePlaylist=null, ?DateTime $dateCreationPlaylist=null, ?DateTime $dateDerniereModification=null, ?string $emailProprietaire=null)
Constructeur de la classe Playlist.
DateTime null $dateDerniereModification
setIdPlaylist(int $idPlaylist)
Set the value of idPlaylist.
setEstPubliquePlaylist(bool $estPubliquePlaylist)
Set the value of estPubliquePlaylist.
setNomPlaylist(string $nomPlaylist)
Set the value of nomPlaylist.
isEstPubliquePlaylist()
Get the value of estPubliquePlaylist.
string $urlPochetteAuto
getNomPlaylist()
Get the value of nomPlaylist.
setDateDerniereModification(DateTime $dateDerniereModification)
Set the value of dateDerniereModification.
string null $nomPlaylist
setDateCreationPlaylist(DateTime $dateCreationPlaylist)
Set the value of dateCreationPlaylist.
setEmailProprietaire(string $emailProprietaire)
Set the value of emailProprietaire.