Lines Matching refs:return
63 * @return bool
67 if($userinfo === false) return false;
69 return auth_verifyPassword($pass, $this->users[$user]['pass']);
85 * @return array|false
89 return isset($this->users[$user]) ? $this->users[$user] : false;
102 * @return string
110 return $userline;
130 * @return bool|null|string
139 return false;
152 return null;
156 return $pwd;
165 * @return bool
174 return false;
176 if(!is_array($changes) || !count($changes)) return true;
195 return false;
199 return true;
207 * @return int the number of users deleted
212 if(!is_array($users) || empty($users)) return 0;
221 if(empty($deleted)) return 0;
226 return 0;
233 return $count;
242 * @return int
248 if(!count($filter)) return count($this->users);
257 return $count;
268 * @return array userinfo (refer getUserData for internal userinfo details)
292 return $out;
299 * @return string
303 return cleanID(str_replace(':', $conf['sepchar'], $user));
310 * @return string
314 return cleanID(str_replace(':', $conf['sepchar'], $group));
329 if(!file_exists($config_cascade['plainauth.users']['default'])) return;
355 return preg_split('/(?<![^\\\\]\\\\)\:/', $line, 5); // allow for : escaped as \:
375 return $row;
379 * return true if $user + $info match $filter criteria, false otherwise
385 * @return bool
390 if(!preg_match($pattern, $user)) return false;
392 if(!count(preg_grep($pattern, $info['grps']))) return false;
394 if(!preg_match($pattern, $info[$item])) return false;
397 return true;