chamilo/chamilo-lms

View on GitHub
public/plugin/customcertificate/src/export_pdf_all_in_one.php

Summary

Maintainability
A
0 mins
Test Coverage

Variable "created_at" is not in valid camel caps format
Open

                if ($created_at >= $dateBegin && $created_at <= $dateEnd) {

Variable "flat_list" is not in valid camel caps format
Open

                if (count($categories) > 1 && count($flat_list) > 0) {

Missing function doc comment
Open

function getIndexFiltered($index)

Variable "course_plugin" is not in valid camel caps format
Open

$course_plugin = 'customcertificate';

Variable "flat_list" is not in valid camel caps format
Open

                $flat_list = $list->get_flat_list();

Variable "created_at" is not in valid camel caps format
Open

                if ($created_at >= $dateBegin && $created_at <= $dateEnd) {

Variable "flat_list" is not in valid camel caps format
Open

                foreach ($flat_list as $learnpath) {

Variable "created_at" is not in valid camel caps format
Open

                if ($created_at >= $dateBegin) {

Variable "flat_list" is not in valid camel caps format
Open

                if (empty($flat_list)) {

Consider putting global function "getIndexFiltered" in a static class
Open

function getIndexFiltered($index)

Variable "created_at" is not in valid camel caps format
Open

                if ($created_at <= $dateEnd) {

Variable "created_at" is not in valid camel caps format
Open

        $created_at = strtotime(api_get_local_time($value['created_at']));

There are no issues that match your filters.

Category
Status