Lines Matching refs:usergroup
27 foreach((array) confToHash($this->configfile) as $usergroup => $time) {
28 $conf[rawurldecode($usergroup)] = (int) $time;
37 * @param $usergroup
40 public function add_entry($usergroup, $time) {
42 if ($usergroup == '') {
50 $usergroup = auth_nameencode($usergroup, true);
52 io_saveFile($this->configfile, "$usergroup\t$time\n", true);
58 * @param $usergroup
60 public function remove_entry($usergroup){
61 $grep = preg_quote(auth_nameencode($usergroup, true), '/');
87 foreach($config as $usergroup => $time) {
88 if(!auth_isMember($usergroup, $_SERVER['REMOTE_USER'], (array) $groups)) continue;