The function return_navigation_array() has an NPath complexity of 9525648. The configured NPath complexity threshold is 200. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 return_breadcrumb() has an NPath complexity of 450882432. The configured NPath complexity threshold is 200. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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
Avoid using undefined variables such as '$navigation_item' which will lead to PHP notices. Open
$navigation_item['title'] = $userinfo['complete_name'];
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$navigation_item' which will lead to PHP notices. Open
$navigation_item['title'] = get_lang('Gallery');
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$navigation_item' which will lead to PHP notices. Open
$breadcrumb_step['title'] = Security::remove_XSS($navigation_item['title']);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$navigation_item' which will lead to PHP notices. Open
$navigation_item['url'] = $breadcrumb_step['url'].$sep.$courseParams;
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$navigation_item' which will lead to PHP notices. Open
$navigation_item['title'] = get_lang('Folders of users');
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$navigation_item' which will lead to PHP notices. Open
$navigation_item['title'] = get_lang('Chat conversations history');
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$home_link' which will lead to PHP notices. Open
$lis .= Display::tag('li', $home_link);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$navigation_item' which will lead to PHP notices. Open
$navigation_item['url'] = '#';
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$navigation_item' which will lead to PHP notices. Open
$navigation_item['title'] = get_lang('Flash');
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$navigation_item' which will lead to PHP notices. Open
$navigation_item['title'] = cut($navigation_item['title'], MAX_LENGTH_BREADCRUMB);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$navigation_item' which will lead to PHP notices. Open
$navigation_item['title'] = cut($navigation_item['title'], MAX_LENGTH_BREADCRUMB);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$navigation_item' which will lead to PHP notices. Open
$navigation_item['title'] = get_lang('Folders of users');
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$navigation_item' which will lead to PHP notices. Open
$navigation_item['title'] = get_lang('Audio');
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$home_link' which will lead to PHP notices. Open
if (!empty($home_link)) {
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$navigation_item' which will lead to PHP notices. Open
$breadcrumb_step['title'] = cut($navigation_item['title'], MAX_LENGTH_BREADCRUMB);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$navigation_item' which will lead to PHP notices. Open
$navigation[] = $navigation_item;
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$home_link' which will lead to PHP notices. Open
$lis .= Display::tag('li', $home_link);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$navigation_item' which will lead to PHP notices. Open
$navigation_item['title'] = get_lang('Video');
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$navigation_item' which will lead to PHP notices. Open
$navigation_item['url'] = '#';
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$navigation_item' which will lead to PHP notices. Open
$navigation_item['url'] = '#';
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$navigation_item' which will lead to PHP notices. Open
$navigation[] = $navigation_item;
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$navigation_item' which will lead to PHP notices. Open
$navigation_item['title'] = Security::remove_XSS($navigation_item['title']);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$navigation_item' which will lead to PHP notices. Open
$navigation_item['url'] = $breadcrumb_step['url'].$sep.api_get_cidreq();
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$navigation_item' which will lead to PHP notices. Open
$navigation_item['title'] = $nameTools;
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$navigation_item' which will lead to PHP notices. Open
$navigation_item['title'] = Security::remove_XSS($navigation_item['title']);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$home_link' which will lead to PHP notices. Open
if (!empty($home_link)) {
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$navigation_item' which will lead to PHP notices. Open
$navigation_item['title'] = $breadcrumb_step['name'];
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$navigation_item' which will lead to PHP notices. Open
$navigation_item['title'] = get_lang('Images');
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
The method return_navigation_array uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
if (api_is_teacher() || api_is_drh() || api_is_session_admin() || api_is_student_boss()) {
$menu_navigation['session_my_space'] = $possible_tabs['session_my_space'];
} else {
$menu_navigation['session_my_space'] = $possible_tabs['session_my_progress'];
- 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 return_breadcrumb uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$additionalBlocks .= Display::return_message(
get_lang('You are already registered but your allowed access time has expired.'),
'warning'
);
- 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 return_breadcrumb uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
if (!empty($home_link)) {
$lis .= Display::tag('li', $home_link);
}
}
- 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 return_breadcrumb uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$navigation_item['url'] = '#';
}
- 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 getOnlineUsersInCourseCount uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$numberOnlineInCourse = who_is_online_in_this_course_count(
$userId,
api_get_setting('time_limit_whosonline'),
$courseInfo['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 return_navigation_array uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$menu_navigation['session_my_space'] = $possible_tabs['session_my_progress'];
}
- 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 return_breadcrumb uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$final_navigation[$index] = '<a href="'.$navigation_info['url'].'" target="_self">'.$navigation_info['title'].'</a>';
}
- 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 return_navigation_array uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$menu_navigation['platform_admin'] = $possible_tabs['platform_admin'];
}
- 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 return_navigation_array uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$menu_navigation['mycourses'] = $possible_tabs['mycourses'];
}
- 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 getOnlineUsersCount uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$number = who_is_online_count(api_get_setting('time_limit_whosonline'));
apcu_store($apcVar, $number, 15);
}
- 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 return_navigation_array uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$menu_navigation['dashboard'] = isset($possible_tabs['dashboard']) ? $possible_tabs['dashboard'] : null;
}
- 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 return_navigation_array uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
if (isset($possible_tabs[$tab['subkey']])) {
$possible_tabs[$tab['subkey']]['url'] = api_get_path(WEB_PATH).$possible_tabs[$tab['subkey']]['url'];
$menu_navigation[$tab['subkey']] = $possible_tabs[$tab['subkey']];
}
- 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 getOnlineUsersCount uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$number = who_is_online_count(api_get_setting('time_limit_whosonline'));
}
- 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 return_navigation_array uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$menu_navigation['mygradebook'] = $possible_tabs['mygradebook'];
}
- 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 return_navigation_array uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$menu_navigation['social'] = isset($possible_tabs['social']) ? $possible_tabs['social'] : null;
}
- 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 return_navigation_array uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$menu_navigation['myprofile'] = $possible_tabs['myprofile'];
}
- 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 return_navigation_array uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$menu_navigation['myagenda'] = $possible_tabs['myagenda'];
}
- 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 return_navigation_array uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$navigation['session_my_space'] = $possible_tabs['session_my_progress'];
}
- 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 return_navigation_array uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
// Show custom tabs that are specifically marked as public
$customTabs = getCustomTabs();
if (!empty($customTabs)) {
foreach ($customTabs as $tab) {
- 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 return_navigation_array uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$menu_navigation[SECTION_CAMPUS] = $possible_tabs[SECTION_CAMPUS];
}
- 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 return_navigation_array uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
if (isset($possible_tabs[$tab['subkey']])) {
$possible_tabs[$tab['subkey']]['url'] = api_get_path(WEB_PATH).$possible_tabs[$tab['subkey']]['url'];
$menu_navigation[$tab['subkey']] = $possible_tabs[$tab['subkey']];
}
- 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 return_breadcrumb uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$navigation_item['url'] = '#';
}
- 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 getOnlineUsersInCourseCount uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$numberOnlineInCourse = who_is_online_in_this_course_count(
$userId,
api_get_setting('time_limit_whosonline'),
$courseInfo['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
Avoid unused parameters such as '$language_file'. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
- 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 $language_file is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 "possible_tabs" is not in valid camel caps format Open
$navigation['social'] = isset($possible_tabs['social']) ? $possible_tabs['social'] : null;
- Exclude checks
Variable "language_file" is not in valid camel caps format Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
- Exclude checks
Consider putting global function "return_navigation_array" in a static class Open
function return_navigation_array()
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$possible_tabs = get_tabs();
- Exclude checks
Variable "menu_navigation" is not in valid camel caps format Open
$menu_navigation['mygradebook'] = $possible_tabs['mygradebook'];
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$navigation['session_my_space'] = $possible_tabs['session_my_space'];
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$navigation['platform_admin'] = $possible_tabs['platform_admin'];
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$possible_tabs[$tab['subkey']]['url'] = api_get_path(WEB_PATH).$possible_tabs[$tab['subkey']]['url'];
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
if (isset($breadcrumb_step['type']) && 'right' == $breadcrumb_step['type']) {
- Exclude checks
Variable "navigation_item" is not in valid camel caps format Open
$navigation_item['title'] = get_lang('Folders of users');
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
$userinfo = api_get_user_info(substr($breadcrumb_step['name'], 8));
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
} elseif ('flash' == $breadcrumb_step['name']) {
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
} elseif ('gallery' == $breadcrumb_step['name']) {
- Exclude checks
Consider putting global function "getCustomTabs" in a static class Open
function getCustomTabs()
- Exclude checks
Variable "number_online_in_course" is not in valid camel caps format Open
if ($number_online_in_course &&
- Exclude checks
Variable "number_online_in_course" is not in valid camel caps format Open
.' '.$number_online_in_course.' </a></li>';
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$menu_navigation['session_my_space'] = $possible_tabs['session_my_space'];
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$menu_navigation['dashboard'] = isset($possible_tabs['dashboard']) ? $possible_tabs['dashboard'] : null;
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$possible_tabs[$tab['subkey']]['url'] = api_get_path(WEB_PATH).$possible_tabs[$tab['subkey']]['url'];
- Exclude checks
Variable "menu_navigation" is not in valid camel caps format Open
'menu_navigation' => $menu_navigation,
- Exclude checks
Variable "web_course_path" is not in valid camel caps format Open
$web_course_path = api_get_path(WEB_COURSE_PATH);
- Exclude checks
Variable "course_title" is not in valid camel caps format Open
.' '.$course_title.$sessionName;
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$menu_navigation['social'] = isset($possible_tabs['social']) ? $possible_tabs['social'] : null;
- Exclude checks
Variable "menu_navigation" is not in valid camel caps format Open
$menu_navigation['platform_admin'] = $possible_tabs['platform_admin'];
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
if (isset($possible_tabs[$tab['subkey']])) {
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$navigation[$tab['subkey']] = $possible_tabs[$tab['subkey']];
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id = api_get_user_id();
- Exclude checks
Variable "navigation_item" is not in valid camel caps format Open
$navigation_item['title'] = get_lang('Video');
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$navigation[SECTION_CAMPUS] = $possible_tabs[SECTION_CAMPUS];
- Exclude checks
Variable "menu_navigation" is not in valid camel caps format Open
$menu_navigation['myagenda'] = $possible_tabs['myagenda'];
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$menu_navigation['session_my_space'] = $possible_tabs['session_my_progress'];
- Exclude checks
Variable "menu_navigation" is not in valid camel caps format Open
$menu_navigation['social'] = isset($possible_tabs['social']) ? $possible_tabs['social'] : null;
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$navigation['dashboard'] = isset($possible_tabs['dashboard']) ? $possible_tabs['dashboard'] : null;
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$navigation[$tab['subkey']] = $possible_tabs[$tab['subkey']];
- Exclude checks
Variable "menu_navigation" is not in valid camel caps format Open
$menu_navigation[$tab['subkey']] = $possible_tabs[$tab['subkey']];
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$menu_navigation[$tab['subkey']] = $possible_tabs[$tab['subkey']];
- Exclude checks
Variable "course_title" is not in valid camel caps format Open
$course_title = cut($courseInfo['name'], MAX_LENGTH_BREADCRUMB);
- Exclude checks
Variable "navigation_item" is not in valid camel caps format Open
$navigation_item['url'] = '#';
- Exclude checks
Variable "menu_navigation" is not in valid camel caps format Open
$menu_navigation[SECTION_CAMPUS] = $possible_tabs[SECTION_CAMPUS];
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$navigation[SECTION_CATALOG] = $possible_tabs[SECTION_CATALOG];
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$menu_navigation['mygradebook'] = $possible_tabs['mygradebook'];
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
if ('#' != $breadcrumb_step['url']) {
- Exclude checks
Variable "navigation_item" is not in valid camel caps format Open
$navigation_item['title'] = get_lang('Chat conversations history');
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
} elseif ('images' == $breadcrumb_step['name']) {
- Exclude checks
Consider putting global function "accessToWhoIsOnline" in a static class Open
function accessToWhoIsOnline()
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
('true' === api_get_setting('showonline', 'users') && $user_id) ||
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
('true' == api_get_setting('showonline', 'world') && !$user_id) ||
- Exclude checks
Variable "menu_navigation" is not in valid camel caps format Open
$menu_navigation['session_my_space'] = $possible_tabs['session_my_space'];
- Exclude checks
Variable "menu_navigation" is not in valid camel caps format Open
$menu_navigation['session_my_space'] = $possible_tabs['session_my_progress'];
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$menu_navigation['platform_admin'] = $possible_tabs['platform_admin'];
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
$courseParams = false === strpos($breadcrumb_step['url'], 'cidReq') ? api_get_cidreq() : '';
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
} elseif (strstr($breadcrumb_step['name'], 'shared_folder_session_')) {
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$course_id = api_get_course_int_id();
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$number_online_in_course = getOnlineUsersInCourseCount($user_id, $courseInfo);
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$navigation['mygradebook'] = $possible_tabs['mygradebook'];
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
isset($possible_tabs[$tab['subkey']])
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$possible_tabs[$tab['subkey']]['url'] = api_get_path(WEB_PATH).$possible_tabs[$tab['subkey']]['url'];
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
isset($possible_tabs[$tab['subkey']]) &&
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$possible_tabs[$tab['subkey']]['url'] = api_get_path(WEB_PATH).$possible_tabs[$tab['subkey']]['url'];
- Exclude checks
Consider putting global function "return_breadcrumb" in a static class Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
if (isset($breadcrumb_step['type']) && 'right' == $breadcrumb_step['type']) {
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
} elseif ('chat_files' == $breadcrumb_step['name']) {
- Exclude checks
Variable "number_online_in_course" is not in valid camel caps format Open
$number_online_in_course = getOnlineUsersInCourseCount($user_id, $courseInfo);
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$possible_tabs[$tab['subkey']]['url'] = api_get_path(WEB_PATH).$possible_tabs[$tab['subkey']]['url'];
- Exclude checks
Variable "navigation_item" is not in valid camel caps format Open
$navigation_item['title'] = $breadcrumb_step['name'];
- Exclude checks
Variable "navigation_item" is not in valid camel caps format Open
$navigation_item['title'] = get_lang('Audio');
- Exclude checks
Variable "navigation_item" is not in valid camel caps format Open
$navigation_item['title'] = get_lang('Flash');
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id = api_get_user_id();
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
('true' == api_get_setting('showonline', 'users') && $user_id)
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$possible_tabs[$tab['subkey']]['url'] = api_get_path(WEB_PATH).$possible_tabs[$tab['subkey']]['url'];
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
if (isset($possible_tabs[$tab['subkey']])) {
- Exclude checks
Variable "menu_navigation" is not in valid camel caps format Open
$menu_navigation[$tab['subkey']] = $possible_tabs[$tab['subkey']];
- Exclude checks
Variable "navigation_item" is not in valid camel caps format Open
$navigation_item['title'] = get_lang('Gallery');
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$navigation['myagenda'] = $possible_tabs['myagenda'];
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$menu_navigation[$tab['subkey']] = $possible_tabs[$tab['subkey']];
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
'possible_tabs' => $possible_tabs,
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id
- Exclude checks
Variable "web_course_path" is not in valid camel caps format Open
'url' => $web_course_path.$courseInfo['path'].'/index.php?id_session='.$sessionId,
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
$navigation_item['url'] = $breadcrumb_step['url'].$sep.$courseParams;
- Exclude checks
Variable "navigation_item" is not in valid camel caps format Open
$navigation_item['title'] = cut($navigation_item['title'], MAX_LENGTH_BREADCRUMB);
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
if (('true' === api_get_setting('showonline', 'world') && !$user_id) ||
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$navigation['mycourses'] = $possible_tabs['mycourses'];
- Exclude checks
Variable "menu_navigation" is not in valid camel caps format Open
$menu_navigation['mycourses'] = $possible_tabs['mycourses'];
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$menu_navigation['social'] = isset($possible_tabs['social']) ? $possible_tabs['social'] : null;
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$navigation['dashboard'] = isset($possible_tabs['dashboard']) ? $possible_tabs['dashboard'] : null;
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
if ('shared_folder' == $breadcrumb_step['name']) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
('true' === api_get_setting('showonline', 'course') && $user_id && $course_id)
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$possible_tabs[$tab['subkey']]['url'] = api_get_path(WEB_PATH).$possible_tabs[$tab['subkey']]['url'];
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
foreach ($interbreadcrumb as $breadcrumb_step) {
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
$sep = strrchr($breadcrumb_step['url'], '?') ? '&' : '?';
- Exclude checks
Variable "navigation_item" is not in valid camel caps format Open
$navigation_item['url'] = $breadcrumb_step['url'].$sep.$courseParams;
- Exclude checks
Variable "navigation_item" is not in valid camel caps format Open
$navigation_item['title'] = get_lang('Folders of users');
- Exclude checks
Variable "menu_navigation" is not in valid camel caps format Open
$menu_navigation['myprofile'] = $possible_tabs['myprofile'];
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$menu_navigation['myprofile'] = $possible_tabs['myprofile'];
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$menu_navigation['myagenda'] = $possible_tabs['myagenda'];
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$possible_tabs[$tab['subkey']]['url'] = api_get_path(WEB_PATH).$possible_tabs[$tab['subkey']]['url'];
- Exclude checks
Variable "navigation_item" is not in valid camel caps format Open
$navigation_item['title'] = get_lang('Images');
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
} elseif ('video' == $breadcrumb_step['name']) {
- Exclude checks
Consider putting global function "return_logo" in a static class Open
function return_logo($theme = '', $responsive = true)
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
('true' === api_get_setting('showonline', 'course') && $user_id && $course_id)
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id = api_get_user_id();
- Exclude checks
Variable "menu_navigation" is not in valid camel caps format Open
$menu_navigation = [];
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$navigation['myprofile'] = $possible_tabs['myprofile'];
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$navigation['session_my_space'] = $possible_tabs['session_my_progress'];
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$navigation['social'] = isset($possible_tabs['social']) ? $possible_tabs['social'] : null;
- Exclude checks
Variable "menu_navigation" is not in valid camel caps format Open
$menu_navigation['dashboard'] = isset($possible_tabs['dashboard']) ? $possible_tabs['dashboard'] : null;
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$menu_navigation['dashboard'] = isset($possible_tabs['dashboard']) ? $possible_tabs['dashboard'] : null;
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
$navigation_item['title'] = $breadcrumb_step['name'];
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
} elseif (strstr($breadcrumb_step['name'], 'sf_user_')) {
- Exclude checks
Variable "navigation_item" is not in valid camel caps format Open
$navigation_item['title'] = $userinfo['complete_name'];
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
} elseif ('audio' == $breadcrumb_step['name']) {
- Exclude checks
Consider putting global function "returnNotificationMenu" in a static class Open
function returnNotificationMenu()
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$menu_navigation[SECTION_CAMPUS] = $possible_tabs[SECTION_CAMPUS];
- Exclude checks
Variable "possible_tabs" is not in valid camel caps format Open
$menu_navigation['mycourses'] = $possible_tabs['mycourses'];
- Exclude checks
Variable "navigation_item" is not in valid camel caps format Open
$navigation_item['title'] = cut($navigation_item['title'], MAX_LENGTH_BREADCRUMB);
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
$sep = (strrchr($breadcrumb_step['url'], '?') ? '&' : '?');
- Exclude checks
Variable "navigation_info" is not in valid camel caps format Open
foreach ($navigation as $index => $navigation_info) {
- Exclude checks
Variable "navigation_info" is not in valid camel caps format Open
$final_navigation[$index] = '<a href="'.$navigation_info['url'].'" target="_self">'.$navigation_info['title'].'</a>';
- Exclude checks
Variable "final_navigation_count" is not in valid camel caps format Open
$final_navigation_count = count($final_navigation);
- Exclude checks
Variable "home_link" is not in valid camel caps format Open
if (!empty($home_link)) {
- Exclude checks
Variable "navigation_info" is not in valid camel caps format Open
if ('#' == $navigation_info['url']) {
- Exclude checks
Variable "navigation_info" is not in valid camel caps format Open
$final_navigation[$index] = '<a href="'.$navigation_info['url'].'" target="_self">'.$navigation_info['title'].'</a>';
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
foreach ($interbreadcrumb as $breadcrumb_step) {
- Exclude checks
Variable "navigation_right" is not in valid camel caps format Open
$navigation_right[] = $breadcrumb_step;
- Exclude checks
Variable "final_navigation" is not in valid camel caps format Open
$final_navigation[$index] = '<a href="'.$navigation_info['url'].'" target="_self">'.$navigation_info['title'].'</a>';
- Exclude checks
Variable "view_as_student_link" is not in valid camel caps format Open
if (!empty($learnPath) && !empty($view_as_student_link)) {
- Exclude checks
Variable "navigation_item" is not in valid camel caps format Open
$breadcrumb_step['title'] = cut($navigation_item['title'], MAX_LENGTH_BREADCRUMB);
- Exclude checks
Variable "final_navigation" is not in valid camel caps format Open
$final_navigation[$index] = $navigation_info['title'];
- Exclude checks
Variable "navigation_info" is not in valid camel caps format Open
$final_navigation[$index] = $navigation_info['title'];
- Exclude checks
Variable "final_navigation" is not in valid camel caps format Open
if (!empty($final_navigation)) {
- Exclude checks
Variable "navigation_item" is not in valid camel caps format Open
$navigation[] = $navigation_item;
- Exclude checks
Variable "final_navigation" is not in valid camel caps format Open
$final_navigation = [];
- Exclude checks
Variable "view_as_student_link" is not in valid camel caps format Open
$view_as_student_link = null;
- Exclude checks
Variable "navigation_item" is not in valid camel caps format Open
$navigation_item['title'] = Security::remove_XSS($navigation_item['title']);
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
if (isset($breadcrumb_step['type']) && 'right' == $breadcrumb_step['type']) {
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
$breadcrumb_step['title'] = Security::remove_XSS($navigation_item['title']);
- Exclude checks
Variable "navigation_item" is not in valid camel caps format Open
$breadcrumb_step['title'] = Security::remove_XSS($navigation_item['title']);
- Exclude checks
Variable "bread_check" is not in valid camel caps format Open
if (!empty($bread_check)) {
- Exclude checks
Variable "final_navigation_count" is not in valid camel caps format Open
if ($final_navigation_count - 1 > $i) {
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
if ('#' != $breadcrumb_step['url']) {
- Exclude checks
Variable "home_link" is not in valid camel caps format Open
$lis .= Display::tag('li', $home_link);
- Exclude checks
Variable "navigation_right" is not in valid camel caps format Open
foreach ($navigation_right as $item) {
- Exclude checks
Variable "navigation_right" is not in valid camel caps format Open
$navigation_right = [];
- Exclude checks
Variable "navigation_item" is not in valid camel caps format Open
$navigation_item['url'] = '#';
- Exclude checks
Variable "navigation_item" is not in valid camel caps format Open
$navigation_item['title'] = $nameTools;
- Exclude checks
Variable "view_as_student_link" is not in valid camel caps format Open
$view_as_student_link = api_display_tool_view_option();
- Exclude checks
Variable "view_as_student_link" is not in valid camel caps format Open
$view_as_student_link = '';
- Exclude checks
Variable "final_navigation" is not in valid camel caps format Open
$final_navigation_count = count($final_navigation);
- Exclude checks
Variable "navigation_item" is not in valid camel caps format Open
$navigation_item['title'] = Security::remove_XSS($navigation_item['title']);
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
$breadcrumb_step['title'] = cut($navigation_item['title'], MAX_LENGTH_BREADCRUMB);
- Exclude checks
Variable "home_link" is not in valid camel caps format Open
if (!empty($home_link)) {
- Exclude checks
Variable "home_link" is not in valid camel caps format Open
$lis .= Display::tag('li', $home_link);
- Exclude checks
Variable "view_as_student_link" is not in valid camel caps format Open
$html .= Display::tag('div', $view_as_student_link, ['id' => 'view_as_link', 'class' => 'pull-right']);
- Exclude checks
Variable "navigation_right" is not in valid camel caps format Open
if (!empty($navigation_right)) {
- Exclude checks
Consider putting global function "getOnlineUsersCount" in a static class Open
function getOnlineUsersCount()
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
$navigation_right[] = $breadcrumb_step;
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
if ($user_id && !empty($courseInfo)) {
- Exclude checks
Variable "extra_class" is not in valid camel caps format Open
$extra_class = isset($item['class']) ? $item['class'] : null;
- Exclude checks
Variable "navigation_info" is not in valid camel caps format Open
if (!empty($navigation_info['title'])) {
- Exclude checks
Variable "final_navigation" is not in valid camel caps format Open
if (!empty($final_navigation)) {
- Exclude checks
Variable "final_navigation" is not in valid camel caps format Open
foreach ($final_navigation as $bread) {
- Exclude checks
Variable "extra_class" is not in valid camel caps format Open
['class' => $extra_class.' pull-right']
- Exclude checks
Consider putting global function "getOnlineUsersInSessionCount" in a static class Open
function getOnlineUsersInSessionCount($sessionId)
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
if (isset($breadcrumb_step['type']) && 'right' == $breadcrumb_step['type']) {
- Exclude checks
Variable "navigation_item" is not in valid camel caps format Open
$navigation_item['url'] = $breadcrumb_step['url'].$sep.api_get_cidreq();
- Exclude checks
Variable "navigation_item" is not in valid camel caps format Open
$navigation_item['url'] = '#';
- Exclude checks
Variable "bread_check" is not in valid camel caps format Open
$bread_check = trim(strip_tags($bread));
- Exclude checks
Consider putting global function "getOnlineUsersInCourseCount" in a static class Open
function getOnlineUsersInCourseCount($userId, $courseInfo)
- Exclude checks
Variable "breadcrumb_step" is not in valid camel caps format Open
$navigation_item['url'] = $breadcrumb_step['url'].$sep.api_get_cidreq();
- Exclude checks
Variable "navigation_item" is not in valid camel caps format Open
$navigation[] = $navigation_item;
- Exclude checks
Variable "view_as_student_link" is not in valid camel caps format Open
if (!empty($view_as_student_link)) {
- Exclude checks
The variable $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $menu_navigation is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $navigation_item is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_item is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_item is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $menu_navigation is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $menu_navigation is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $menu_navigation is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $final_navigation is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_right is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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_online_in_course is not named in camelCase. Open
function returnNotificationMenu()
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$sessionId = api_get_session_id();
- 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 returnNotificationMenu()
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$sessionId = api_get_session_id();
- 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 $menu_navigation is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $menu_navigation is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $menu_navigation is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $navigation_item is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_item is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $view_as_student_link is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $home_link is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $home_link is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $home_link is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $extra_class is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $view_as_student_link is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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_online_in_course is not named in camelCase. Open
function returnNotificationMenu()
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$sessionId = api_get_session_id();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $web_course_path is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $web_course_path is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 returnNotificationMenu()
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$sessionId = api_get_session_id();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_item is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_info is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $final_navigation is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_item is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_item is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_item is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_info is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $final_navigation is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $home_link is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $view_as_student_link is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $extra_class is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 accessToWhoIsOnline()
{
$user_id = api_get_user_id();
$course_id = api_get_course_int_id();
$access = 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $menu_navigation is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_item is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_item is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $view_as_student_link is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_item is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 accessToWhoIsOnline()
{
$user_id = api_get_user_id();
$course_id = api_get_course_int_id();
$access = 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 $user_id is not named in camelCase. Open
function returnNotificationMenu()
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$sessionId = api_get_session_id();
- 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 $navigation_info is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $menu_navigation is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $view_as_student_link is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $menu_navigation is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_item is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_item is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 accessToWhoIsOnline()
{
$user_id = api_get_user_id();
$course_id = api_get_course_int_id();
$access = 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 $user_id is not named in camelCase. Open
function accessToWhoIsOnline()
{
$user_id = api_get_user_id();
$course_id = api_get_course_int_id();
$access = 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_item is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_item is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 returnNotificationMenu()
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$sessionId = api_get_session_id();
- 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 $final_navigation is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $menu_navigation is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $final_navigation is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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_online_in_course is not named in camelCase. Open
function returnNotificationMenu()
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$sessionId = api_get_session_id();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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_id is not named in camelCase. Open
function accessToWhoIsOnline()
{
$user_id = api_get_user_id();
$course_id = api_get_course_int_id();
$access = 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $menu_navigation is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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_id is not named in camelCase. Open
function accessToWhoIsOnline()
{
$user_id = api_get_user_id();
$course_id = api_get_course_int_id();
$access = 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $menu_navigation is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $menu_navigation is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $navigation_item is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $navigation_item is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_item is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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_title is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_item is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_item is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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_title is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_item is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_item is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_info is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_right is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_item is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $view_as_student_link is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $breadcrumb_step is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $final_navigation is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $final_navigation_count is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $final_navigation is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_info is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $bread_check is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $final_navigation_count is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $possible_tabs is not named in camelCase. Open
function return_navigation_array()
{
$navigation = [];
$menu_navigation = [];
$possible_tabs = get_tabs();
- 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 $navigation_right is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_info is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $bread_check is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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 $navigation_right is not named in camelCase. Open
function return_breadcrumb($interbreadcrumb, $language_file, $nameTools)
{
$courseInfo = api_get_course_info();
$user_id = api_get_user_id();
$additionalBlocks = '';
- 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();
}
}