1264
1264
* @return int Completion state e.g. COMPLETION_INCOMPLETE
1266
1266
public static function internal_get_grade_state($item, $grade) {
1268
1270
return COMPLETION_INCOMPLETE;
1270
1273
// Conditions to show pass/fail:
1271
1274
// a) Grade has pass mark (default is 0.00000 which is boolean true so be careful)
1272
1275
// b) Grade is visible (neither hidden nor hidden-until)