The method display_header_result() has an NPath complexity of 26208. The configured NPath complexity threshold is 200. Open
public static function display_header_result($evalobj, $selectcat, $page)
{
$links = [];
if (api_is_allowed_to_edit(null, true)) {
if ('statistics' !== $page) {
- 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 method header() has an NPath complexity of 986723233920. The configured NPath complexity threshold is 200. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- 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 method header uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$header .= '<option value='.$cat[0].'>'.$line.' '.$cat[1].'</option>';
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method display_header_reduce_flatview uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$select_cat = $catobj->get_parent_id();
$url = 'gradebook_flatview.php';
}
- 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 display_header_result uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$course = api_get_course_info_by_id($evalobj->getCourseId())['title'];
}
- 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 display_header_result uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$links[] = '<a href="gradebook_view_result.php?'.api_get_cidreq().'&selecteval='.Security::remove_XSS($_GET['selecteval']).'"> '.
Display::getMdiIcon(ActionIcon::BACK, 'ch-tool-icon', null, ICON_SIZE_MEDIUM, get_lang('Assessment home')).'</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 header uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$header .= '<td></td>';
}
- 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 header uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$actionsLeft .= '<a href="gradebook_add_link_select_course.php?'.$my_api_cidreq.'&selectcat='.$catobj->get_id().'">'.
Display::getMdiIcon('link-plus', 'ch-tool-icon', null, ICON_SIZE_MEDIUM, get_lang('Add online activity')).'</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 header uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$course = api_get_course_entity($courseId);
$resourceId = $course->resourceNode->getId();
$certificateLink = api_get_path(WEB_PATH) . 'resources/document/'.$resourceId.'/?'.api_get_cidreq().'&filetype=certificate';
$actionsRight .= '<a href="'.$certificateLink.'">'.
- 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 display_reduce_header_gradebook uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$header .= '<a href="'.api_get_self().'?'.api_get_cidreq().'&studentoverview=&exportpdf=&selectcat='.$catobj->get_id().'" target="_blank">'.Display::getMdiIcon(ActionIcon::EXPORT_PDF, 'ch-tool-icon', null, ICON_SIZE_MEDIUM, get_lang('Export to PDF')).'</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
Avoid unused local variables such as '$toolbar'. Open
echo $toolbar = Display::toolbarAction(
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused parameters such as '$show_add_qualification'. Open
$show_add_qualification = true,
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
Avoid unused local variables such as '$header'. Open
$header = null;
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused parameters such as '$showeval'. Open
public static function display_header_reduce_flatview($catobj, $showeval, $showlink, $simple_search_form)
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
Avoid unused parameters such as '$is_platform_admin'. Open
$is_platform_admin,
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
Avoid unused parameters such as '$showlink'. Open
public static function display_header_reduce_flatview($catobj, $showeval, $showlink, $simple_search_form)
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
Avoid unused parameters such as '$simple_search_form'. Open
public static function display_header_reduce_flatview($catobj, $showeval, $showlink, $simple_search_form)
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
Avoid unused parameters such as '$show_add_link'. Open
$show_add_link = true
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
Avoid unused parameters such as '$is_platform_admin'. Open
$is_platform_admin,
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
Avoid unused parameters such as '$simple_search_form'. Open
$simple_search_form,
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
Avoid unused parameters such as '$show_add_qualification'. Open
$show_add_qualification = true,
- Read upRead up
- Exclude checks
UnusedFormalParameter
Since: 0.2
Avoid passing parameters to methods or constructors and then not using those parameters.
Example
class Foo
{
private function bar($howdy)
{
// $howdy is not used
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter
Avoid using count() function in for loops. Open
for ($count = 0; $count < count($allEvalsLinks); $count++) {
$item = $allEvalsLinks[$count];
$score = $item->calc_score($userId);
if (!empty($score)) {
$divide = 0 == $score[1] ? 1 : $score[1];
- Read upRead up
- Exclude checks
CountInLoopExpression
Since: 2.7.0
Using count/sizeof in loops expressions is considered bad practice and is a potential source of many bugs, especially when the loop manipulates an array, as count happens on each iteration.
Example
class Foo {
public function bar()
{
$array = array();
for ($i = 0; count($array); $i++) {
// ...
}
}
}
Source https://phpmd.org/rules/design.html#countinloopexpression
Avoid using count() function in for loops. Open
for ($count = 0; $count < count($evals_links); $count++) {
$item = $evals_links[$count];
$score = $item->calc_score($userId);
if ($score) {
$my_score_denom = (0 == $score[1]) ? 1 : $score[1];
- Read upRead up
- Exclude checks
CountInLoopExpression
Since: 2.7.0
Using count/sizeof in loops expressions is considered bad practice and is a potential source of many bugs, especially when the loop manipulates an array, as count happens on each iteration.
Example
class Foo {
public function bar()
{
$array = array();
for ($i = 0; count($array); $i++) {
// ...
}
}
}
Source https://phpmd.org/rules/design.html#countinloopexpression
The parameter $is_platform_admin is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $simple_search_form is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $show_add_qualification is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $simple_search_form is not named in camelCase. Open
public static function display_header_reduce_flatview($catobj, $showeval, $showlink, $simple_search_form)
{
$header = '<div class="actions">';
if (0 == $catobj->get_parent_id()) {
$select_cat = $catobj->get_id();
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $is_course_admin is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $show_add_link is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $show_add_link is not named in camelCase. Open
public function display_reduce_header_gradebook(
$catobj,
$is_course_admin,
$is_platform_admin,
$simple_search_form,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $show_add_qualification is not named in camelCase. Open
public function display_reduce_header_gradebook(
$catobj,
$is_course_admin,
$is_platform_admin,
$simple_search_form,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $is_platform_admin is not named in camelCase. Open
public function display_reduce_header_gradebook(
$catobj,
$is_course_admin,
$is_platform_admin,
$simple_search_form,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $simple_search_form is not named in camelCase. Open
public function display_reduce_header_gradebook(
$catobj,
$is_course_admin,
$is_platform_admin,
$simple_search_form,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $is_course_admin is not named in camelCase. Open
public function display_reduce_header_gradebook(
$catobj,
$is_course_admin,
$is_platform_admin,
$simple_search_form,
- 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 "student_score" is not in valid camel caps format Open
$student_score = $evalobj->calc_score(api_get_user_id());
- Exclude checks
Missing parameter name Open
* @param $showeval
- Exclude checks
Missing parameter name Open
* @param $selectcat
- Exclude checks
Variable "main_weight" is not in valid camel caps format Open
$item_total = $main_weight;
- Exclude checks
Multi-line function call not indented correctly; expected 24 spaces but found 28 Open
).'&cid='.$catobj->getCourseId().'&sid='.$catobj->get_session_id().'">'.
- Exclude checks
Expected 15 spaces after parameter type; 1 found Open
* @param bool $show_add_qualification
- Exclude checks
Variable "student_score" is not in valid camel caps format Open
get_lang('Score').': '.$scoredisplay->display_score($student_score, SCORE_DIV_PERCENT)
- Exclude checks
Missing parameter name Open
* @param $catobj
- Exclude checks
Variable "simple_search_form" is not in valid camel caps format Open
$simple_search_form,
- Exclude checks
Variable "is_course_admin" is not in valid camel caps format Open
if (!$is_course_admin) {
- Exclude checks
Variable "item_total" is not in valid camel caps format Open
$item_total = $main_weight;
- Exclude checks
Variable "min_certification" is not in valid camel caps format Open
if (!empty($min_certification)) {
- Exclude checks
Variable "min_certification" is not in valid camel caps format Open
$min_certification = $model;
- Exclude checks
Variable "edit_icon" is not in valid camel caps format Open
$edit_icon = '<a href="gradebook_edit_cat.php?editcat='.$catobj->get_id().'&cid='.$catobj->getCourseId().'&sid='.$catobj->get_session_id().'">'.
- Exclude checks
Expected 15 spaces after parameter type; 1 found Open
* @param bool $show_add_link
- Exclude checks
Variable "is_course_admin" is not in valid camel caps format Open
if (!$is_course_admin) {
- Exclude checks
Variable "evals_links" is not in valid camel caps format Open
$evals_links = array_merge($allevals, $alllinks);
- Exclude checks
Variable "grade_model_id" is not in valid camel caps format Open
$grade_model_id = $catobj->get_grade_model_id();
- Exclude checks
Variable "grade_model_id" is not in valid camel caps format Open
if ((empty($grade_model_id) || -1 == $grade_model_id) && $accessToEdit) {
- Exclude checks
Variable "score_display_custom" is not in valid camel caps format Open
'true' == $score_display_custom
- Exclude checks
Variable "my_api_cidreq" is not in valid camel caps format Open
$actionsLeft .= '<a href="gradebook_flatview.php?'.$my_api_cidreq.'&selectcat='.$catobj->get_id().'">'.
- Exclude checks
Variable "simple_search_form" is not in valid camel caps format Open
$simple_search_form,
- Exclude checks
Variable "scorecourse_display" is not in valid camel caps format Open
$scorecourse_display = isset($scorecourse) ? $scoredisplay->display_score($scorecourse, SCORE_AVERAGE) : get_lang('No results available');
- Exclude checks
Variable "scoretotal_display" is not in valid camel caps format Open
$scoreinfo .= '<br />'.get_lang('Total').' : <b>'.$scoretotal_display.'</b>';
- Exclude checks
Variable "select_cat" is not in valid camel caps format Open
$select_cat = $catobj->get_parent_id();
- Exclude checks
Variable "show_add_link" is not in valid camel caps format Open
$show_add_link = true,
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$item_value_total += $item_value;
- Exclude checks
Variable "item_value_total" is not in valid camel caps format Open
$total_score = [$item_value_total, $item_total];
- Exclude checks
Variable "my_api_cidreq" is not in valid camel caps format Open
$my_api_cidreq = api_get_cidreq();
- Exclude checks
Variable "my_api_cidreq" is not in valid camel caps format Open
$actionsLeft .= '<a href="gradebook_add_link_select_course.php?'.$my_api_cidreq.'&selectcat='.$catobj->get_id().'">'.
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 32 Open
).'customcertificate/src/index.php?'.
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$item_value = api_number_format($item_value, 2);
- Exclude checks
Variable "scorecourse_display" is not in valid camel caps format Open
$scoreinfo .= '<strong>'.sprintf(get_lang('Total: %s'), $scorecourse_display.$additionalButtons).'</strong>';
- Exclude checks
Variable "is_course_admin" is not in valid camel caps format Open
if (!($is_course_admin &&
- Exclude checks
Variable "my_api_cidreq" is not in valid camel caps format Open
$my_api_cidreq = 'cid='.$my_category['c_id'];
- Exclude checks
Variable "my_api_cidreq" is not in valid camel caps format Open
$actionsLeft .= '<a href="gradebook_add_link.php?'.$my_api_cidreq.'&selectcat='.$catobj->get_id().'">'.
- Exclude checks
Variable "evals_links" is not in valid camel caps format Open
for ($count = 0; $count < count($evals_links); $count++) {
- Exclude checks
Variable "select_cat" is not in valid camel caps format Open
$header .= '<a href="'.$url.'?'.api_get_cidreq().'&selectcat='.$select_cat.'">'.
- Exclude checks
Variable "is_course_admin" is not in valid camel caps format Open
if (!$is_course_admin && (1 != $status || 0 == $sessionStatus) && 0 != $selectcat) {
- Exclude checks
Variable "my_api_cidreq" is not in valid camel caps format Open
api_get_path(WEB_AJAX_PATH)."gradebook.ajax.php?$my_api_cidreq&a=generate_custom_report",
- Exclude checks
Variable "min_certification" is not in valid camel caps format Open
$min_certification = get_lang('Minimum certification score').' : '.$min_certification;
- Exclude checks
Missing parameter name Open
* @param $is_platform_admin
- Exclude checks
Variable "show_add_qualification" is not in valid camel caps format Open
$show_add_qualification = true,
- Exclude checks
Variable "my_score_denom" is not in valid camel caps format Open
$my_score_denom = (0 == $score[1]) ? 1 : $score[1];
- Exclude checks
Variable "student_score" is not in valid camel caps format Open
$student_score = Display::tag(
- Exclude checks
Variable "is_course_admin" is not in valid camel caps format Open
$is_course_admin,
- Exclude checks
Variable "show_add_qualification" is not in valid camel caps format Open
$show_add_qualification = true,
- Exclude checks
Variable "main_weight" is not in valid camel caps format Open
$main_weight = $category->get_weight();
- Exclude checks
Variable "item_value_total" is not in valid camel caps format Open
$item_value_total = 0;
- Exclude checks
Variable "item_value_total" is not in valid camel caps format Open
$item_value_total += $item_value;
- Exclude checks
Variable "my_api_cidreq" is not in valid camel caps format Open
"gradebook_display_summary.php?$my_api_cidreq&selectcat=".$selectcat
- Exclude checks
Variable "min_certification" is not in valid camel caps format Open
$min_certification = intval($catobj->getCertificateMinScore() > 0) ? $catobj->getCertificateMinScore() : 0;
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$item_value = 0;
- Exclude checks
Variable "item_total" is not in valid camel caps format Open
$item_total += $item->get_weight();
- Exclude checks
Method name "DisplayGradebook::display_header_result" is not in camel caps format Open
public static function display_header_result($evalobj, $selectcat, $page)
- Exclude checks
Variable "select_cat" is not in valid camel caps format Open
$select_cat = $catobj->get_id();
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
$total_score = [$item_value_total, $item_total];
- Exclude checks
Variable "my_api_cidreq" is not in valid camel caps format Open
$actionsLeft .= '<a href="gradebook_add_eval.php?'.$my_api_cidreq.'&selectcat='.$catobj->get_id().'" >'.
- Exclude checks
Variable "grade_model_id" is not in valid camel caps format Open
if ((empty($grade_model_id) || -1 == $grade_model_id) && $accessToEdit) {
- Exclude checks
Variable "is_course_admin" is not in valid camel caps format Open
$is_course_admin,
- Exclude checks
Variable "show_add_link" is not in valid camel caps format Open
$show_add_link = true
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$item_value += $score[0] / $my_score_denom * $item->get_weight();
- Exclude checks
Method name "DisplayGradebook::display_header_reduce_flatview" is not in camel caps format Open
public static function display_header_reduce_flatview($catobj, $showeval, $showlink, $simple_search_form)
- Exclude checks
Variable "item_total" is not in valid camel caps format Open
$total_score = [$item_value_total, $item_total];
- Exclude checks
Variable "simple_search_form" is not in valid camel caps format Open
if (!empty($simple_search_form) && empty($messageResource)) {
- Exclude checks
Variable "my_category" is not in valid camel caps format Open
$my_category = $catobj->showAllCategoryInfo($catobj->get_id());
- Exclude checks
Variable "my_api_cidreq" is not in valid camel caps format Open
"gradebook_display_certificate.php?$my_api_cidreq&cat_id=".$selectcat
- Exclude checks
Missing parameter name Open
* @param $simple_search_form
- Exclude checks
Variable "my_api_cidreq" is not in valid camel caps format Open
if ('' == $my_api_cidreq) {
- Exclude checks
Multi-line function call not indented correctly; expected 32 spaces but found 36 Open
WEB_PLUGIN_PATH
- Exclude checks
Variable "my_api_cidreq" is not in valid camel caps format Open
$actionsRight .= '<a href="gradebook_scoring_system.php?'.$my_api_cidreq.'&selectcat='.$catobj->get_id().'">'.
- Exclude checks
Missing parameter name Open
* @param $is_course_admin
- Exclude checks
Variable "score_display_custom" is not in valid camel caps format Open
$score_display_custom = api_get_setting('gradebook_score_display_custom');
- Exclude checks
Variable "min_certification" is not in valid camel caps format Open
$min_certification = get_lang('Minimum certification score').' : '.$min_certification;
- Exclude checks
Method name "DisplayGradebook::display_header_user" is not in camel caps format Open
public static function display_header_user($userId, $categoryId)
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
$total_score = [$item_value, $item_total];
- Exclude checks
Variable "student_score" is not in valid camel caps format Open
$student_score = '';
- Exclude checks
Multi-line function call not indented correctly; expected 8 spaces but found 12 Open
]);
- Exclude checks
Variable "my_api_cidreq" is not in valid camel caps format Open
).'&'.$my_api_cidreq.'&selectcat='.$catobj->get_id().'">'.
- Exclude checks
Variable "edit_icon" is not in valid camel caps format Open
$msg = $weight.' - '.$min_certification.$edit_icon;
- Exclude checks
Variable "scorecourse_display" is not in valid camel caps format Open
$scorecourse_display = $scoredisplay->display_score($total_score, SCORE_DIV_PERCENT);
- Exclude checks
Variable "show_add_link" is not in valid camel caps format Open
if ($show_add_link && empty($messageResource)) {
- Exclude checks
Variable "my_api_cidreq" is not in valid camel caps format Open
$actionsLeft .= '<a href="gradebook_flatview.php?'.$my_api_cidreq.'&selectcat='.$catobj->get_id().'">'.
- Exclude checks
Variable "min_certification" is not in valid camel caps format Open
$msg = $weight.' - '.$min_certification.$edit_icon;
- Exclude checks
Variable "evals_links" is not in valid camel caps format Open
$item = $evals_links[$count];
- Exclude checks
Variable "student_score" is not in valid camel caps format Open
$student_score .= ResultTable::getResultAttemptTable($resultData);
- Exclude checks
Variable "simple_search_form" is not in valid camel caps format Open
public static function display_header_reduce_flatview($catobj, $showeval, $showlink, $simple_search_form)
- Exclude checks
Variable "simple_search_form" is not in valid camel caps format Open
$header .= '<td style="vertical-align: top;">'.$simple_search_form->toHtml().'</td>';
- Exclude checks
Variable "my_category" is not in valid camel caps format Open
if (1 == $my_category['generate_certificates']) {
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 32 Open
).'&'.$my_api_cidreq.'&selectcat='.$catobj->get_id().'">'.
- Exclude checks
Variable "is_platform_admin" is not in valid camel caps format Open
$is_platform_admin,
- Exclude checks
Variable "scoretotal_display" is not in valid camel caps format Open
$scoretotal_display = isset($scoretotal) ? $scoredisplay->display_score($scoretotal, SCORE_PERCENT) : get_lang('No results available');
- Exclude checks
Variable "my_score_denom" is not in valid camel caps format Open
$item_value += $score[0] / $my_score_denom * $item->get_weight();
- Exclude checks
Variable "student_score" is not in valid camel caps format Open
$evalinfo .= $student_score;
- Exclude checks
Missing parameter name Open
* @param $showlink
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
$scorecourse_display = $scoredisplay->display_score($total_score, SCORE_DIV_PERCENT);
- Exclude checks
Variable "my_api_cidreq" is not in valid camel caps format Open
$my_api_cidreq.'&origin=gradebook&selectcat='.$catobj->get_id().'">'.
- Exclude checks
Variable "min_certification" is not in valid camel caps format Open
$defaultCertification = api_number_format($min_certification, 2);
- Exclude checks
Expected 11 spaces after parameter type; 1 found Open
* @param Category $catobj
- Exclude checks
Variable "is_course_admin" is not in valid camel caps format Open
if ($is_course_admin) {
- Exclude checks
Variable "item_total" is not in valid camel caps format Open
$item_total = 0;
- Exclude checks
Variable "is_platform_admin" is not in valid camel caps format Open
$is_platform_admin,
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$item_value = $score[0] / $divide * $item->get_weight();
- Exclude checks
Variable "my_category" is not in valid camel caps format Open
$my_api_cidreq = 'cid='.$my_category['c_id'];
- Exclude checks
Method name "DisplayGradebook::display_reduce_header_gradebook" is not in camel caps format Open
public function display_reduce_header_gradebook(
- Exclude checks
Variable "scorecourse_display" is not in valid camel caps format Open
$scoreinfo .= '<br />'.get_lang('Total for this category.').' : <b>'.$scorecourse_display.'</b>';
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$item_value = api_number_format($item_value, 2);
- Exclude checks
Variable "item_value" is not in valid camel caps format Open
$total_score = [$item_value, $item_total];
- Exclude checks
Variable "total_score" is not in valid camel caps format Open
$scorecourse_display = $scoredisplay->display_score($total_score, SCORE_DIV_PERCENT);
- Exclude checks
Variable "scorecourse_display" is not in valid camel caps format Open
$info .= get_lang('Total for user').' : <b>'.$scorecourse_display.'</b>';
- Exclude checks
Variable "item_total" is not in valid camel caps format Open
$total_score = [$item_value, $item_total];
- Exclude checks
Variable "scorecourse_display" is not in valid camel caps format Open
$scorecourse_display = $scoredisplay->display_score($total_score, SCORE_DIV_PERCENT);
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 32 Open
).'&'.$my_api_cidreq.'&selectcat='.$catobj->get_id().'">'.
- Exclude checks
Multi-line function call not indented correctly; expected 24 spaces but found 28 Open
).'&cid='.$catobj->getCourseId().'&sid='.$catobj->get_session_id().'">'.
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 32 Open
).'customcertificate/src/index.php?'.
- Exclude checks
Multi-line function call not indented correctly; expected 32 spaces but found 36 Open
WEB_PLUGIN_PATH
- Exclude checks
The variable $is_course_admin is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_api_cidreq is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_api_cidreq is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $student_score is not named in camelCase. Open
public static function display_header_result($evalobj, $selectcat, $page)
{
$links = [];
if (api_is_allowed_to_edit(null, true)) {
if ('statistics' !== $page) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $total_score is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $item_total is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $is_course_admin is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_api_cidreq is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $show_add_link is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $grade_model_id is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_api_cidreq is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $select_cat is not named in camelCase. Open
public static function display_header_reduce_flatview($catobj, $showeval, $showlink, $simple_search_form)
{
$header = '<div class="actions">';
if (0 == $catobj->get_parent_id()) {
$select_cat = $catobj->get_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 $my_api_cidreq is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $score_display_custom is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $min_certification is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $student_score is not named in camelCase. Open
public static function display_header_result($evalobj, $selectcat, $page)
{
$links = [];
if (api_is_allowed_to_edit(null, true)) {
if ('statistics' !== $page) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $main_weight is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $item_total is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $scorecourse_display is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $min_certification is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $edit_icon is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $student_score is not named in camelCase. Open
public static function display_header_result($evalobj, $selectcat, $page)
{
$links = [];
if (api_is_allowed_to_edit(null, true)) {
if ('statistics' !== $page) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $student_score is not named in camelCase. Open
public static function display_header_result($evalobj, $selectcat, $page)
{
$links = [];
if (api_is_allowed_to_edit(null, true)) {
if ('statistics' !== $page) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $item_value_total is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_category is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_api_cidreq is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_category is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_api_cidreq is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $min_certification is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_api_cidreq is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $score_display_custom is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $min_certification is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $min_certification is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $student_score is not named in camelCase. Open
public static function display_header_result($evalobj, $selectcat, $page)
{
$links = [];
if (api_is_allowed_to_edit(null, true)) {
if ('statistics' !== $page) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $item_value is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $simple_search_form is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_api_cidreq is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_api_cidreq is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $select_cat is not named in camelCase. Open
public static function display_header_reduce_flatview($catobj, $showeval, $showlink, $simple_search_form)
{
$header = '<div class="actions">';
if (0 == $catobj->get_parent_id()) {
$select_cat = $catobj->get_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 $select_cat is not named in camelCase. Open
public static function display_header_reduce_flatview($catobj, $showeval, $showlink, $simple_search_form)
{
$header = '<div class="actions">';
if (0 == $catobj->get_parent_id()) {
$select_cat = $catobj->get_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 $item_value_total is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $main_weight is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_api_cidreq is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $min_certification is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $edit_icon is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $min_certification is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $grade_model_id is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_api_cidreq is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $grade_model_id is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $item_value is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $simple_search_form is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_category is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_api_cidreq is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $total_score is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $scorecourse_display is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $student_score is not named in camelCase. Open
public static function display_header_result($evalobj, $selectcat, $page)
{
$links = [];
if (api_is_allowed_to_edit(null, true)) {
if ('statistics' !== $page) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $is_course_admin is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $item_value_total is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_api_cidreq is not named in camelCase. Open
public static function header(
$catobj,
$showtree,
$selectcat,
$is_course_admin,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $item_total is not named in camelCase. Open
public static function display_header_user($userId, $categoryId)
{
$user = api_get_user_info($userId);
if (empty($user)) {
return '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $scorecourse_display is not named in camelCase. Open
public static function display_header_user($userId, $categoryId)
{
$user = api_get_user_info($userId);
if (empty($user)) {
return '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $is_course_admin is not named in camelCase. Open
public function display_reduce_header_gradebook(
$catobj,
$is_course_admin,
$is_platform_admin,
$simple_search_form,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $evals_links is not named in camelCase. Open
public static function display_header_user($userId, $categoryId)
{
$user = api_get_user_info($userId);
if (empty($user)) {
return '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $item_value is not named in camelCase. Open
public static function display_header_user($userId, $categoryId)
{
$user = api_get_user_info($userId);
if (empty($user)) {
return '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $evals_links is not named in camelCase. Open
public static function display_header_user($userId, $categoryId)
{
$user = api_get_user_info($userId);
if (empty($user)) {
return '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $item_value is not named in camelCase. Open
public static function display_header_user($userId, $categoryId)
{
$user = api_get_user_info($userId);
if (empty($user)) {
return '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $scorecourse_display is not named in camelCase. Open
public static function display_header_user($userId, $categoryId)
{
$user = api_get_user_info($userId);
if (empty($user)) {
return '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $total_score is not named in camelCase. Open
public static function display_header_user($userId, $categoryId)
{
$user = api_get_user_info($userId);
if (empty($user)) {
return '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $item_value is not named in camelCase. Open
public static function display_header_user($userId, $categoryId)
{
$user = api_get_user_info($userId);
if (empty($user)) {
return '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $total_score is not named in camelCase. Open
public static function display_header_user($userId, $categoryId)
{
$user = api_get_user_info($userId);
if (empty($user)) {
return '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_score_denom is not named in camelCase. Open
public static function display_header_user($userId, $categoryId)
{
$user = api_get_user_info($userId);
if (empty($user)) {
return '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $item_total is not named in camelCase. Open
public static function display_header_user($userId, $categoryId)
{
$user = api_get_user_info($userId);
if (empty($user)) {
return '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $item_total is not named in camelCase. Open
public static function display_header_user($userId, $categoryId)
{
$user = api_get_user_info($userId);
if (empty($user)) {
return '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $scorecourse_display is not named in camelCase. Open
public function display_reduce_header_gradebook(
$catobj,
$is_course_admin,
$is_platform_admin,
$simple_search_form,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $my_score_denom is not named in camelCase. Open
public static function display_header_user($userId, $categoryId)
{
$user = api_get_user_info($userId);
if (empty($user)) {
return '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $item_value is not named in camelCase. Open
public static function display_header_user($userId, $categoryId)
{
$user = api_get_user_info($userId);
if (empty($user)) {
return '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $is_course_admin is not named in camelCase. Open
public function display_reduce_header_gradebook(
$catobj,
$is_course_admin,
$is_platform_admin,
$simple_search_form,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $evals_links is not named in camelCase. Open
public static function display_header_user($userId, $categoryId)
{
$user = api_get_user_info($userId);
if (empty($user)) {
return '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $item_value is not named in camelCase. Open
public static function display_header_user($userId, $categoryId)
{
$user = api_get_user_info($userId);
if (empty($user)) {
return '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $scoretotal_display is not named in camelCase. Open
public function display_reduce_header_gradebook(
$catobj,
$is_course_admin,
$is_platform_admin,
$simple_search_form,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $scoretotal_display is not named in camelCase. Open
public function display_reduce_header_gradebook(
$catobj,
$is_course_admin,
$is_platform_admin,
$simple_search_form,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $scorecourse_display is not named in camelCase. Open
public function display_reduce_header_gradebook(
$catobj,
$is_course_admin,
$is_platform_admin,
$simple_search_form,
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The method display_header_reduce_flatview is not named in camelCase. Open
public static function display_header_reduce_flatview($catobj, $showeval, $showlink, $simple_search_form)
{
$header = '<div class="actions">';
if (0 == $catobj->get_parent_id()) {
$select_cat = $catobj->get_id();
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method display_header_result is not named in camelCase. Open
public static function display_header_result($evalobj, $selectcat, $page)
{
$links = [];
if (api_is_allowed_to_edit(null, true)) {
if ('statistics' !== $page) {
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method display_header_user is not named in camelCase. Open
public static function display_header_user($userId, $categoryId)
{
$user = api_get_user_info($userId);
if (empty($user)) {
return '';
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method display_reduce_header_gradebook is not named in camelCase. Open
public function display_reduce_header_gradebook(
$catobj,
$is_course_admin,
$is_platform_admin,
$simple_search_form,
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}