ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
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 ()
 getECTSGrade ($passed_array, $reached_points, $max_points)
 Returns the ECTS grade for a number of reached points.

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.

Detailed Description

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

Member Function Documentation

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.

ilEctsGradesEnabled::canEditEctsGrades ( )
Returns
boolean

Implemented in ilObjTest.

ilEctsGradesEnabled::getECTSFX ( )
Returns
float|null

Implemented in ilObjTest.

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.

ilEctsGradesEnabled::getECTSGrades ( )
Returns
array

Implemented in ilObjTest.

ilEctsGradesEnabled::getECTSOutput ( )
Returns
int|bool

Implemented in ilObjTest.

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

Implemented in ilObjTest.

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

Implemented in ilObjTest.

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

Implemented in ilObjTest.


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