The function search_users() has an NPath complexity of 386. The configured NPath complexity threshold is 200. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 '71', column '27'). Open
$xajax_response = new xajaxResponse();
- 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 search_users uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$order_clause = ' ORDER BY lastname, firstname';
}
- 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 search_users uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$return .= '<select id="origin" class="form-control" name="NoAssignedUsersList[]" multiple="multiple" size="15" ">';
while ($user = Database :: fetch_array($rs)) {
$person_name = api_get_person_name($user['firstname'], $user['lastname']);
$return .= '<option value="'.$user['user_id'].'" title="'.htmlspecialchars($person_name, ENT_QUOTES).'">'.$person_name.' ('.$user['username'].')</option>';
- 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 search_users uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$sql = "SELECT id as user_id, username, lastname, firstname
FROM $tbl_user user
WHERE user.active <> ".USER_SOFT_DELETED." AND
".(api_sort_by_first_name() ? 'firstname' : 'lastname')." LIKE '$needle%' AND
- 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 search_users uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$return .= '...<br />';
}
- 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
Variable "user_id" is not in valid camel caps format Open
$user_id = isset($_GET['user']) ? (int) $_GET['user'] : 0;
- Exclude checks
Variable "user_anonymous" is not in valid camel caps format Open
$user_anonymous = api_get_anonymous_id();
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
$tool_name = get_lang('Assign users to the platform administrator');
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
$tool_name = get_lang('Assign users to Human Resources manager');
- Exclude checks
Variable "user_info" is not in valid camel caps format Open
$userStatus = $user_info['status'];
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
$tool_name = get_lang('Assign users to superior');
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
$tool_name = get_lang('Assign users to sessions administrator');
- Exclude checks
Variable "user_info" is not in valid camel caps format Open
$user_info = api_get_user_info($user_id);
- Exclude checks
Variable "user_anonymous" is not in valid camel caps format Open
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
- Exclude checks
Missing function doc comment Open
function search_users($needle, $type = 'multiple')
- Exclude checks
Variable "ajax_search" is not in valid camel caps format Open
$ajax_search = false;
- Exclude checks
Variable "tbl_access_url_rel_user" is not in valid camel caps format Open
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
- Exclude checks
Variable "current_user_id" is not in valid camel caps format Open
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
$this_section = SECTION_PLATFORM_ADMIN;
- Exclude checks
Variable "tbl_access_url_rel_user" is not in valid camel caps format Open
$tbl_access_url_rel_user = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
- Exclude checks
Variable "add_type" is not in valid camel caps format Open
$add_type = Security::remove_XSS($_REQUEST['add_type']);
- Exclude checks
Consider putting global function "search_users" in a static class Open
function search_users($needle, $type = 'multiple')
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
$tbl_user = Database::get_main_table(TABLE_MAIN_USER);
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$isAdmin = UserManager::is_admin($user_id);
- Exclude checks
Variable "current_user_id" is not in valid camel caps format Open
$current_user_id = api_get_user_id();
- Exclude checks
Variable "add_type" is not in valid camel caps format Open
$add_type = 'multiple';
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_info = api_get_user_info($user_id);
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user = api_get_user_entity($user_id);
- Exclude checks
Variable "assigned_users_id" is not in valid camel caps format Open
$without_assigned_users = ' AND user.id NOT IN('.implode(',', $assigned_users_id).')';
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
id NOT IN ($user_anonymous, $current_user_id, $user_id)
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$searchForm->addElement('hidden', 'user', $user_id);
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Display::display_header($tool_name);
- Exclude checks
Variable "assigned_users_to_hrm" is not in valid camel caps format Open
$assigned_users_to_hrm = [];
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
user.id NOT IN ($user_anonymous, $current_user_id, $user_id) AND
- Exclude checks
Variable "person_name" is not in valid camel caps format Open
$person_name = api_get_person_name($enreg['firstname'], $enreg['lastname']); ?>
- Exclude checks
Variable "search_user" is not in valid camel caps format Open
status NOT IN(".DRH.', '.SESSIONADMIN.', '.ANONYMOUS.") $search_user AND
- Exclude checks
Variable "person_name" is not in valid camel caps format Open
<?php echo $person_name.' ('.$enreg['username'].')'; ?>
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause = ' ORDER BY lastname, firstname';
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
FROM $tbl_user user
- Exclude checks
Variable "current_user_id" is not in valid camel caps format Open
id NOT IN ($user_anonymous, $current_user_id, $user_id)
- Exclude checks
Variable "assigned_users_id" is not in valid camel caps format Open
$assigned_users_id = array_keys($assigned_users_to_hrm);
- Exclude checks
Variable "temp_conditions" is not in valid camel caps format Open
$temp_conditions = [];
- Exclude checks
Variable "assigned_users_id" is not in valid camel caps format Open
$without_assigned_users = ' user.id NOT IN('.implode(',', $assigned_users_id).') AND ';
- Exclude checks
Variable "temp_conditions" is not in valid camel caps format Open
$temp_conditions[] = $field.' LIKE \'%'.$value.'%\'';
- Exclude checks
Variable "user_anonymous" is not in valid camel caps format Open
id NOT IN ($user_anonymous, $current_user_id, $user_id) AND
- Exclude checks
Variable "assigned_users_to_hrm" is not in valid camel caps format Open
$assigned_users_to_hrm = UserManager::get_users_followed_by_drh($user_id);
- Exclude checks
Variable "without_assigned_users" is not in valid camel caps format Open
$without_assigned_users = ' AND user.id NOT IN('.implode(',', $assigned_users_id).')';
- Exclude checks
Variable "without_assigned_users" is not in valid camel caps format Open
$without_assigned_users AND
- Exclude checks
Variable "tbl_user_rel_access_url" is not in valid camel caps format Open
$tbl_user_rel_access_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
- Exclude checks
Variable "person_name" is not in valid camel caps format Open
$person_name = api_get_person_name($user['firstname'], $user['lastname']);
- Exclude checks
Variable "person_name" is not in valid camel caps format Open
$person_name = api_get_person_name($user['firstname'], $user['lastname']);
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
"dashboard_add_sessions_to_user.php?user=$user_id"
- Exclude checks
Variable "user_anonymous" is not in valid camel caps format Open
user.id NOT IN ($user_anonymous, $current_user_id, $user_id) AND
- Exclude checks
Variable "without_assigned_users" is not in valid camel caps format Open
$without_assigned_users
- Exclude checks
Variable "assigned_users_to_hrm" is not in valid camel caps format Open
$assigned_users_to_hrm = UserManager::getUsersFollowedByStudentBoss($user_id);
- Exclude checks
Variable "xajax_response" is not in valid camel caps format Open
return $xajax_response;
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$assigned_users_to_hrm = UserManager::get_users_followed_by_drh($user_id);
- Exclude checks
Variable "assigned_users_to_hrm" is not in valid camel caps format Open
$assigned_users_to_hrm = UserManager::getUsersFollowedByStudentBoss($user_id);
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$assigned_users_to_hrm = UserManager::get_users_followed_by_drh($user_id);
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause = ' ORDER BY firstname, lastname';
- Exclude checks
Variable "user_anonymous" is not in valid camel caps format Open
user.id NOT IN ($user_anonymous, $current_user_id, $user_id)
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause
- Exclude checks
Variable "tbl_user_rel_access_url" is not in valid camel caps format Open
INNER JOIN '.$tbl_user_rel_access_url.' url_user ON (url_user.user_id=user.id)
- Exclude checks
Variable "without_assigned_users" is not in valid camel caps format Open
$without_assigned_users
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
FROM $tbl_user user
- Exclude checks
Variable "current_user_id" is not in valid camel caps format Open
id NOT IN ($user_anonymous, $current_user_id, $user_id) AND
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
id NOT IN ($user_anonymous, $current_user_id, $user_id) AND
- Exclude checks
Variable "ajax_search" is not in valid camel caps format Open
<?php if ($ajax_search) {
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
echo '<button id="assign_user" class="btn btn--success" type="button" value="" onclick="valide()" >'.$tool_name.'</button>';
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
if (UserManager::is_admin($user_id)) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$assigned_users_to_hrm = UserManager::getUsersFollowedByStudentBoss($user_id);
- Exclude checks
Variable "assigned_users_id" is not in valid camel caps format Open
$assigned_users_id = array_keys($assigned_users_to_hrm);
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$order_clause
- Exclude checks
Variable "person_name" is not in valid camel caps format Open
$return .= '<option value="'.$user['user_id'].'" title="'.htmlspecialchars($person_name, ENT_QUOTES).'">'.$person_name.' ('.$user['username'].')</option>';
- Exclude checks
Variable "search_user" is not in valid camel caps format Open
$search_user = '';
- Exclude checks
Variable "tbl_access_url_rel_user" is not in valid camel caps format Open
LEFT JOIN $tbl_access_url_rel_user au
- Exclude checks
Variable "current_user_id" is not in valid camel caps format Open
user.id NOT IN ($user_anonymous, $current_user_id, $user_id)
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
FROM '.$tbl_user.' user
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
$sql .= " $order_clause LIMIT 11";
- Exclude checks
Variable "person_name" is not in valid camel caps format Open
$return .= '<a href="javascript: void(0);" onclick="javascript: add_user_to_user(\''.$user['user_id'].'\',\''.$person_name.' ('.$user['username'].')'.'\')">'.$person_name.' ('.$user['username'].')</a><br />';
- Exclude checks
Variable "user_list" is not in valid camel caps format Open
UserManager::subscribeUsersToHRManager($user_id, $user_list);
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
"dashboard_add_courses_to_user.php?user=$user_id"
- Exclude checks
Variable "ajax_search" is not in valid camel caps format Open
<form name="formulaire" method="post" action="<?php echo api_get_self(); ?>?user=<?php echo $user_id; ?>" class="form-horizontal" <?php if ($ajax_search) {
- Exclude checks
Variable "assigned_users_to_hrm" is not in valid camel caps format Open
$assigned_users_to_hrm = [];
- Exclude checks
Variable "without_assigned_users" is not in valid camel caps format Open
$without_assigned_users = '';
- Exclude checks
Variable "access_url_id" is not in valid camel caps format Open
access_url_id = '.$access_url_id.' AND
- Exclude checks
Variable "UserList" is not in valid camel caps format Open
$UserList = [];
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
UserManager::subscribeUsersToHRManager($user_id, $user_list);
- Exclude checks
Variable "without_assigned_users" is not in valid camel caps format Open
$without_assigned_users = ' user.id NOT IN('.implode(',', $assigned_users_id).') AND ';
- Exclude checks
Variable "temp_conditions" is not in valid camel caps format Open
if (!empty($temp_conditions)) {
- Exclude checks
Variable "add_type" is not in valid camel caps format Open
<?php if ('multiple' == $add_type) {
- Exclude checks
Closing brace indented incorrectly; expected 12 spaces, found 24 Open
} ?>
- Exclude checks
Variable "person_name" is not in valid camel caps format Open
$person_name = api_get_person_name($enreg['firstname'], $enreg['lastname']); ?>
- Exclude checks
Variable "assigned_users_to_hrm" is not in valid camel caps format Open
$assigned_users_id = array_keys($assigned_users_to_hrm);
- Exclude checks
Variable "assigned_users_to_hrm" is not in valid camel caps format Open
$assigned_users_to_hrm = UserManager::get_users_followed_by_drh($user_id);
- Exclude checks
Variable "search_user" is not in valid camel caps format Open
$search_user
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
- Exclude checks
Variable "assigned_users_id" is not in valid camel caps format Open
if (count($assigned_users_id) > 0) {
- Exclude checks
Variable "user_anonymous" is not in valid camel caps format Open
id NOT IN ($user_anonymous, $current_user_id, $user_id)
- Exclude checks
Variable "person_name" is not in valid camel caps format Open
$return .= '<a href="javascript: void(0);" onclick="javascript: add_user_to_user(\''.$user['user_id'].'\',\''.$person_name.' ('.$user['username'].')'.'\')">'.$person_name.' ('.$user['username'].')</a><br />';
- Exclude checks
Variable "xajax_response" is not in valid camel caps format Open
$xajax_response->addAssign(
- Exclude checks
Variable "assigned_users_id" is not in valid camel caps format Open
if (count($assigned_users_id) > 0) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
<form name="formulaire" method="post" action="<?php echo api_get_self(); ?>?user=<?php echo $user_id; ?>" class="form-horizontal" <?php if ($ajax_search) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
UserManager::subscribeBossToUsers($user_id, $user_list);
- Exclude checks
Variable "user_list" is not in valid camel caps format Open
UserManager::subscribeBossToUsers($user_id, $user_list);
- Exclude checks
Variable "assigned_users_to_hrm" is not in valid camel caps format Open
$assigned_users_id = array_keys($assigned_users_to_hrm);
- Exclude checks
Variable "without_assigned_users" is not in valid camel caps format Open
$without_assigned_users = '';
- Exclude checks
Variable "current_user_id" is not in valid camel caps format Open
user.id NOT IN ($user_anonymous, $current_user_id, $user_id) AND
- Exclude checks
Variable "person_name" is not in valid camel caps format Open
<option value="<?php echo $enreg['user_id']; ?>" <?php echo 'title="'.htmlspecialchars($person_name, ENT_QUOTES).'"'; ?>>
- Exclude checks
Closing brace indented incorrectly; expected 8 spaces, found 24 Open
} else {
- Exclude checks
Variable "xajax_response" is not in valid camel caps format Open
$xajax_response = new xajaxResponse();
- Exclude checks
Variable "person_name" is not in valid camel caps format Open
$return .= '<option value="'.$user['user_id'].'" title="'.htmlspecialchars($person_name, ENT_QUOTES).'">'.$person_name.' ('.$user['username'].')</option>';
- Exclude checks
Variable "temp_conditions" is not in valid camel caps format Open
$sqlConditions .= implode(' AND ', $temp_conditions);
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
FROM $tbl_user user
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
user.id NOT IN ($user_anonymous, $current_user_id, $user_id)
- Exclude checks
Variable "xajax_response" is not in valid camel caps format Open
$xajax_response->addAssign('ajax_list_users_multiple', 'innerHTML', api_utf8_encode($return));
- Exclude checks
Variable "xajax_response" is not in valid camel caps format Open
$xajax_response->addAssign('ajax_list_users_multiple', 'innerHTML', api_utf8_encode($return));
- Exclude checks
Variable "user_list" is not in valid camel caps format Open
$user_list = isset($_POST['UsersList']) ? $_POST['UsersList'] : null;
- Exclude checks
Variable "search_user" is not in valid camel caps format Open
$search_user = 'AND '.(api_sort_by_first_name() ? 'firstname' : 'lastname')." LIKE '$needle%'";
- Exclude checks
Variable "assigned_users_to_hrm" is not in valid camel caps format Open
if (is_array($assigned_users_to_hrm)) {
- Exclude checks
Variable "person_name" is not in valid camel caps format Open
<?php echo $person_name.' ('.$enreg['username'].')'; ?>
- Exclude checks
Variable "tbl_access_url_rel_user" is not in valid camel caps format Open
LEFT JOIN $tbl_access_url_rel_user au ON (au.user_id = user.id)
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
FROM $tbl_user user
- Exclude checks
Variable "without_assigned_users" is not in valid camel caps format Open
$without_assigned_users
- 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 "user_id" is not in valid camel caps format Open
$searchForm = new FormValidator('search', 'get', api_get_self().'?user='.$user_id);
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$assigned_users_to_hrm = UserManager::getUsersFollowedByStudentBoss($user_id);
- Exclude checks
Variable "assigned_users_to_hrm" is not in valid camel caps format Open
foreach ($assigned_users_to_hrm as $enreg) {
- Exclude checks
Variable "person_name" is not in valid camel caps format Open
<option value="<?php echo $enreg['user_id']; ?>" <?php echo 'title="'.htmlspecialchars($person_name, ENT_QUOTES).'"'; ?>>
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 24 Open
} ?>
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 24 Open
} ?>
- Exclude checks
Closing brace indented incorrectly; expected 8 spaces, found 24 Open
} else {
- Exclude checks
Closing brace indented incorrectly; expected 12 spaces, found 24 Open
} ?>
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 24 Open
} else {
- Exclude checks
Closing brace indented incorrectly; expected 46 spaces, found 0 Open
}?>>
- Exclude checks
The variable $user_id is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $without_assigned_users is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $assigned_users_id is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $assigned_users_to_hrm is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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_user_id is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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_anonymous is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $xajax_response is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $order_clause is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $xajax_response is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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_user_id is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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_user_rel_access_url is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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_user is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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_access_url_rel_user is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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_anonymous is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $without_assigned_users is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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_user_rel_access_url is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $person_name is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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_access_url_rel_user is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $assigned_users_to_hrm is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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_user is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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_anonymous is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $order_clause is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $without_assigned_users is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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_user is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $without_assigned_users is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $person_name is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $assigned_users_id is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $order_clause is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $person_name is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $xajax_response is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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_user_id is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $xajax_response is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $assigned_users_to_hrm is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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_user is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $order_clause is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $person_name is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $xajax_response is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $assigned_users_id is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $person_name is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $assigned_users_to_hrm is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $order_clause is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 $person_name is not named in camelCase. Open
function search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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 search_users($needle, $type = 'multiple')
{
global $tbl_access_url_rel_user, $tbl_user, $user_anonymous, $current_user_id, $user_id, $userStatus;
$xajax_response = new xajaxResponse();
- 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();
}
}