mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 16:44:28 +00:00
New Cronjobs for Reihungstests
- runZentraleReihungstestAnmeldefristAssistenzJob - runZentraleReihungstestNachtraeglichHinzugefuegtJob - runRemindApplicantsOfPlacementTestJob - New function getWorkingDays returns business days between two dates - New function checkReachedRegistrationDate - New function getApplicantsOfPlacementTestForCronjob - New function getApplicantAssignedAfterDate - New function getApplicantsOfPlacementTest - New function getTestsOnDate - New function loadStudiengaengeFromTyp
This commit is contained in:
@@ -429,4 +429,23 @@ class Studiengang_model extends DB_Model
|
||||
|
||||
return $this->execQuery($query, array($studiensemester_kurzbz));
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads degree programs of the given type
|
||||
* @param string $typ Type of degree programs to be loaded
|
||||
* @return array
|
||||
*/
|
||||
public function loadStudiengaengeFromTyp($typ)
|
||||
{
|
||||
$query = "SELECT
|
||||
distinct tbl_studiengang.*
|
||||
FROM
|
||||
public.tbl_studiengang
|
||||
WHERE
|
||||
tbl_studiengang.typ=?
|
||||
ORDER BY
|
||||
kurzbz";
|
||||
|
||||
return $this->execQuery($query, array($typ));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user