add template files and compose file, fix syntax errors in template
This commit is contained in:
1 parent
f9d57038bf
commit
b64c6d835e
55 files changed
+16384
-7288
No files matched your search
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
class UserData {
|
||||
protected $_id, $_username, $_name, $_password, $_usertype;
|
||||
|
||||
public function __construct($dbRow) {
|
||||
$this->_id = $dbRow['_id'];
|
||||
$this->_username = $dbRow['username'];
|
||||
$this->_name = $dbRow['name'];
|
||||
$this->_password = $dbRow['password'];
|
||||
$this->_usertype = $dbRow['usertype'];
|
||||
}
|
||||
|
||||
public function getId() {
|
||||
return $this->_id;
|
||||
}
|
||||
|
||||
public function getUsername() {
|
||||
return $this->_username;
|
||||
}
|
||||
|
||||
public function getName() {
|
||||
return $this->_name;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user