blob: b6dbede13430fc7396aac34b78b5a2a541642864 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<?php
require_once('Auth.class.php');
class User extends Auth {
public function __construct($uid) {
parent::__construct($uid);
}
public function getUID() {
return $this->uid;
}
/**********************************************************************\
* The 'auth' table. *
\**********************************************************************/
public function setPassword($password) {
if (!$this->canEdit()) return false;
return $this->db->setPassword($this->uid, $password);
}
/**********************************************************************\
* The 'users' table. *
\**********************************************************************/
}
|