Ejemplo n.º 1
0
 /**
  * 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);
 }
Ejemplo n.º 2
0
 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));
     }
 }
Ejemplo n.º 3
0
 public function onEMailModeration($user, GWF_Shoutbox $entry)
 {
     foreach (GWF_UserSelect::getUsers(GWF_Group::STAFF) as $staff) {
         $this->onEMailModerationB($user, $entry, new GWF_User($staff));
     }
 }