From 570901ba4e526be37afd0cbbe018cb0500a7cda1 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 5 Sep 2011 01:22:27 -0400 Subject: Refactor a bit * move a lot of stuff out of MessageManager * move models from lib to models --- src/models/Group.class.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/models/Group.class.php (limited to 'src/models/Group.class.php') diff --git a/src/models/Group.class.php b/src/models/Group.class.php new file mode 100644 index 0000000..f981a4f --- /dev/null +++ b/src/models/Group.class.php @@ -0,0 +1,23 @@ +uid; + } + + /**********************************************************************\ + * The 'auth' table. * + \**********************************************************************/ + + /**********************************************************************\ + * The 'users' table. * + \**********************************************************************/ + + public function getMembers() { + return $this->db->getUsersInGroup($this->getName()); + } +} -- cgit v1.2.3-2-g168b