Paaxio 1.0
Plateforme de streaming musical - SAE IUT Bayonne
Chargement...
Recherche...
Aucune correspondance
Référence de la classe Chanson
Graphe de collaboration de Chanson:

Fonctions membres publiques

 __construct (?int $idChanson=null, ?string $titreChanson=null, ?int $dureeChanson=null, ?DateTime $dateTeleversementChanson=null, ?Album $albumChanson=null, ?Genre $genreChanson=null, ?string $emailPublicateur=null, ?string $urlAudioChanson=null, ?int $nbEcouteChanson=null)
 Constructeur de la classe Chanson.
 
 getIdChanson ()
 Get the value of idChanson.
 
 setIdChanson (?int $idChanson)
 Set the value of idChanson.
 
 getTitreChanson ()
 Get the value of titreChanson.
 
 setTitreChanson (?string $titreChanson)
 Set the value of titreChanson.
 
 getDureeChanson ()
 Get the value of dureeChanson.
 
 setDureeChanson (?int $dureeChanson)
 Set the value of dureeChanson.
 
 getDateTeleversementChanson ()
 Get the value of dateTeleversementChanson.
 
 setDateTeleversementChanson (?DateTime $dateTeleversementChanson)
 Set the value of dateTeleversementChanson.
 
 getNbEcouteChanson ()
 Get the value of nbEcouteChanson.
 
 setNbEcouteChanson (?int $nbEcouteChanson)
 Set the value of nbEcouteChanson.
 
 getAlbumChanson ()
 Get the value of albumChanson.
 
 setAlbumChanson (?Album $albumChanson)
 Set the value of albumChanson.
 
 getGenreChanson ()
 Get the value of genreChanson.
 
 setGenreChanson (?Genre $genreChanson)
 Set the value of genreChanson.
 
 getEmailPublicateur ()
 Get the value of emailPublicateur.
 
 setEmailPublicateur (?string $emailPublicateur)
 Set the value of emailPublicateur.
 
 getUrlAudioChanson ()
 Get the value of urlAudioChanson.
 
 setUrlAudioChanson (?string $urlAudioChanson)
 Set the value of urlAudioChanson.
 
 getIsLiked ()
 Get the value of isLiked.
 
 setIsLiked (bool $isLiked)
 Set the value of isLiked.
 
 getDateLike ()
 Get the value of dateLike.
 
 setDateLike (?DateTime $dateLike)
 Set the value of dateLike.
 

Attributs privés

int null $idChanson
 
string null $titreChanson
 
int null $dureeChanson
 
DateTime null $dateTeleversementChanson
 
int null $nbEcouteChanson
 
Album null $albumChanson
 
Genre null $genreChanson
 
string null $emailPublicateur
 
string null $urlAudioChanson
 
bool $isLiked = false
 
DateTime $dateLike = null
 

Description détaillée

Définition à la ligne 7 du fichier chanson.class.php.

Documentation des constructeurs et destructeur

◆ __construct()

Chanson::__construct ( ?int  $idChanson = null,
?string  $titreChanson = null,
?int  $dureeChanson = null,
?DateTime  $dateTeleversementChanson = null,
?Album  $albumChanson = null,
?Genre  $genreChanson = null,
?string  $emailPublicateur = null,
?string  $urlAudioChanson = null,
?int  $nbEcouteChanson = null 
)

Constructeur de la classe Chanson.

Paramètres
int | null$idChansonL'identifiant unique.
string | null$titreChansonLe titre.
int | null$dureeChansonLa durée en secondes.
DateTime | null$dateTeleversementChansonLa date de publication.
Album | null$albumChansonL'album associé.
Genre | null$genreChansonLe genre musical.
string | null$emailPublicateurL'email de l'artiste.
string | null$urlAudioChansonL'URL du fichier audio.
int | null$nbEcouteChansonLe nombre d'écoutes.

Définition à la ligne 76 du fichier chanson.class.php.

