/** * Get all users inside a group. * FIXME: This returns not an array of GWF_User!!!! * @param string $groupname * @return array */ public static function getAllInGroup($groupname) { return GWF_UserSelect::getUsers($groupname); }
private function sendModMail(GWF_Download $dl) { // $dl->setVar('', $val); $user = GWF_Session::getUser(); foreach (GWF_UserSelect::getUsers(GWF_Group::STAFF) as $staff) { $this->sendModMailB($dl, $user, new GWF_User($staff)); } }
public function onEMailModeration($user, GWF_Shoutbox $entry) { foreach (GWF_UserSelect::getUsers(GWF_Group::STAFF) as $staff) { $this->onEMailModerationB($user, $entry, new GWF_User($staff)); } }