Selaa lähdekoodia

Update Criterion.php

Gabriel Santiago Plaza 3 vuotta sitten
vanhempi
commit
5e4a4a9c25
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2
    2
      app/models/Criterion.php

+ 2
- 2
app/models/Criterion.php Näytä tiedosto

10
 	//     protected $table = 'new_criteria';
10
 	//     protected $table = 'new_criteria';
11
 	protected $table = 'criteria';
11
 	protected $table = 'criteria';
12
 
12
 
13
-	public function outcomes($criterion_id)
13
+	public static function outcomes($criterion_id)
14
 	{
14
 	{
15
 		//	    return $this->belongs('Objective')->belongs('Outcome');
15
 		//	    return $this->belongs('Objective')->belongs('Outcome');
16
 		//	    TODO: Changes here
16
 		//	    TODO: Changes here
126
 		}
126
 		}
127
 		return $students_achieved;
127
 		return $students_achieved;
128
 	}
128
 	}
129
-}
129
+}