mirror of
https://github.com/e107inc/e107.git
synced 2025-08-14 02:24:08 +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:
@@ -404,6 +404,10 @@ class e_online
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param $debug
|
||||
* @return array|string
|
||||
*/
|
||||
function userList($debug=false)
|
||||
{
|
||||
|
||||
@@ -417,13 +421,19 @@ class e_online
|
||||
return $this->users;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
function guestList()
|
||||
{
|
||||
return $this->guests;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @param $userAgent
|
||||
* @return bool
|
||||
*/
|
||||
function isBot($userAgent='')
|
||||
{
|
||||
return e107::getUser()->isBot($userAgent);
|
||||
|
Reference in New Issue
Block a user