Browse Source

Update Criterion.php

parent
commit
5e4a4a9c25
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      app/models/Criterion.php

+ 2
- 2
app/models/Criterion.php View File

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
+}