parent
da8d388748
commit
4f52d41603
@ -1,18 +1,18 @@
|
|||||||
<?php
|
<?php
|
||||||
class User{
|
class User{
|
||||||
public string $id;
|
public string $id;
|
||||||
|
public string $username;
|
||||||
public string $passwd;
|
public string $passwd;
|
||||||
public string $img;
|
public string $img;
|
||||||
public string $email;
|
public string $email;
|
||||||
|
|
||||||
function __construct(string $identify, string $password, string $image, string $mail) {
|
function __construct(string $identify, string $pseudo, string $password, string $image, string $mail) {
|
||||||
$this->id = $identify;
|
$this->id = $identify;
|
||||||
|
$this->username = $pseudo;
|
||||||
$this->passwd = $password;
|
$this->passwd = $password;
|
||||||
$this->img = $image;
|
$this->img = $image;
|
||||||
$this->email = $mail;
|
$this->email = $mail;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function __checkLogin(){
|
|
||||||
/*Envoie donnée à la bdd*/
|
|
||||||
}
|
|
||||||
?>
|
?>
|
Loading…
Reference in new issue