<?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());
	}
}