added logic / Form

This commit is contained in:
StockiP
2022-05-02 09:21:13 +02:00
parent b5ca73f018
commit 664bf41c91

View File

@@ -1,13 +1,13 @@
<?php <?php
class User { class User {
//public $user_id; public $user_id;
public $username; public $username;
public $password; public $password;
public $email; public $email;
public $firstname; public $firstname;
public $lastname; public $lastname;
public $role; public $role;
//public $created_at; public $created_at;
public $street; public $street;
public $streetnumber; public $streetnumber;
public $postalcode; public $postalcode;
@@ -16,7 +16,6 @@ class User {
public $salutation; public $salutation;
public function __construct($username, $password, $email, $phone, $salutation, $firstname, $lastname, $role, $street, $streetnumber, $postalcode, $country) { public function __construct($username, $password, $email, $phone, $salutation, $firstname, $lastname, $role, $street, $streetnumber, $postalcode, $country) {
//$this->user_id = $user_id;
$this->username = $username; $this->username = $username;
$this->password = $password; $this->password = $password;
$this->email=$email; $this->email=$email;