Lines Matching refs:return
86 function hsc($str) { return htmlspecialchars((string)$str,ENT_QUOTES,'UTF-8'); }
87 function format_warn($message) { return "<p class=\"warning\">$message</p>"; }
98 return FALSE;
104 return FALSE;
106 return TRUE;
124 return (int) $params[$i++];
126 return "'" . mysql_real_escape_string($params[$i++]) . "'";
136 return $this->query;
149 return $res;
154 return db_query(new Query($query, $params));
161 return mysql_result($res, 0);
163 return FALSE;
182 return implode("&", $params);
247 return false;
254 return true;
256 return false;
260 return count(get_ssh_keys($string)) > 0;
272 return $results;
302 return $cc;
325 return true;
329 return false;
355 return true;
359 return false;
404 return in_array($user, $admins);
432 return in_array($user, $admins);
437 if (is_admin($user)) return true;
441 return $res ? mysql_num_rows($res) : false;
455 return mysql_fetch_array($res);
459 return "'". hsc($in['email']) ."' does not look like a valid email address";
462 return "'". hsc($in['username']) ."' is not a valid username";
465 return "the passwords you specified did not match!";
468 return "the ssh key doesn't seem to have the necessary format";
471 return false;
478 return $k;
483 return false;
488 return mysql_fetch_array($res,MYSQL_ASSOC);