ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
interface.ilEctsGradesEnabled.php
Go to the documentation of this file.
1 <?php
2 
25 {
26  public function setECTSGrades(array $grades): void;
27 
28  public function getECTSGrades(): array;
29 
33  public function setECTSFX($ects_fx): void;
34 
35  public function getECTSFX(): ?float;
36 
40  public function setECTSOutput($status): void;
41 
42  public function getECTSOutput(): int;
43 
44  public function saveECTSStatus(): void;
45 
46  public function canEditEctsGrades(): bool;
47 
48  public function canShowEctsGrades(): bool;
49 
57  public function getECTSGrade($passed_array, $reached_points, $max_points): string;
58 
65  public static function _getECTSGrade($points_passed, $reached_points, $max_points, $a, $b, $c, $d, $e, $fx): string;
66 }
$c
Definition: cli.php:38
setECTSOutput($status)
getECTSGrade($passed_array, $reached_points, $max_points)
Returns the ECTS grade for a number of reached points.
$a
thx to https://mlocati.github.io/php-cs-fixer-configurator for the examples
static _getECTSGrade($points_passed, $reached_points, $max_points, $a, $b, $c, $d, $e, $fx)
Returns the ECTS grade for a number of reached points.
setECTSGrades(array $grades)
for($i=6; $i< 13; $i++) for($i=1; $i< 13; $i++) $d
Definition: date.php:296