Références $albumChanson, $dateTeleversementChanson, $dureeChanson, $emailPublicateur, $genreChanson, $idChanson, $nbEcouteChanson, $titreChanson, et $urlAudioChanson.

Documentation des fonctions membres

◆ getAlbumChanson()

Chanson::getAlbumChanson ( )

Get the value of albumChanson.

Définition à la ligne 186 du fichier chanson.class.php.

Références $albumChanson.

Référencé par ChansonDAO\createChanson().

Voici le graphe des appelants de cette fonction :

◆ getDateLike()

Chanson::getDateLike ( )

Get the value of dateLike.

Définition à la ligne 270 du fichier chanson.class.php.

Références $dateLike.

◆ getDateTeleversementChanson()

Chanson::getDateTeleversementChanson ( )

Get the value of dateTeleversementChanson.

Définition à la ligne 152 du fichier chanson.class.php.

Références $dateTeleversementChanson.

Référencé par ChansonDAO\createChanson().

Voici le graphe des appelants de cette fonction :

◆ getDureeChanson()

Chanson::getDureeChanson ( )

Get the value of dureeChanson.

Définition à la ligne 135 du fichier chanson.class.php.

Références $dureeChanson.

Référencé par ChansonDAO\createChanson().

Voici le graphe des appelants de cette fonction :

◆ getEmailPublicateur()

Chanson::getEmailPublicateur ( )

Get the value of emailPublicateur.

Définition à la ligne 220 du fichier chanson.class.php.

Références $emailPublicateur.

Référencé par ChansonDAO\createChanson().

Voici le graphe des appelants de cette fonction :

◆ getGenreChanson()

Chanson::getGenreChanson ( )

Get the value of genreChanson.

Définition à la ligne 203 du fichier chanson.class.php.

Références $genreChanson.

Référencé par ChansonDAO\createChanson(), et ChansonDAO\updateChanson().

Voici le graphe des appelants de cette fonction :

◆ getIdChanson()

Chanson::getIdChanson ( )

Get the value of idChanson.

Définition à la ligne 101 du fichier chanson.class.php.

Références $idChanson.

Référencé par ChansonDAO\updateChanson().

Voici le graphe des appelants de cette fonction :

◆ getIsLiked()

Chanson::getIsLiked ( )

Get the value of isLiked.

Définition à la ligne 254 du fichier chanson.class.php.

Références $isLiked.

◆ getNbEcouteChanson()

Chanson::getNbEcouteChanson ( )

Get the value of nbEcouteChanson.

Définition à la ligne 169 du fichier chanson.class.php.

Références $nbEcouteChanson.

Référencé par ChansonDAO\createChanson().

Voici le graphe des appelants de cette fonction :

◆ getTitreChanson()

Chanson::getTitreChanson ( )

Get the value of titreChanson.

Définition à la ligne 118 du fichier chanson.class.php.

Références $titreChanson.

Référencé par ChansonDAO\createChanson(), et ChansonDAO\updateChanson().

Voici le graphe des appelants de cette fonction :

◆ getUrlAudioChanson()

Chanson::getUrlAudioChanson ( )

Get the value of urlAudioChanson.

Définition à la ligne 237 du fichier chanson.class.php.

Références $urlAudioChanson.

◆ setAlbumChanson()

Chanson::setAlbumChanson ( ?Album  $albumChanson)

Set the value of albumChanson.

Définition à la ligne 195 du fichier chanson.class.php.

Références $albumChanson.

◆ setDateLike()

Chanson::setDateLike ( ?DateTime  $dateLike)

Set the value of dateLike.

Définition à la ligne 278 du fichier chanson.class.php.

Références $dateLike.

◆ setDateTeleversementChanson()

Chanson::setDateTeleversementChanson ( ?DateTime  $dateTeleversementChanson)

Set the value of dateTeleversementChanson.

Définition à la ligne 161 du fichier chanson.class.php.

Références $dateTeleversementChanson.

◆ setDureeChanson()

Chanson::setDureeChanson ( ?int  $dureeChanson)

Set the value of dureeChanson.

