added logic / Form
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
<?php
|
||||
class User {
|
||||
//public $user_id;
|
||||
public $user_id;
|
||||
public $username;
|
||||
public $password;
|
||||
public $email;
|
||||
public $firstname;
|
||||
public $lastname;
|
||||
public $role;
|
||||
//public $created_at;
|
||||
public $created_at;
|
||||
public $street;
|
||||
public $streetnumber;
|
||||
public $postalcode;
|
||||
@@ -16,7 +16,6 @@ class User {
|
||||
public $salutation;
|
||||
|
||||
public function __construct($username, $password, $email, $phone, $salutation, $firstname, $lastname, $role, $street, $streetnumber, $postalcode, $country) {
|
||||
//$this->user_id = $user_id;
|
||||
$this->username = $username;
|
||||
$this->password = $password;
|
||||
$this->email=$email;
|
||||
|
||||
Reference in New Issue
Block a user