1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 17:14:42 +02:00

Generated PHPDoc for all classes in e107_handlers where one was missing. toNumber() updated to always return int or float.

This commit is contained in:
Cameron
2022-04-04 10:54:24 -07:00
parent 813f2bf38f
commit 55980a29a8
104 changed files with 5498 additions and 1221 deletions

View File

@@ -17,7 +17,11 @@
e107::includeLan(e_LANGUAGEDIR.e_LANGUAGE."/lan_user_select.php");
class user_select
/**
*
*/
class user_select
{
/**
@@ -178,10 +182,13 @@ class user_select
return $text;
}
function real_name($_id)
/**
* @param $_id
* @return mixed|void
*/
function real_name($_id)
{
global $sql;
$sql ->select("user", "user_name", "user_id='".intval($_id)."' ");
@@ -295,7 +302,12 @@ class user_select
echo "\n</body>\n</html>";
}
function findusers($s,$banned=FALSE) {
/**
* @param $s
* @param $banned
* @return false
*/
function findusers($s, $banned=FALSE) {
global $sql, $tp;
$inc = ($banned == FALSE) ? " AND user_ban != 1" : "";
if ($sql->select("user", "*", "user_name LIKE '%".$tp -> toDB($s)."%'".$inc))