_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; } }