nieuwe versie

This commit is contained in:
Monique
2021-07-13 12:53:03 +02:00
parent 20fb7267a8
commit 444829340a
36 changed files with 655 additions and 1123 deletions
+5 -5
View File
@@ -189,7 +189,7 @@ class Sop extends MY_Controller{
// function getSopsEnLabels(){
// $sopid = 0;
// $sopkeuze = (new SopKeuze($sopid));
// $sopkeuze = (new Sopkeuze($sopid));
// $sops = $sopkeuze->getSops();
// $labels = $sopkeuze->getLabels();
// $soplabels = $sopkeuze->getHoofdstukLabels();
@@ -235,7 +235,7 @@ class Sop extends MY_Controller{
// }
// if($modulenr) {
// if($chapterid == 50 || $chapterid == 53) {
// $schooljaarversies = new SchooljaarVersies($chapterid, $profielid, $modulenr);
// $schooljaarversies = new Schooljaarversies($chapterid, $profielid, $modulenr);
// $filledversies = $schooljaarversies->getFilledversies();
// }
// }
@@ -263,7 +263,7 @@ class Sop extends MY_Controller{
array("sysnr" => $modulenr), "versietype");
if ($orgversietype === '1') {
$schooljaarVersies = new SchooljaarVersies($chapterid, $profielid, $modulenr);
$schooljaarVersies = new Schooljaarversies($chapterid, $profielid, $modulenr);
$filledversies = $schooljaarVersies->getFilledversies();
$orgversieid = $schooljaarVersies->getSchooljaarid();
$sopaanwezig = $schooljaarVersies->getSopAanwezig();
@@ -314,7 +314,7 @@ class Sop extends MY_Controller{
function getLabels(){
$sopid = $this->uri->segment(4);
$sopkeuze = (new SopKeuze($sopid));
$sopkeuze = (new Sopkeuze($sopid));
$labels = $sopkeuze->getLabels();
$soplabels = $sopkeuze->getHoofdstukLabels();
$aantal = count($soplabels);
@@ -335,7 +335,7 @@ class Sop extends MY_Controller{
$sopid = $this->clean_input("sopid"); // selectedprofielid
$sopinhoudid = $this->clean_input("sopinhoudid");
$richting = $this->clean_input("richting");
$sopkeuze = (new SopKeuze($sopid));
$sopkeuze = (new Sopkeuze($sopid));
$hfstlabels = $sopkeuze->getHoofdstukLabels();
if($richting === 'omhoog') $indexwaarde = -1;