The function who_is_online() has an NPath complexity of 432. The configured NPath complexity threshold is 200. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
NPathComplexity
Since: 0.1
The NPath complexity of a method is the number of acyclic execution paths through that method. A threshold of 200 is generally considered the point where measures should be taken to reduce complexity.
Example
class Foo {
function bar() {
// lots of complicated code
}
}
Source https://phpmd.org/rules/codesize.html#npathcomplexity
The function online_logout() has an NPath complexity of 7560. The configured NPath complexity threshold is 200. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
NPathComplexity
Since: 0.1
The NPath complexity of a method is the number of acyclic execution paths through that method. A threshold of 200 is generally considered the point where measures should be taken to reduce complexity.
Example
class Foo {
function bar() {
// lots of complicated code
}
}
Source https://phpmd.org/rules/codesize.html#npathcomplexity
Missing class import via use statement (line '132', column '21'). Open
$chat = new Chat();
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '136', column '17'). Open
$chat = new Chat();
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
The method who_is_online uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$query = "SELECT DISTINCT login_user_id, login_date
FROM ".$track_online_table." e
INNER JOIN ".$table_user." u ON (u.id = e.login_user_id)
WHERE u.active <> ".USER_SOFT_DELETED." AND u.status != ".ANONYMOUS." AND login_date >= '".$current_date."'
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method who_is_online uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
// all users online
$query = "SELECT login_user_id, login_date
FROM ".$track_online_table." track
INNER JOIN ".$table_user." u
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method who_is_online uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$time_limit = intval($time_limit);
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method who_is_online uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
return false;
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method preventMultipleLogin uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
// First time
Session::write('first_user_login', 1);
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method LoginCheck uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$query = "INSERT $online_table (
login_user_id,
login_date,
user_ip,
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method who_is_online uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
if (!in_array($direction, ['asc', 'desc'])) {
$direction = 'DESC';
}
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method who_is_online_count uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
// All users online
$query = "SELECT count(login_id) as count
FROM $track_online_table track INNER JOIN $table_user u
ON (u.id=track.login_user_id)
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method who_is_online_count uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
return false;
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method who_is_online_count uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
// all users online
$query = "SELECT count(login_id) as count FROM $track_online_table track
INNER JOIN $table_user u ON (u.id=track.login_user_id)
WHERE
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method who_is_online_in_this_course_count uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
return false;
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method who_is_online_in_this_course uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
return false;
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method who_is_online_count uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$time_limit = intval($time_limit);
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
Avoid unused local variables such as '$login_date'. Open
while (list($login_user_id, $login_date) = Database::fetch_row($result)) {
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$login_date'. Open
while (list($login_user_id, $login_date) = Database::fetch_row($result)) {
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused parameters such as '$uid'. Open
$uid,
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
Avoid unused parameters such as '$uid'. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
The parameter $user_id is not named in camelCase. Open
function user_is_online($user_id)
{
$track_online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
$table_user = Database::get_main_table(TABLE_MAIN_USER);
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $logout_redirect is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $user_id is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $number_of_items is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $time_limit is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $time_limit is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $course_code is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $time_limit is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $time_limit is not named in camelCase. Open
function who_is_online_in_this_course_count(
$uid,
$time_limit,
$coursecode = null
) {
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $number_of_items is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
Variable "_course" is not in valid camel caps format Open
$_course = api_get_course_info();
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
$session_id = api_get_session_id();
- Exclude checks
Variable "i_id_last_connection" is not in valid camel caps format Open
WHERE login_id='$i_id_last_connection'";
- Exclude checks
Variable "logout_redirect" is not in valid camel caps format Open
if ($logout_redirect) {
- Exclude checks
Variable "current_date" is not in valid camel caps format Open
$current_date = api_get_utc_datetime($online_time);
- Exclude checks
Variable "track_online_table" is not in valid camel caps format Open
FROM $track_online_table INNER JOIN $friend_user_table
- Exclude checks
Variable "current_date" is not in valid camel caps format Open
login_date >= '".$current_date."' AND
- Exclude checks
Variable "number_of_items" is not in valid camel caps format Open
LIMIT $from, $number_of_items";
- Exclude checks
Variable "track_online_table" is not in valid camel caps format Open
FROM $track_online_table track INNER JOIN $friend_user_table
- Exclude checks
Variable "friend_user_table" is not in valid camel caps format Open
FROM $track_online_table track INNER JOIN $friend_user_table
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
if (empty($user_id)) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
WHERE login_user_id = $user_id
- Exclude checks
Variable "i_id_last_connection" is not in valid camel caps format Open
$i_id_last_connection = Database::result($q_last_connection, 0, "login_id");
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
$access_url_id = api_get_current_access_url_id();
- Exclude checks
Variable "online_time" is not in valid camel caps format Open
$online_time = time() - $time_limit * 60;
- Exclude checks
Variable "online_time" is not in valid camel caps format Open
$limit_date = api_get_utc_datetime($online_time);
- Exclude checks
Variable "limit_date" is not in valid camel caps format Open
login_date >= '".$limit_date."' AND
- Exclude checks
Variable "current_date" is not in valid camel caps format Open
login_date >= '".$current_date."' AND
- Exclude checks
Variable "number_of_items" is not in valid camel caps format Open
LIMIT $from, $number_of_items";
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
function user_is_online($user_id)
- Exclude checks
Variable "track_online_table" is not in valid camel caps format Open
$track_online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Exclude checks
Expected 12 spaces after parameter type; 1 found Open
* @param null $column
- Exclude checks
Expected 12 spaces after parameter type; 1 found Open
* @param null $time_limit
- Exclude checks
Variable "time_limit" is not in valid camel caps format Open
$time_limit = intval($time_limit);
- Exclude checks
Variable "time_limit" is not in valid camel caps format Open
$online_time = time() - $time_limit * 60;
- Exclude checks
Variable "track_online_table" is not in valid camel caps format Open
FROM ".$track_online_table." e
- Exclude checks
Variable "number_of_items" is not in valid camel caps format Open
LIMIT $from, $number_of_items";
- Exclude checks
Consider putting global function "LoginCheck" in a static class Open
function LoginCheck($uid)
- Exclude checks
Variable "login_date" is not in valid camel caps format Open
'$login_date',
- Exclude checks
Variable "i_id_last_connection" is not in valid camel caps format Open
$i_id_last_connection = 0;
- Exclude checks
Variable "logout_redirect" is not in valid camel caps format Open
if ($logout_redirect && 'true' == api_get_plugin_setting('azure_active_directory', 'enable')) {
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
track.access_url_id = $access_url_id AND
- Exclude checks
Expected 12 spaces after parameter type; 1 found Open
* @param bool $friends
- Exclude checks
Variable "time_limit" is not in valid camel caps format Open
$time_limit = null,
- Exclude checks
Variable "current_date" is not in valid camel caps format Open
WHERE u.active <> ".USER_SOFT_DELETED." AND u.status != ".ANONYMOUS." AND login_date >= '$current_date' ";
- Exclude checks
Variable "online_time" is not in valid camel caps format Open
$online_time = time() - $timeLimit * 60;
- Exclude checks
Missing parameter name Open
* @param int user id
- Exclude checks
Variable "_course" is not in valid camel caps format Open
if (is_array($_course) && count($_course) > 0 && !empty($_course['real_id'])) {
- Exclude checks
Variable "_course" is not in valid camel caps format Open
$cid = intval($_course['real_id']);
- Exclude checks
Variable "online_table" is not in valid camel caps format Open
$query = "INSERT $online_table (
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
$access_url_id
- Exclude checks
Consider putting global function "preventMultipleLogin" in a static class Open
function preventMultipleLogin($userId)
- Exclude checks
Consider putting global function "online_logout" in a static class Open
function online_logout($user_id = null, $logout_redirect = false)
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
CourseChatUtils::exitChat($user_id);
- Exclude checks
Variable "time_limit" is not in valid camel caps format Open
$online_time = time() - $time_limit * 60;
- Exclude checks
Missing parameter name Open
* @param $from
- Exclude checks
Variable "table_user" is not in valid camel caps format Open
INNER JOIN ".$table_user." u
- Exclude checks
Variable "number_of_items" is not in valid camel caps format Open
LIMIT $from, $number_of_items";
- Exclude checks
Variable "time_limit" is not in valid camel caps format Open
$time_limit = (int) $time_limit;
- Exclude checks
Variable "time_limit" is not in valid camel caps format Open
$online_time = time() - $time_limit * 60;
- Exclude checks
Variable "current_date" is not in valid camel caps format Open
$current_date = api_get_utc_datetime($online_time);
- Exclude checks
Variable "online_time" is not in valid camel caps format Open
$online_time = time() - $time_limit * 60;
- Exclude checks
Variable "login_date" is not in valid camel caps format Open
$login_date = api_get_utc_datetime();
- Exclude checks
Variable "logout_function" is not in valid camel caps format Open
$logout_function($uinfo);
- Exclude checks
Variable "number_of_items" is not in valid camel caps format Open
$number_of_items,
- Exclude checks
Variable "online_time" is not in valid camel caps format Open
$online_time = time() - $time_limit * 60;
- Exclude checks
Variable "current_date" is not in valid camel caps format Open
WHERE u.active <> ".USER_SOFT_DELETED." AND u.status != ".ANONYMOUS." AND login_date >= '".$current_date."'
- Exclude checks
Variable "time_limit" is not in valid camel caps format Open
$online_time = time() - $time_limit * 60;
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
track.access_url_id = $access_url_id AND
- Exclude checks
Missing parameter name Open
* @param int Number of minutes
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
$courseInfo = api_get_course_info($course_code);
- Exclude checks
Variable "number_of_items" is not in valid camel caps format Open
LIMIT $from, $number_of_items ";
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
$session_id,
- Exclude checks
Variable "q_last_connection" is not in valid camel caps format Open
$q_last_connection = Database::query($sql);
- Exclude checks
Variable "q_last_connection" is not in valid camel caps format Open
if (Database::num_rows($q_last_connection) > 0) {
- Exclude checks
Variable "i_id_last_connection" is not in valid camel caps format Open
if (!isset($_SESSION['login_as']) && !empty($i_id_last_connection)) {
- Exclude checks
Variable "current_date" is not in valid camel caps format Open
$current_date = api_get_utc_datetime();
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id = (int) $user_id;
- Exclude checks
Missing parameter name Open
* @param $number_of_items
- Exclude checks
Variable "table_user" is not in valid camel caps format Open
$table_user = Database::get_main_table(TABLE_MAIN_USER);
- Exclude checks
Variable "users_online" is not in valid camel caps format Open
return $users_online;
- Exclude checks
Variable "time_limit" is not in valid camel caps format Open
$time_limit = intval($time_limit);
- Exclude checks
Variable "track_online_table" is not in valid camel caps format Open
$query = "SELECT count(login_id) as count FROM $track_online_table track
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
$course_code = Database::escape_string($course_code);
- Exclude checks
Variable "number_of_items" is not in valid camel caps format Open
$number_of_items = (int) $number_of_items;
- Exclude checks
Variable "login_user_id" is not in valid camel caps format Open
while (list($login_user_id, $login_date) = Database::fetch_row($result)) {
- Exclude checks
Variable "time_limit" is not in valid camel caps format Open
$time_limit = Database::escape_string($time_limit);
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
$access_url_id = api_get_current_access_url_id();
- Exclude checks
Variable "_course" is not in valid camel caps format Open
if (is_array($_course) && count($_course) > 0 && !empty($_course['real_id'])) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
UserManager::loginDelete($user_id);
- Exclude checks
Variable "table_user" is not in valid camel caps format Open
$table_user = Database::get_main_table(TABLE_MAIN_USER);
- Exclude checks
Variable "time_limit" is not in valid camel caps format Open
$time_limit = api_get_setting('time_limit_whosonline');
- Exclude checks
Variable "track_online_table" is not in valid camel caps format Open
FROM $track_online_table track
- Exclude checks
Expected 12 spaces after parameter type; 1 found Open
* @param null $direction
- Exclude checks
Variable "time_limit" is not in valid camel caps format Open
$time_limit = api_get_setting('time_limit_whosonline');
- Exclude checks
Variable "online_time" is not in valid camel caps format Open
$current_date = api_get_utc_datetime($online_time);
- Exclude checks
Variable "friend_user_table" is not in valid camel caps format Open
FROM $track_online_table INNER JOIN $friend_user_table
- Exclude checks
Variable "table_user" is not in valid camel caps format Open
INNER JOIN ".$table_user." u ON (u.id = e.login_user_id)
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
WHERE u.active <> ".USER_SOFT_DELETED." AND u.status != ".ANONYMOUS." AND track.access_url_id = $access_url_id AND
- Exclude checks
Variable "table_user" is not in valid camel caps format Open
$table_user = Database::get_main_table(TABLE_MAIN_USER);
- Exclude checks
Variable "online_time" is not in valid camel caps format Open
$online_time = time() - $time_limit * 60;
- Exclude checks
Variable "friend_user_table" is not in valid camel caps format Open
INNER JOIN $friend_user_table ON (friend_user_id = login_user_id)
- Exclude checks
Missing parameter name Open
* @param int User ID
- Exclude checks
Variable "time_limit" is not in valid camel caps format Open
$time_limit,
- Exclude checks
Variable "online_time" is not in valid camel caps format Open
$current_date = api_get_utc_datetime($online_time);
- Exclude checks
Variable "online_time" is not in valid camel caps format Open
$current_date = api_get_utc_datetime($online_time);
- Exclude checks
Variable "current_date" is not in valid camel caps format Open
login_date >= '$current_date'
- Exclude checks
Variable "user_ip" is not in valid camel caps format Open
$user_ip = '';
- Exclude checks
Variable "q_last_connection" is not in valid camel caps format Open
$i_id_last_connection = Database::result($q_last_connection, 0, "login_id");
- Exclude checks
Variable "logout_function" is not in valid camel caps format Open
$logout_function = $uinfo['auth_source'].'_logout';
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id = (int) $user_id;
- Exclude checks
Variable "table_user" is not in valid camel caps format Open
INNER JOIN $table_user u
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
u.id = $user_id
- Exclude checks
Consider putting global function "who_is_online" in a static class Open
function who_is_online(
- Exclude checks
Variable "users_online" is not in valid camel caps format Open
$users_online[] = $login_user_id;
- Exclude checks
Variable "time_limit" is not in valid camel caps format Open
$time_limit = (int) $time_limit;
- Exclude checks
Variable "users_online" is not in valid camel caps format Open
$users_online = [];
- Exclude checks
Variable "login_date" is not in valid camel caps format Open
while (list($login_user_id, $login_date) = Database::fetch_row($result)) {
- Exclude checks
Variable "track_online_table" is not in valid camel caps format Open
$track_online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Exclude checks
Consider putting global function "user_is_online" in a static class Open
function user_is_online($user_id)
- Exclude checks
Variable "time_limit" is not in valid camel caps format Open
if (empty($time_limit)) {
- Exclude checks
Consider putting global function "who_is_online_count" in a static class Open
function who_is_online_count($time_limit = null, $friends = false)
- Exclude checks
Variable "time_limit" is not in valid camel caps format Open
$time_limit = api_get_setting('time_limit_whosonline');
- Exclude checks
Variable "track_online_table" is not in valid camel caps format Open
FROM $track_online_table track INNER JOIN $table_user u
- Exclude checks
Variable "time_limit" is not in valid camel caps format Open
if (empty($time_limit)) {
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
$course_code = Database::escape_string($course_code);
- Exclude checks
Variable "login_user_id" is not in valid camel caps format Open
$users_online[] = $login_user_id;
- Exclude checks
Variable "online_table" is not in valid camel caps format Open
$online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Exclude checks
Variable "user_ip" is not in valid camel caps format Open
$user_ip = Database::escape_string(api_get_real_ip());
- Exclude checks
Variable "login_date" is not in valid camel caps format Open
login_date = '$login_date',
- Exclude checks
Variable "user_ip" is not in valid camel caps format Open
user_ip = '$user_ip',
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
access_url_id = $access_url_id
- Exclude checks
Variable "tbl_track_login" is not in valid camel caps format Open
FROM $tbl_track_login
- Exclude checks
Variable "friend_user_table" is not in valid camel caps format Open
$friend_user_table = Database::get_main_table(TABLE_MAIN_USER_REL_USER);
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
if (-1 != $access_url_id) {
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
if (-1 != $access_url_id) {
- Exclude checks
Variable "current_date" is not in valid camel caps format Open
login_date >= '$current_date' ";
- Exclude checks
Variable "current_date" is not in valid camel caps format Open
login_date >= '$current_date'
- Exclude checks
Variable "current_date" is not in valid camel caps format Open
$current_date = api_get_utc_datetime($online_time);
- Exclude checks
Variable "_course" is not in valid camel caps format Open
if (is_array($_course) && count($_course) > 0 && !empty($_course['real_id'])) {
- Exclude checks
Variable "user_ip" is not in valid camel caps format Open
'$user_ip',
- Exclude checks
Variable "current_date" is not in valid camel caps format Open
$sql = "UPDATE $tbl_track_login SET logout_date='".$current_date."'
- Exclude checks
Variable "time_limit" is not in valid camel caps format Open
$time_limit = intval($time_limit);
- Exclude checks
Variable "number_of_items" is not in valid camel caps format Open
$number_of_items = intval($number_of_items);
- Exclude checks
Variable "track_online_table" is not in valid camel caps format Open
$track_online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
$access_url_id = api_get_current_access_url_id();
- Exclude checks
Variable "users_online" is not in valid camel caps format Open
$users_online = [];
- Exclude checks
Variable "time_limit" is not in valid camel caps format Open
if (empty($time_limit)) {
- Exclude checks
Variable "online_time" is not in valid camel caps format Open
$current_date = api_get_utc_datetime($online_time);
- Exclude checks
Variable "time_limit" is not in valid camel caps format Open
$time_limit = api_get_setting('time_limit_whosonline');
- Exclude checks
Variable "track_online_table" is not in valid camel caps format Open
FROM $track_online_table o
- Exclude checks
Variable "users_online" is not in valid camel caps format Open
return $users_online;
- Exclude checks
Variable "track_online_table" is not in valid camel caps format Open
FROM $track_online_table o
- Exclude checks
Variable "online_table" is not in valid camel caps format Open
$query = "UPDATE $online_table SET
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
session_id = $session_id,
- Exclude checks
Variable "logout_redirect" is not in valid camel caps format Open
function online_logout($user_id = null, $logout_redirect = false)
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$uinfo = api_get_user_info($user_id);
- Exclude checks
Variable "login_user_id" is not in valid camel caps format Open
while (list($login_user_id, $login_date) = Database::fetch_row($result)) {
- Exclude checks
Variable "login_user_id" is not in valid camel caps format Open
$users_online[] = $login_user_id;
- Exclude checks
Variable "track_online_table" is not in valid camel caps format Open
$track_online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Exclude checks
Variable "current_date" is not in valid camel caps format Open
$current_date = api_get_utc_datetime($online_time);
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
$access_url_id = 1;
- Exclude checks
Variable "tbl_track_login" is not in valid camel caps format Open
$tbl_track_login = Database::get_main_table(TABLE_STATISTIC_TRACK_E_LOGIN);
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id = isset($_GET['uid']) ? intval($_GET['uid']) : 0;
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
track.access_url_id = $access_url_id AND
- Exclude checks
Variable "number_of_items" is not in valid camel caps format Open
$number_of_items = intval($number_of_items);
- Exclude checks
Variable "time_limit" is not in valid camel caps format Open
function who_is_online_count($time_limit = null, $friends = false)
- Exclude checks
Variable "number_of_items" is not in valid camel caps format Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
- Exclude checks
Variable "online_time" is not in valid camel caps format Open
$online_time = time() - $time_limit * 60;
- Exclude checks
Variable "time_limit" is not in valid camel caps format Open
$time_limit = intval($time_limit);
- Exclude checks
Consider putting global function "who_is_online_in_this_course_count" in a static class Open
function who_is_online_in_this_course_count(
- Exclude checks
Variable "friend_user_table" is not in valid camel caps format Open
$friend_user_table = Database::get_main_table(TABLE_MAIN_USER_REL_USER);
- Exclude checks
Variable "time_limit" is not in valid camel caps format Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
- Exclude checks
Variable "time_limit" is not in valid camel caps format Open
$online_time = time() - $time_limit * 60;
- Exclude checks
Consider putting global function "whoIsOnlineInThisSessionCount" in a static class Open
function whoIsOnlineInThisSessionCount($timeLimit, $sessionId)
- Exclude checks
Variable "tbl_track_login" is not in valid camel caps format Open
$sql = "UPDATE $tbl_track_login SET logout_date='".$current_date."'
- Exclude checks
Variable "login_date" is not in valid camel caps format Open
while (list($login_user_id, $login_date) = Database::fetch_row($result)) {
- Exclude checks
Variable "current_date" is not in valid camel caps format Open
login_date >= '$current_date' AND
- Exclude checks
Variable "online_table" is not in valid camel caps format Open
$query = "SELECT login_id FROM $online_table WHERE login_user_id = $uid";
- Exclude checks
Variable "table_user" is not in valid camel caps format Open
FROM $track_online_table track INNER JOIN $table_user u
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
function online_logout($user_id = null, $logout_redirect = false)
- Exclude checks
Variable "logout_function" is not in valid camel caps format Open
if (function_exists($logout_function)) {
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
$access_url_id = api_get_current_access_url_id();
- Exclude checks
Variable "online_time" is not in valid camel caps format Open
$current_date = api_get_utc_datetime($online_time);
- Exclude checks
Variable "limit_date" is not in valid camel caps format Open
$limit_date = api_get_utc_datetime($online_time);
- Exclude checks
Variable "number_of_items" is not in valid camel caps format Open
$number_of_items = (int) $number_of_items;
- Exclude checks
Variable "current_date" is not in valid camel caps format Open
o.login_date >= '$current_date'
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
WHERE track.access_url_id = $access_url_id AND
- Exclude checks
Variable "current_date" is not in valid camel caps format Open
$current_date = api_get_utc_datetime($online_time);
- Exclude checks
Variable "track_online_table" is not in valid camel caps format Open
FROM ".$track_online_table." track
- Exclude checks
Variable "track_online_table" is not in valid camel caps format Open
FROM $track_online_table INNER JOIN $friend_user_table
- Exclude checks
Missing parameter name Open
* @param string Course code (could be empty, but then the function returns false)
- Exclude checks
Variable "time_limit" is not in valid camel caps format Open
$time_limit = Database::escape_string($time_limit);
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
if (empty($course_code)) {
- Exclude checks
Variable "users_online" is not in valid camel caps format Open
$users_online[] = $login_user_id;
- Exclude checks
Variable "current_date" is not in valid camel caps format Open
login_date >= '".$current_date."'
- Exclude checks
Variable "friend_user_table" is not in valid camel caps format Open
FROM $track_online_table INNER JOIN $friend_user_table
- Exclude checks
Variable "table_user" is not in valid camel caps format Open
INNER JOIN $table_user u ON (u.id=track.login_user_id)
- Exclude checks
Variable "track_online_table" is not in valid camel caps format Open
$track_online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Exclude checks
Variable "track_online_table" is not in valid camel caps format Open
FROM $track_online_table track
- Exclude checks
Variable "current_date" is not in valid camel caps format Open
login_date >= '".$current_date."' AND
- Exclude checks
Consider putting global function "who_is_online_in_this_course" in a static class Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
- Exclude checks
The variable $login_date is not named in camelCase. Open
function LoginCheck($uid)
{
$uid = (int) $uid;
if (!empty($uid)) {
$online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tbl_track_login is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $limit_date is not named in camelCase. Open
function user_is_online($user_id)
{
$track_online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
$table_user = Database::get_main_table(TABLE_MAIN_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $online_time is not named in camelCase. Open
function user_is_online($user_id)
{
$track_online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
$table_user = Database::get_main_table(TABLE_MAIN_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $table_user is not named in camelCase. Open
function user_is_online($user_id)
{
$track_online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
$table_user = Database::get_main_table(TABLE_MAIN_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $table_user is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $friend_user_table is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $online_time is not named in camelCase. Open
function user_is_online($user_id)
{
$track_online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
$table_user = Database::get_main_table(TABLE_MAIN_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $access_url_id is not named in camelCase. Open
function LoginCheck($uid)
{
$uid = (int) $uid;
if (!empty($uid)) {
$online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $q_last_connection is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_date is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $table_user is not named in camelCase. Open
function user_is_online($user_id)
{
$track_online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
$table_user = Database::get_main_table(TABLE_MAIN_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
function user_is_online($user_id)
{
$track_online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
$table_user = Database::get_main_table(TABLE_MAIN_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $time_limit is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $access_url_id is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $track_online_table is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_date is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $number_of_items is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $users_online is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $online_table is not named in camelCase. Open
function LoginCheck($uid)
{
$uid = (int) $uid;
if (!empty($uid)) {
$online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_ip is not named in camelCase. Open
function LoginCheck($uid)
{
$uid = (int) $uid;
if (!empty($uid)) {
$online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $access_url_id is not named in camelCase. Open
function LoginCheck($uid)
{
$uid = (int) $uid;
if (!empty($uid)) {
$online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_course is not named in camelCase. Open
function LoginCheck($uid)
{
$uid = (int) $uid;
if (!empty($uid)) {
$online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_course is not named in camelCase. Open
function LoginCheck($uid)
{
$uid = (int) $uid;
if (!empty($uid)) {
$online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tbl_track_login is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $logout_redirect is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $access_url_id is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $session_id is not named in camelCase. Open
function LoginCheck($uid)
{
$uid = (int) $uid;
if (!empty($uid)) {
$online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $access_url_id is not named in camelCase. Open
function LoginCheck($uid)
{
$uid = (int) $uid;
if (!empty($uid)) {
$online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_ip is not named in camelCase. Open
function LoginCheck($uid)
{
$uid = (int) $uid;
if (!empty($uid)) {
$online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $q_last_connection is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $time_limit is not named in camelCase. Open
function user_is_online($user_id)
{
$track_online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
$table_user = Database::get_main_table(TABLE_MAIN_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $number_of_items is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $table_user is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $login_user_id is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $friend_user_table is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $i_id_last_connection is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
function user_is_online($user_id)
{
$track_online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
$table_user = Database::get_main_table(TABLE_MAIN_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $track_online_table is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_date is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $time_limit is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_ip is not named in camelCase. Open
function LoginCheck($uid)
{
$uid = (int) $uid;
if (!empty($uid)) {
$online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $access_url_id is not named in camelCase. Open
function LoginCheck($uid)
{
$uid = (int) $uid;
if (!empty($uid)) {
$online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_date is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $time_limit is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_ip is not named in camelCase. Open
function LoginCheck($uid)
{
$uid = (int) $uid;
if (!empty($uid)) {
$online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $login_date is not named in camelCase. Open
function LoginCheck($uid)
{
$uid = (int) $uid;
if (!empty($uid)) {
$online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $logout_function is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $time_limit is not named in camelCase. Open
function user_is_online($user_id)
{
$track_online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
$table_user = Database::get_main_table(TABLE_MAIN_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $limit_date is not named in camelCase. Open
function user_is_online($user_id)
{
$track_online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
$table_user = Database::get_main_table(TABLE_MAIN_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $friend_user_table is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $table_user is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $number_of_items is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_course is not named in camelCase. Open
function LoginCheck($uid)
{
$uid = (int) $uid;
if (!empty($uid)) {
$online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $online_table is not named in camelCase. Open
function LoginCheck($uid)
{
$uid = (int) $uid;
if (!empty($uid)) {
$online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $track_online_table is not named in camelCase. Open
function user_is_online($user_id)
{
$track_online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
$table_user = Database::get_main_table(TABLE_MAIN_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $track_online_table is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $time_limit is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_course is not named in camelCase. Open
function LoginCheck($uid)
{
$uid = (int) $uid;
if (!empty($uid)) {
$online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $i_id_last_connection is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $logout_function is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
function user_is_online($user_id)
{
$track_online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
$table_user = Database::get_main_table(TABLE_MAIN_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $time_limit is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $number_of_items is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $time_limit is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $online_table is not named in camelCase. Open
function LoginCheck($uid)
{
$uid = (int) $uid;
if (!empty($uid)) {
$online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $login_date is not named in camelCase. Open
function LoginCheck($uid)
{
$uid = (int) $uid;
if (!empty($uid)) {
$online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $logout_function is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $access_url_id is not named in camelCase. Open
function user_is_online($user_id)
{
$track_online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
$table_user = Database::get_main_table(TABLE_MAIN_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $track_online_table is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $track_online_table is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $login_date is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $session_id is not named in camelCase. Open
function LoginCheck($uid)
{
$uid = (int) $uid;
if (!empty($uid)) {
$online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $access_url_id is not named in camelCase. Open
function user_is_online($user_id)
{
$track_online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
$table_user = Database::get_main_table(TABLE_MAIN_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $track_online_table is not named in camelCase. Open
function user_is_online($user_id)
{
$track_online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
$table_user = Database::get_main_table(TABLE_MAIN_USER);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_date is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $friend_user_table is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_date is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $number_of_items is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $number_of_items is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $online_time is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $access_url_id is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $users_online is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $online_table is not named in camelCase. Open
function LoginCheck($uid)
{
$uid = (int) $uid;
if (!empty($uid)) {
$online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $logout_redirect is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $time_limit is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_date is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $users_online is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $table_user is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $session_id is not named in camelCase. Open
function LoginCheck($uid)
{
$uid = (int) $uid;
if (!empty($uid)) {
$online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $q_last_connection is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $i_id_last_connection is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tbl_track_login is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $i_id_last_connection is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $time_limit is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $online_time is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $track_online_table is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $_course is not named in camelCase. Open
function LoginCheck($uid)
{
$uid = (int) $uid;
if (!empty($uid)) {
$online_table = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ONLINE);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
function online_logout($user_id = null, $logout_redirect = false)
{
global $extAuthSource;
// Database table definition
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $time_limit is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $access_url_id is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $login_user_id is not named in camelCase. Open
function who_is_online(
$from,
$number_of_items,
$column = null,
$direction = null,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $time_limit is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $online_time is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_date is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $online_time is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_code is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $users_online is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $time_limit is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $track_online_table is not named in camelCase. Open
function who_is_online_in_this_course_count(
$uid,
$time_limit,
$coursecode = null
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_date is not named in camelCase. Open
function whoIsOnlineInThisSessionCount($timeLimit, $sessionId)
{
if (!$sessionId) {
return 0;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $users_online is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_date is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_date is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $login_date is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $login_user_id is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $online_time is not named in camelCase. Open
function who_is_online_in_this_course_count(
$uid,
$time_limit,
$coursecode = null
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $number_of_items is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $track_online_table is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $friend_user_table is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $track_online_table is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $online_time is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $track_online_table is not named in camelCase. Open
function who_is_online_in_this_course_count(
$uid,
$time_limit,
$coursecode = null
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_date is not named in camelCase. Open
function whoIsOnlineInThisSessionCount($timeLimit, $sessionId)
{
if (!$sessionId) {
return 0;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $online_time is not named in camelCase. Open
function who_is_online_in_this_course_count(
$uid,
$time_limit,
$coursecode = null
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_date is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $online_time is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_date is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $number_of_items is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $table_user is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $time_limit is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $login_user_id is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $time_limit is not named in camelCase. Open
function who_is_online_in_this_course_count(
$uid,
$time_limit,
$coursecode = null
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $time_limit is not named in camelCase. Open
function who_is_online_in_this_course_count(
$uid,
$time_limit,
$coursecode = null
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $access_url_id is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $access_url_id is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $time_limit is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_code is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $track_online_table is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $time_limit is not named in camelCase. Open
function who_is_online_in_this_course_count(
$uid,
$time_limit,
$coursecode = null
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $access_url_id is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_date is not named in camelCase. Open
function who_is_online_in_this_course_count(
$uid,
$time_limit,
$coursecode = null
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_code is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_date is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $friend_user_table is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $time_limit is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $number_of_items is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_date is not named in camelCase. Open
function who_is_online_in_this_course_count(
$uid,
$time_limit,
$coursecode = null
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $online_time is not named in camelCase. Open
function whoIsOnlineInThisSessionCount($timeLimit, $sessionId)
{
if (!$sessionId) {
return 0;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $table_user is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $current_date is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $course_code is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $users_online is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $track_online_table is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $access_url_id is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $track_online_table is not named in camelCase. Open
function who_is_online_count($time_limit = null, $friends = false)
{
if (empty($time_limit)) {
$time_limit = api_get_setting('time_limit_whosonline');
} else {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $time_limit is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $track_online_table is not named in camelCase. Open
function who_is_online_in_this_course($from, $number_of_items, $uid, $time_limit, $course_code)
{
if (empty($course_code)) {
return false;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $online_time is not named in camelCase. Open
function whoIsOnlineInThisSessionCount($timeLimit, $sessionId)
{
if (!$sessionId) {
return 0;
}
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}