summaryrefslogtreecommitdiff
path: root/src/lib/Group.class.php
blob: 96c5e2c21ffb564d4435f08e2c18440683b2b473 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?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.                                                  *
	\**********************************************************************/
	
	/**********************************************************************\
	 * The 'users' table.                                                 *
	\**********************************************************************/

	public function getMembers() {
		return $this->mm->getUsersInGroup($this->getName());
	}
}