Files
Ecobuddy/Models/UserData.php
boris 4005328979 erm did a small amount
output database to view
added basic filters
improve bootstrap theming and positioning
added pagination
2024-11-28 23:40:06 +00:00

20 lines
454 B
PHP

<?php
class UserData {
protected $_id, $_username, $_name, $_password, $_usertype;
public function __construct($dbRow) {
$this->_id = $dbRow['id'];
$this->_username = $dbRow['username'];
$this->_password = $dbRow['password'];
$this->_usertype = $dbRow['userType'];
}
public function getId() {
return $this->_id;
}
public function getUsername() {
return $this->_username;
}
}