ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilEctsGradesEnabled Interface Reference
+ Inheritance diagram for ilEctsGradesEnabled:
+ Collaboration diagram for ilEctsGradesEnabled:

Public Member Functions

 setECTSGrades (array $grades)
 
 getECTSGrades ()
 
 setECTSFX ($ects_fx)
 
 getECTSFX ()
 
 setECTSOutput ($status)
 
 getECTSOutput ()
 
 saveECTSStatus ()
 
 canEditEctsGrades ()
 
 canShowEctsGrades ()
 
 getECTSGrade ($passed_array, $reached_points, $max_points)
 Returns the ECTS grade for a number of reached points. More...
 

Static Public Member Functions

static _getECTSGrade ($points_passed, $reached_points, $max_points, $a, $b, $c, $d, $e, $fx)
 Returns the ECTS grade for a number of reached points. More...
 

Detailed Description

Definition at line 9 of file interface.ilEctsGradesEnabled.php.

Member Function Documentation

◆ _getECTSGrade()

static ilEctsGradesEnabled::_getECTSGrade (   $points_passed,
  $reached_points,
  $max_points,
  $a,
  $b,
  $c,
  $d,
  $e,
  $fx 
)
static

Returns the ECTS grade for a number of reached points.

Parameters
double$reached_pointsThe points reached in the test
double$max_pointsThe maximum number of points for the test
Returns
string The ECTS grade short description

Implemented in ilObjTest.

◆ canEditEctsGrades()

ilEctsGradesEnabled::canEditEctsGrades ( )
Returns
boolean

Implemented in ilObjTest.

◆ canShowEctsGrades()

ilEctsGradesEnabled::canShowEctsGrades ( )
Returns
boolean

Implemented in ilObjTest.

◆ getECTSFX()

ilEctsGradesEnabled::getECTSFX ( )
Returns
float|null

Implemented in ilObjTest.

◆ getECTSGrade()

ilEctsGradesEnabled::getECTSGrade (   $passed_array,
  $reached_points,
  $max_points 
)

Returns the ECTS grade for a number of reached points.

Parameters
array$passed_arrayAn array with the points of all users who passed the test
double$reached_pointsThe points reached in the test
double$max_pointsThe maximum number of points for the test
Returns
string The ECTS grade short description

Implemented in ilObjTest.

◆ getECTSGrades()

ilEctsGradesEnabled::getECTSGrades ( )
Returns
array

Implemented in ilObjTest.

◆ getECTSOutput()

ilEctsGradesEnabled::getECTSOutput ( )
Returns
int|bool

Implemented in ilObjTest.

◆ saveECTSStatus()

ilEctsGradesEnabled::saveECTSStatus ( )

Referenced by ilObjTest\_isComplete().

+ Here is the caller graph for this function:

◆ setECTSFX()

ilEctsGradesEnabled::setECTSFX (   $ects_fx)
Parameters
float | null$ects_fx

Implemented in ilObjTest.

◆ setECTSGrades()

ilEctsGradesEnabled::setECTSGrades ( array  $grades)
Parameters
array$grades

Implemented in ilObjTest.

◆ setECTSOutput()

ilEctsGradesEnabled::setECTSOutput (   $status)
Parameters
int | bool$status

Implemented in ilObjTest.


The documentation for this interface was generated from the following file: