mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 08:22:17 +00:00
Plausichecks: added run method to IssueProducer_Controller for producing plausicheck issues
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Lib
|
||||
class PlausicheckLib
|
||||
{
|
||||
private $_ci; // Code igniter instance
|
||||
|
||||
@@ -15,11 +15,4 @@ class Lib
|
||||
|
||||
$this->_ci->load->model('', '');
|
||||
}
|
||||
|
||||
public function getStudents()
|
||||
{
|
||||
$qry = '
|
||||
|
||||
';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Interface defining method to implement for issue producer (from core and extensions)
|
||||
*/
|
||||
interface IPlausiChecker
|
||||
{
|
||||
/**
|
||||
* Executes a plausi check.
|
||||
* @param array $params parameters needed for executing the check
|
||||
* @return array with objects which failed the plausi check
|
||||
*/
|
||||
public function executePlausiCheck($paramsForChecking);
|
||||
}
|
||||
Reference in New Issue
Block a user