Définition à la ligne 144 du fichier chanson.class.php.

Références $dureeChanson.

◆ setEmailPublicateur()

Chanson::setEmailPublicateur ( ?string  $emailPublicateur)

Set the value of emailPublicateur.

Définition à la ligne 229 du fichier chanson.class.php.

Références $emailPublicateur.

◆ setGenreChanson()

Chanson::setGenreChanson ( ?Genre  $genreChanson)

Set the value of genreChanson.

Définition à la ligne 212 du fichier chanson.class.php.

Références $genreChanson.

◆ setIdChanson()

Chanson::setIdChanson ( ?int  $idChanson)

Set the value of idChanson.

Définition à la ligne 110 du fichier chanson.class.php.

Références $idChanson.

◆ setIsLiked()

Chanson::setIsLiked ( bool  $isLiked)

Set the value of isLiked.

Définition à la ligne 262 du fichier chanson.class.php.

Références $isLiked.

◆ setNbEcouteChanson()

Chanson::setNbEcouteChanson ( ?int  $nbEcouteChanson)

Set the value of nbEcouteChanson.

Définition à la ligne 178 du fichier chanson.class.php.

Références $nbEcouteChanson.

◆ setTitreChanson()

Chanson::setTitreChanson ( ?string  $titreChanson)

Set the value of titreChanson.

Définition à la ligne 127 du fichier chanson.class.php.

Références $titreChanson.

◆ setUrlAudioChanson()

Chanson::setUrlAudioChanson ( ?string  $urlAudioChanson)

Set the value of urlAudioChanson.

Définition à la ligne 246 du fichier chanson.class.php.

Références $urlAudioChanson.

Documentation des données membres

◆ $albumChanson

Album null Chanson::$albumChanson
private

Définition à la ligne 37 du fichier chanson.class.php.

Référencé par __construct(), getAlbumChanson(), et setAlbumChanson().

◆ $dateLike

DateTime Chanson::$dateLike = null
private

Définition à la ligne 62 du fichier chanson.class.php.

Référencé par getDateLike(), et setDateLike().

◆ $dateTeleversementChanson

DateTime null Chanson::$dateTeleversementChanson
private

Définition à la ligne 27 du fichier chanson.class.php.

Référencé par __construct(), getDateTeleversementChanson(), et setDateTeleversementChanson().

◆ $dureeChanson

int null Chanson::$dureeChanson
private

Définition à la ligne 22 du fichier chanson.class.php.

Référencé par __construct(), getDureeChanson(), et setDureeChanson().

◆ $emailPublicateur

string null Chanson::$emailPublicateur
private

Définition à la ligne 47 du fichier chanson.class.php.

Référencé par __construct(), getEmailPublicateur(), et setEmailPublicateur().

◆ $genreChanson

Genre null Chanson::$genreChanson
private

Définition à la ligne 42 du fichier chanson.class.php.

Référencé par __construct(), getGenreChanson(), et setGenreChanson().

◆ $idChanson

int null Chanson::$idChanson
private

Définition à la ligne 12 du fichier chanson.class.php.

Référencé par __construct(), getIdChanson(), et setIdChanson().

◆ $isLiked

bool Chanson::$isLiked = false
private

Définition à la ligne 57 du fichier chanson.class.php.

Référencé par getIsLiked(), et setIsLiked().

◆ $nbEcouteChanson

int null Chanson::$nbEcouteChanson
private

Définition à la ligne 32 du fichier chanson.class.php.

Référencé par __construct(), getNbEcouteChanson(), et setNbEcouteChanson().

◆ $titreChanson

string null Chanson::$titreChanson
private

Définition à la ligne 17 du fichier chanson.class.php.

Référencé par __construct(), getTitreChanson(), et setTitreChanson().

◆ $urlAudioChanson

string null Chanson::$urlAudioChanson
private

Définition à la ligne 52 du fichier chanson.class.php.

Référencé par __construct(), getUrlAudioChanson(), et setUrlAudioChanson().


La documentation de cette classe a été générée à partir du fichier suivant :