Commit e1c80995 authored by Lückemeyer's avatar Lückemeyer
Browse files

adjusted comments and lines

parent 2bb60caf
Showing with 14 additions and 6 deletions
+14 -6
No preview for this file type
...@@ -14,6 +14,13 @@ ...@@ -14,6 +14,13 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* entity classes for DTA submission plugin result summary and test results
*
* @package assignsubmission_dta
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @copyright Gero Lueckemeyer and student project teams
*/
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();
/** /**
...@@ -85,6 +92,7 @@ class DtaResult { ...@@ -85,6 +92,7 @@ class DtaResult {
/** /**
* Returns the name of a state with the given number of display. * Returns the name of a state with the given number of display.
* @param $state number of the state
* @return name of state as defined * @return name of state as defined
*/ */
public static function getstatename(int $state): string { public static function getstatename(int $state): string {
......
...@@ -237,7 +237,7 @@ class view_submission_utils { ...@@ -237,7 +237,7 @@ class view_submission_utils {
$comp = $overallcompetencies[$index]; $comp = $overallcompetencies[$index];
$shown = $showncompetencies[$index]; $shown = $showncompetencies[$index];
// If the competency was actually assessed by the assignment and tests, add a row in the table. // If the competency was actually assessed by the assignment and tests, add a row in the table.
if($comp != "0") { if ($comp != "0") {
// New copy of base attributes array. // New copy of base attributes array.
$resultrowattributes = $tablerowattributes; $resultrowattributes = $tablerowattributes;
$tmp = ""; $tmp = "";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment