added logic / Form
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user