Plausichecks: added run method to IssueProducer_Controller for producing plausicheck issues

This commit is contained in:
KarpAlex
2022-09-18 23:02:55 +02:00
parent d5eff7d615
commit 40d8edebef
7 changed files with 156 additions and 64 deletions
@@ -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);
}