plus de sécurité et jolie beau

This commit is contained in:
Yasder5 2026-03-01 12:29:05 +01:00
parent 1deedf79a8
commit 18d74fc687
6 changed files with 11 additions and 11 deletions

View file

@ -56,7 +56,7 @@ class Project extends Mother{
* @return string tite du projet
*/
public function getTitle(){
return $this->_title;
return $this->nettoyer($this->_title);
}
/**
@ -72,7 +72,7 @@ class Project extends Mother{
* @return string description du projet
*/
public function getDescription(){
return $this->_description;
return $this->nettoyer($this->_description) ;
}
/**
@ -105,7 +105,7 @@ class Project extends Mother{
* @return string contenu du projet
*/
public function getContent(){
return $this->_content;
return $this->nettoyer($this->_content);
}
/**

View file

@ -50,7 +50,7 @@
* @return string le nom de l'utilisateur
*/
public function getName():string{
return $this->_name;
return $this->nettoyer($this->_name);
}
/**
@ -66,7 +66,7 @@
* @return string le prénom de l'utilisateur
*/
public function getFirstname():string{
return $this->_firstname;
return $this->nettoyer($this->_firstname);
}
/**
@ -82,7 +82,7 @@
* @return string le pseudo de l'utilisateur
*/
public function getPseudo():string{
return $this->_pseudo;
return $this->nettoyer($this->_pseudo);
}
/**
@ -154,7 +154,7 @@
* @return string le numéro de téléphone de l'utilisateur
*/
public function getPhone():string{
return $this->_phone;
return $this->nettoyer($this->_phone);
}
/**
@ -170,7 +170,7 @@
* @return string la profession de l'utilisateur
*/
public function getWork():string{
return $this->_work;
return $this->nettoyer($this->_work);
}
/**
@ -202,7 +202,7 @@
* @return string la localisation de l'utilisateur
*/
public function getLocation():string{
return $this->_location;
return $this->nettoyer($this->_location);
}
/**
@ -218,7 +218,7 @@
* @return string la description de l'utilisateur
*/
public function getDescription():string{
return $this->_description;
return $this->nettoyer($this->_description);
}
/**