summaryrefslogtreecommitdiff
path: root/apps/um/models/Group.class.php
blob: f981a4fad6fdb99dc64fafb7badc93a6640e5784 (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 Group 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->db->getUsersInGroup($this->getName());
	}
}