From 444829340adb7fb2a7a0be365106542434415110 Mon Sep 17 00:00:00 2001 From: Monique Date: Tue, 13 Jul 2021 12:53:03 +0200 Subject: [PATCH] nieuwe versie --- application/controllers/monpas/Compactsop.php | 6 +- .../controllers/monpas/Rapijkpunten.php | 4 +- application/controllers/monpas/Sop.php | 10 +- application/controllers/monpas/Sopoud.php | 18 +- application/controllers/shared/Portal.php | 4 +- ...dingen.php => Diversiteitafbeeldingen.php} | 2 +- ...dingen.php => Gemiddeldenafbeeldingen.php} | 6 +- ...iddeldeScores.php => Gemiddeldescores.php} | 2 +- application/libraries/monpas/Hoofdstuk.php | 4 +- ...{HoofdstukKeuze.php => Hoofdstukkeuze.php} | 8 +- ...eldingen.php => Inspectieafbeeldingen.php} | 2 +- ...ctieOordelen.php => Inspectieoordelen.php} | 2 +- ...fbeeldingen.php => Schoolafbeeldingen.php} | 15 +- ...ljaarVersies.php => Schooljaarversies.php} | 2 +- .../{SchoolScores.php => Schoolscores.php} | 2 +- .../monpas/{SopKeuze.php => Sopkeuze.php} | 2 +- application/libraries/monpas/Tabellen.php | 2 +- ...eOnderdelen.php => Compacteonderdelen.php} | 4 +- ...ompactePaginas.php => Compactepaginas.php} | 2 +- ...ompacteVersies.php => Compacteversies.php} | 2 +- .../{BestuurScores.php => Bestuurscores.php} | 2 +- ...idueleScores.php => Individuelescores.php} | 2 +- .../{KamerScores.php => Kamerscores.php} | 2 +- .../libraries/monpas/ijkpunten/Lijsten.php | 14 +- .../{SWVScores.php => Swvscores.php} | 2 +- .../{UserLijsten.php => Userlijsten.php} | 10 +- ...reVersies.php => Vergelijkbareversies.php} | 2 +- .../models/monpas/Maakinhoudnieuw_model.php | 2 +- .../models/monpas/Sopinhouden_model.php | 12 +- .../views/monpas/sop/diversiteittabel2.php | 15 +- .../views/monpas/sop/diversiteittabel3.php | 18 +- .../monpas/sopkeuze/ijkgrafiekgemiddeld.php | 19 +- .../monpas/sopkeuze/ijkpuntengrafiek.php | 13 +- composer.json | 6 + public/tmp/temp5.html | 1048 +++++++++-------- public/tmp/temp840.html | 512 +------- 36 files changed, 655 insertions(+), 1123 deletions(-) rename application/libraries/monpas/{DiversiteitAfbeeldingen.php => Diversiteitafbeeldingen.php} (99%) rename application/libraries/monpas/{GemiddeldenAfbeeldingen.php => Gemiddeldenafbeeldingen.php} (98%) rename application/libraries/monpas/{GemiddeldeScores.php => Gemiddeldescores.php} (99%) rename application/libraries/monpas/{HoofdstukKeuze.php => Hoofdstukkeuze.php} (96%) rename application/libraries/monpas/{InspectieAfbeeldingen.php => Inspectieafbeeldingen.php} (99%) rename application/libraries/monpas/{InspectieOordelen.php => Inspectieoordelen.php} (98%) rename application/libraries/monpas/{SchoolAfbeeldingen.php => Schoolafbeeldingen.php} (97%) rename application/libraries/monpas/{SchooljaarVersies.php => Schooljaarversies.php} (99%) rename application/libraries/monpas/{SchoolScores.php => Schoolscores.php} (98%) rename application/libraries/monpas/{SopKeuze.php => Sopkeuze.php} (99%) rename application/libraries/monpas/compactsop/{CompacteOnderdelen.php => Compacteonderdelen.php} (99%) rename application/libraries/monpas/compactsop/{CompactePaginas.php => Compactepaginas.php} (99%) rename application/libraries/monpas/compactsop/{CompacteVersies.php => Compacteversies.php} (99%) rename application/libraries/monpas/ijkpunten/{BestuurScores.php => Bestuurscores.php} (97%) rename application/libraries/monpas/ijkpunten/{IndividueleScores.php => Individuelescores.php} (97%) rename application/libraries/monpas/ijkpunten/{KamerScores.php => Kamerscores.php} (99%) rename application/libraries/monpas/ijkpunten/{SWVScores.php => Swvscores.php} (99%) rename application/libraries/monpas/ijkpunten/{UserLijsten.php => Userlijsten.php} (95%) rename application/libraries/monpas/ijkpunten/{VergelijkbareVersies.php => Vergelijkbareversies.php} (99%) diff --git a/application/controllers/monpas/Compactsop.php b/application/controllers/monpas/Compactsop.php index b04b2b3..a28d968 100644 --- a/application/controllers/monpas/Compactsop.php +++ b/application/controllers/monpas/Compactsop.php @@ -80,7 +80,7 @@ class Compactsop extends MY_Controller{ function getOnderdelenEnVersies(){ if (!$this->userid) die; $schooljaar = $this->uri->segment(4); - $compacteVersies = new CompacteVersies($schooljaar); + $compacteVersies = new Compacteversies($schooljaar); $onderdelen = $compacteVersies->getOnderdelen(); echo json_encode($onderdelen); @@ -133,10 +133,10 @@ class Compactsop extends MY_Controller{ $onderdelen = $this->input->post('onderdelen'); $omvangjaren = $this->clean_input('jaren'); - $compact = new CompacteOnderdelen($schooljaarnr, $onderdelen, $omvangjaren); + $compact = new Compacteonderdelen($schooljaarnr, $onderdelen, $omvangjaren); $compacteonderdelen = $compact->getCompacteOnderdelen(); $schoolID = $this->globorgid; - $html = (new CompactePaginas($compacteonderdelen))->getHtml(); + $html = (new Compactepaginas($compacteonderdelen))->getHtml(); file_put_contents(MYROOTPATH.'public/tmp/temp'.$schoolID.'.html', $html); diff --git a/application/controllers/monpas/Rapijkpunten.php b/application/controllers/monpas/Rapijkpunten.php index ad3a68b..8bff2e1 100644 --- a/application/controllers/monpas/Rapijkpunten.php +++ b/application/controllers/monpas/Rapijkpunten.php @@ -193,7 +193,7 @@ class Rapijkpunten extends MY_Controller{ $orgid = $this->uri->segment(4); $module = $this->session->userdata('module'); - $series = (new VergelijkbareVersies($orgid, $module))->getSeries(); + $series = (new Vergelijkbareversies($orgid, $module))->getSeries(); echo json_encode(['series' =>$series]); } @@ -298,7 +298,7 @@ class Rapijkpunten extends MY_Controller{ if (!$orgid || !$orgversies || !$orguserid) return; $aantal = count($orgversies); - $userLijsten = new UserLijsten($orguserid, $orgid, $orgversies); + $userLijsten = new Userlijsten($orguserid, $orgid, $orgversies); $lijsten = $userLijsten->getLijsten(); $nieuwsteversie = $userLijsten->getNieuwsteVersie(); diff --git a/application/controllers/monpas/Sop.php b/application/controllers/monpas/Sop.php index b69322f..786a9da 100644 --- a/application/controllers/monpas/Sop.php +++ b/application/controllers/monpas/Sop.php @@ -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; diff --git a/application/controllers/monpas/Sopoud.php b/application/controllers/monpas/Sopoud.php index d922fda..27d8c18 100644 --- a/application/controllers/monpas/Sopoud.php +++ b/application/controllers/monpas/Sopoud.php @@ -87,15 +87,17 @@ class Sopoud extends MY_Controller{ function Getversies($profielid,$chapterid){ $versies = []; $hoofdstuk = $this->Hoofdstukken_model->get_record_by_id($chapterid); - if ($hoofdstuk->module == 0 ) return $versies; - $module = $this->Modules_model->get_record_by_id($hoofdstuk->module); - if ($module->versietype == 1) { - $versies = $this->getschooljaarversies($profielid, $chapterid); - } - if ($module->versietype == 2) { - $versies = $this->getlijstversies($profielid, $module->sysnr, $chapterid); - } ; + $module = $this->Modules_model->get_record_by_id( $hoofdstuk->module); + + if($module){ + if (intval($module->versietype) == 1) { + $versies = $this->getschooljaarversies($profielid, $chapterid); + } + if (intval($module->versietype) == 2) { + $versies = $this->getlijstversies($profielid, $module->sysnr, $chapterid); + } ; + } return $versies; } diff --git a/application/controllers/shared/Portal.php b/application/controllers/shared/Portal.php index af3ca8a..b0606a3 100644 --- a/application/controllers/shared/Portal.php +++ b/application/controllers/shared/Portal.php @@ -240,8 +240,8 @@ class Portal extends MY_Controller { private function arrayinArray($knipArray, $invoegArray, $var1, $var2) { $lengte = count($knipArray); - $breekpunt = ""; - $eindpunt = ""; + $breekpunt = 0; + $eindpunt = 0; for ($i = 0; $i < $lengte; $i++) { if ($knipArray[$i]->id == $var1 && $knipArray[$i]->naam == $var2) { diff --git a/application/libraries/monpas/DiversiteitAfbeeldingen.php b/application/libraries/monpas/Diversiteitafbeeldingen.php similarity index 99% rename from application/libraries/monpas/DiversiteitAfbeeldingen.php rename to application/libraries/monpas/Diversiteitafbeeldingen.php index 473bb83..59636ba 100644 --- a/application/libraries/monpas/DiversiteitAfbeeldingen.php +++ b/application/libraries/monpas/Diversiteitafbeeldingen.php @@ -1,6 +1,6 @@ CI = & get_instance(); $this->gemiddeldescores = $gemiddeldescores; $this->modulenr = $modulenr; @@ -296,7 +296,7 @@ class GemiddeldenAfbeeldingen { { $this->ijkpunt->wens = 3; - if (isset($this->wensen) && $this->wensen[$index] ) { + if (isset($this->wensen) && isset($this->wensen[$index]) ) { $this->ijkpunt->wens = $this->wensen[$index]->wens; } } diff --git a/application/libraries/monpas/GemiddeldeScores.php b/application/libraries/monpas/Gemiddeldescores.php similarity index 99% rename from application/libraries/monpas/GemiddeldeScores.php rename to application/libraries/monpas/Gemiddeldescores.php index fe665a2..d53475b 100644 --- a/application/libraries/monpas/GemiddeldeScores.php +++ b/application/libraries/monpas/Gemiddeldescores.php @@ -1,6 +1,6 @@ chapterid, $this->orgversieid); + new Hoofdstukkeuze($this->chapterid, $this->orgversieid); $this->hoofdstukkeuze = $hoofdstukkeuze->getHoofdstukKeuze(); } @@ -87,7 +87,7 @@ class Hoofdstuk private function setSopKeuze(){ - $this->sopkeuze = new SopKeuze($this->profielid); + $this->sopkeuze = new Sopkeuze($this->profielid); } private function setLabels(){ diff --git a/application/libraries/monpas/HoofdstukKeuze.php b/application/libraries/monpas/Hoofdstukkeuze.php similarity index 96% rename from application/libraries/monpas/HoofdstukKeuze.php rename to application/libraries/monpas/Hoofdstukkeuze.php index 0c9cd68..8b8c9ae 100644 --- a/application/libraries/monpas/HoofdstukKeuze.php +++ b/application/libraries/monpas/Hoofdstukkeuze.php @@ -1,6 +1,6 @@ orgversieid, $this->orgid, $this->clusterid))->getInspectieOordelen(); + (new Inspectieoordelen($this->orgversieid, $this->orgid, $this->clusterid))->getInspectieOordelen(); $inspectieAfbeeldingen = - (new InspectieAfbeeldingen($inspectieOordelen, $this->modulenr, $this->orgversieid, $this->orgid)) + (new Inspectieafbeeldingen($inspectieOordelen, $this->modulenr, $this->orgversieid, $this->orgid)) ->getInspectieAfbeeldingen(); $this->data = $inspectieAfbeeldingen; $this->soort = 'INSPECTIE'; @@ -186,7 +186,7 @@ class HoofdstukKeuze $diversiteit = (new Diversiteit($this->orgversieid, $this->orgid, $this->modulenr))->getDiversiteit(); $diversiteitAfbeeldingen - = (new DiversiteitAfbeeldingen($diversiteit, $this->modulenr, $this->orgversieid))->getDiversiteitAfbeeldingen(); + = (new Diversiteitafbeeldingen($diversiteit, $this->modulenr, $this->orgversieid))->getDiversiteitAfbeeldingen(); $this->data = $diversiteitAfbeeldingen; if($this->modulenr == 2 || $this->modulenr == 660) $this->soort = 'DIVERSITEIT'; diff --git a/application/libraries/monpas/InspectieAfbeeldingen.php b/application/libraries/monpas/Inspectieafbeeldingen.php similarity index 99% rename from application/libraries/monpas/InspectieAfbeeldingen.php rename to application/libraries/monpas/Inspectieafbeeldingen.php index b4621fa..5d069f9 100644 --- a/application/libraries/monpas/InspectieAfbeeldingen.php +++ b/application/libraries/monpas/Inspectieafbeeldingen.php @@ -1,6 +1,6 @@ aantalY > 1) $this->aantal = $this->aantalY; $kolombreedte = floor(($this->rij - $this->standaardorg)/$this->aantal); + $this->kolomInt = $kolombreedte; $this->kolombreedte = $kolombreedte . 'px'; } private function setOrgbreedte(){ - if($this->aantalY > 1) $this->aantal = $this->aantalY; - $orgbreedte = floor($this->rij - ($this->aantal * $this->kolombreedte)); + if($this->aantalY > 1){ + $this->aantal = $this->aantalY;} + $orgbreedte = floor($this->rij - ($this->aantal * $this->kolomInt)); $this->orgbreedte = $orgbreedte . 'px'; } diff --git a/application/libraries/monpas/SchooljaarVersies.php b/application/libraries/monpas/Schooljaarversies.php similarity index 99% rename from application/libraries/monpas/SchooljaarVersies.php rename to application/libraries/monpas/Schooljaarversies.php index 660ba15..a4c11de 100644 --- a/application/libraries/monpas/SchooljaarVersies.php +++ b/application/libraries/monpas/Schooljaarversies.php @@ -1,7 +1,7 @@ orgversie == "false"){ $this->orgversie = $this->sopinhoud->orgversieid;}; $hoofdstukkeuze = - new HoofdstukKeuze($this->sopinhoud->chapter_id, $this->orgversie); + new Hoofdstukkeuze($this->sopinhoud->chapter_id, $this->orgversie); $this->hoofdstukkeuze = $hoofdstukkeuze->getHoofdstukKeuze(); } diff --git a/application/libraries/monpas/compactsop/CompacteOnderdelen.php b/application/libraries/monpas/compactsop/Compacteonderdelen.php similarity index 99% rename from application/libraries/monpas/compactsop/CompacteOnderdelen.php rename to application/libraries/monpas/compactsop/Compacteonderdelen.php index 41554e1..2e665d2 100644 --- a/application/libraries/monpas/compactsop/CompacteOnderdelen.php +++ b/application/libraries/monpas/compactsop/Compacteonderdelen.php @@ -1,6 +1,6 @@ schooljaarnr, $this->CI->globorgid, $this->onderdeel['modulenr']); $divdata = $divcompact->getDiversiteit(); - $divafbeelding = New DiversiteitAfbeeldingen($divdata, $this->onderdeel['modulenr'], $this->schooljaarnr); + $divafbeelding = New Diversiteitafbeeldingen($divdata, $this->onderdeel['modulenr'], $this->schooljaarnr); $this->diversiteit = $divafbeelding->getDiversiteitAfbeeldingen(); $data = [ diff --git a/application/libraries/monpas/compactsop/CompactePaginas.php b/application/libraries/monpas/compactsop/Compactepaginas.php similarity index 99% rename from application/libraries/monpas/compactsop/CompactePaginas.php rename to application/libraries/monpas/compactsop/Compactepaginas.php index 329c68b..285302c 100644 --- a/application/libraries/monpas/compactsop/CompactePaginas.php +++ b/application/libraries/monpas/compactsop/Compactepaginas.php @@ -1,6 +1,6 @@ soort != 4 || $this->lijst->vorm != 1) return; - $this->schoolScores = new SchoolScores($this->lijst->orgversieid, $this->orgid); + $this->schoolScores = new Schoolscores($this->lijst->orgversieid, $this->orgid); if($this->schoolScores) { - $this->schoolAfbeeldingen = new SchoolAfbeeldingen($this->schoolScores, $this->modulenr, $this->lijst->orgversieid, + $this->schoolAfbeeldingen = new Schoolafbeeldingen($this->schoolScores, $this->modulenr, $this->lijst->orgversieid, $this->clusterid, $this->orgid); } } private function setIndividueleScores(){ if($this->soort !=4 || $this->lijst->vorm != 2) return; - $this->gemiddeldeScores = new GemiddeldeScores($this->lijst->orgversieid, $this->orgid); + $this->gemiddeldeScores = new Gemiddeldescores($this->lijst->orgversieid, $this->orgid); if($this->gemiddeldeScores){ - $this->gemiddeldenAfbeeldingen = new GemiddeldenAfbeeldingen($this->gemiddeldeScores, $this->modulenr, $this->lijst->orgversieid, + $this->gemiddeldenAfbeeldingen = new Gemiddeldenafbeeldingen($this->gemiddeldeScores, $this->modulenr, $this->lijst->orgversieid, $this->clusterid, $this->orgid); } } @@ -232,7 +232,7 @@ class Lijsten private function setBestuurScores() { if ($this->soort != 3) return; - $this->bestuurScores = new BestuurScores($this->lijst->orgversieid, $this->orgid, $this->lijst->vorm); + $this->bestuurScores = new Bestuurscores($this->lijst->orgversieid, $this->orgid, $this->lijst->vorm); if ($this->bestuurScores) { $this->bestuurAfbeeldingen = new Afbeeldingen($this->bestuurScores, $this->modulenr, $this->lijst->orgversieid, $this->clusterid, $this->orgid, $this->zprocent); @@ -241,7 +241,7 @@ class Lijsten private function setKamerScores(){ if($this->soort == 1) return; - $this->kamerScores = new KamerScores($this->lijst->orgversieid, $this->orgid, $this->lijst->vorm); + $this->kamerScores = new Kamerscores($this->lijst->orgversieid, $this->orgid, $this->lijst->vorm); if($this->kamerScores) { $this->kamerAfbeeldingen = new Afbeeldingen($this->kamerScores, $this->modulenr, $this->lijst->orgversieid, $this->clusterid, $this->orgid, $this->zprocent); @@ -250,7 +250,7 @@ class Lijsten private function setSWVScores(){ if ($this->soort == 3 || $this->soort == 4 ) return; - $this->swvScores = new SWVScores($this->lijst->orgversieid, $this->orgid, $this->lijst->vorm); + $this->swvScores = new Swvscores($this->lijst->orgversieid, $this->orgid, $this->lijst->vorm); if($this->swvScores) { $this->swvAfbeeldingen = new Afbeeldingen($this->swvScores, $this->modulenr, $this->lijst->orgversieid, $this->clusterid, $this->orgid, $this->zprocent); diff --git a/application/libraries/monpas/ijkpunten/SWVScores.php b/application/libraries/monpas/ijkpunten/Swvscores.php similarity index 99% rename from application/libraries/monpas/ijkpunten/SWVScores.php rename to application/libraries/monpas/ijkpunten/Swvscores.php index 70792e1..14f749b 100644 --- a/application/libraries/monpas/ijkpunten/SWVScores.php +++ b/application/libraries/monpas/ijkpunten/Swvscores.php @@ -1,6 +1,6 @@ individueleScores = new IndividueleScores($this->orgversieid, $this->orguserid, $this->orgid); + $this->individueleScores = new Individuelescores($this->orgversieid, $this->orguserid, $this->orgid); $this->individueleAfbeeldingen = new Afbeeldingen($this->individueleScores, $this->modulenr, $this->orgversieid, $this->clusterid, $this->orgid, $this->zprocent); } private function setKamerAfbeeldingen(){ $vorm = 2; - $this->kamerScores = new KamerScores($this->orgversieid, $this->orgid, $vorm); + $this->kamerScores = new Kamerscores($this->orgversieid, $this->orgid, $vorm); if($this->kamerScores){ $this->kamerAfbeeldingen = new Afbeeldingen($this->kamerScores, $this->modulenr, $this->orgversieid, $this->clusterid, $this->orgid, $this->zprocent); @@ -125,9 +125,9 @@ class UserLijsten } private function setGemiddeldenAfbeeldingen(){ - $this->gemiddeldeScores= new GemiddeldeScores($this->orgversieid, $this->orgid); + $this->gemiddeldeScores= new Gemiddeldescores($this->orgversieid, $this->orgid); if($this->gemiddeldeScores){ - $this->gemiddeldenAfbeeldingen = new GemiddeldenAfbeeldingen($this->gemiddeldeScores, $this->modulenr, $this->orgversieid, $this->clusterid,$this->orgid); + $this->gemiddeldenAfbeeldingen = new Gemiddeldenafbeeldingen($this->gemiddeldeScores, $this->modulenr, $this->orgversieid, $this->clusterid,$this->orgid); } } diff --git a/application/libraries/monpas/ijkpunten/VergelijkbareVersies.php b/application/libraries/monpas/ijkpunten/Vergelijkbareversies.php similarity index 99% rename from application/libraries/monpas/ijkpunten/VergelijkbareVersies.php rename to application/libraries/monpas/ijkpunten/Vergelijkbareversies.php index 85b2b55..3299e75 100644 --- a/application/libraries/monpas/ijkpunten/VergelijkbareVersies.php +++ b/application/libraries/monpas/ijkpunten/Vergelijkbareversies.php @@ -1,6 +1,6 @@ getHoofdstukKeuze(); } diff --git a/application/models/monpas/Sopinhouden_model.php b/application/models/monpas/Sopinhouden_model.php index eb884c8..b15cda2 100644 --- a/application/models/monpas/Sopinhouden_model.php +++ b/application/models/monpas/Sopinhouden_model.php @@ -164,7 +164,7 @@ class Sopinhouden_model extends MY_Model{ // $content = ''; $versie = ""; $result = $this->getOntwikkelagenda($profielid, 4,$targetversieid); - if($result) { + if($result ) { $versie = $result['targetversie']; } $imageoa = $this->Phantom_model->create_img($result['tabel1'], 'test', FALSE, FALSE, array(650, 300)); @@ -287,7 +287,9 @@ class Sopinhouden_model extends MY_Model{ $schooljaar = $this->Schooljaren_model->get_record_by_id($targetjaar); $combifactoren = $this->Combifactoren_model->getfactoren($swvid); $schoolcombifactor = 0; + $colspan = 2; if ($groepen){ + $colspan = $colspan + count($groepen); foreach($groepen as $groep){ $groepasarray = explode(';',$groep->niveau); $aantallnschool = $groep->totaantal + $aantallnschool; @@ -337,7 +339,8 @@ class Sopinhouden_model extends MY_Model{ }; } $data = array('normaantallen' =>$normaantallen, - 'groepen' =>$groepen, + 'colspan' =>$colspan, + 'groepen' =>$groepen, 'osvormen' =>$osvormen, 'schooljaar' => $schooljaar->naam, 'totdiversiteit' => $totdiversiteit, @@ -729,8 +732,9 @@ class Sopinhouden_model extends MY_Model{ } if (!$targetversieid){ - return array( 'tabel1' => '', - 'tabel2' => ''); + return array( 'tabel1' => '', + 'tabel2' => '', + 'targetversie' => ''); } $gewenst = $this->Scores_model->getgewenst($orgid, $targetversieid); $i =0; diff --git a/application/views/monpas/sop/diversiteittabel2.php b/application/views/monpas/sop/diversiteittabel2.php index d8665b0..a4f8e3c 100644 --- a/application/views/monpas/sop/diversiteittabel2.php +++ b/application/views/monpas/sop/diversiteittabel2.php @@ -1,6 +1,6 @@

Schooljaar

- + @@ -16,7 +16,7 @@ totaantal; ?> @@ -26,13 +26,14 @@ - - + @@ -49,7 +50,7 @@ - + - + - + Percentage - + - + - + - + - + - + - + - + - + diff --git a/application/views/monpas/sopkeuze/ijkgrafiekgemiddeld.php b/application/views/monpas/sopkeuze/ijkgrafiekgemiddeld.php index 602fcb0..b736e68 100644 --- a/application/views/monpas/sopkeuze/ijkgrafiekgemiddeld.php +++ b/application/views/monpas/sopkeuze/ijkgrafiekgemiddeld.php @@ -48,12 +48,7 @@ var xastitel = 'label ?>'; - scores as $index2 => $score){ - $omschrijving = "gemiddelde"; - if(isset($score->omschrijving)){ - $omschrijving = $score->omschrijving; - }; - ?> + scores as $index2 => $score){ ?> labels.push(nummer ?>); scores.push({ @@ -61,10 +56,8 @@ color: 'kleur ?>', name: 'nummer ?>', soort: 'score', - versie: periodenummer ?>, - vantm: 'vantm ?>', - omschrijving: 'omschrijving) ? $score->omschrijving : ''; ?>' omschrijving gemaakt ?> - }) + versie: periodenummer ?> + }) verkorteVersies.push(periodenummer ?>); @@ -74,9 +67,7 @@ color: '#000000', name: '', soort: 'ambitie', - versie: periodenummer ?>, - vantm: 'vantm ?>', - omschrijving: '' + versie: periodenummer ?> } ); @@ -87,8 +78,6 @@ name : '0', soort : 'extra', versie : periodenummer ?>, - vantm : 'vantm ?>', - omschrijving: '' }; scores.unshift(legescore); diff --git a/application/views/monpas/sopkeuze/ijkpuntengrafiek.php b/application/views/monpas/sopkeuze/ijkpuntengrafiek.php index eccedd1..8b73032 100644 --- a/application/views/monpas/sopkeuze/ijkpuntengrafiek.php +++ b/application/views/monpas/sopkeuze/ijkpuntengrafiek.php @@ -55,10 +55,6 @@ scores as $index2 => $score){ - $omschrijving = "gemiddelde"; - if(isset($score->omschrijving)){ - $omschrijving = $score->omschrijving; - }; ?> labels.push(nummer ?>); @@ -67,9 +63,8 @@ color: 'kleur ?>', name: 'nummer ?>', soort: 'score', - versie: periodenummer ?>, - vantm: 'vantm ?>', - omschrijving: 'omschrijving) ? $score->omschrijving : ''; ?>' omschrijving gemaakt ?> + versie: periodenummer ?> + }); @@ -80,9 +75,7 @@ color: '#000000', name: '', soort: 'ambitie', - versie: periodenummer ?>, - vantm: 'vantm ?>', - omschrijving: '' + versie: periodenummer ?> } ); diff --git a/composer.json b/composer.json index a8d0c87..f1b994a 100644 --- a/composer.json +++ b/composer.json @@ -16,6 +16,12 @@ "suggest": { "paragonie/random_compat": "Provides better randomness in PHP 5.x" }, + "autoload": { + "classmap": [ + "application/libraries/monpas", + "application/libraries/monpas/ijkpunten" + ] + }, "require-dev": { "mikey179/vfsstream": "1.1.*", "phpunit/phpunit": "4.* || 5.*" diff --git a/public/tmp/temp5.html b/public/tmp/temp5.html index 18e0033..1c6e268 100644 --- a/public/tmp/temp5.html +++ b/public/tmp/temp5.html @@ -442,8 +442,8 @@ (h[d][l]={},p(a[l],r[d][l],h[d][l],e+1));else G(a)?(h[d]=F(a)?[]:{},p(a,r[d]||{},h[d],e+1)):h[d]=r[d]||null})}var v={};p(k,this.options,v,0);return v}})(I);return I}); - - + + // @@ -721,13 +721,13 @@
@@ -772,7 +772,7 @@
+ 13-07-2021 + 12-07-2021
Totaal aantal leerlingen totaantal?>
> + > Uitsplitsing onderwijsvraag per groep
>Basisondersteuning >Basisondersteuning
>Basisondersteuning-plus>Basisondersteuning-plus
>Extra ondersteuning >Extra ondersteuning
>Extra ondersteuning-plus >Extra ondersteuning-plus
Totaal aantal leerlingenTotaal aantal leerlingen
Aantal groepenAantal groepen
Aantal combinatiegroepenAantal combinatiegroepen
Aantal leerlingen categorie 1Aantal leerlingen categorie 1 0 ) {echo round(($som1 / $totaal ) *100,0).'%' ;}; ?>
Aantal leerlingen categorie 2Aantal leerlingen categorie 2 0) {echo round(($som2 / $totaal ) *100,0).'%' ;};?>
Aantal leerlingen categorie 3Aantal leerlingen categorie 3 0) {echo round(($som3 / $totaal ) *100,0).'%' ;};?>
Aantal leerlingen categorie 4Aantal leerlingen categorie 4 0 ){echo round(($som4 / $totaal ) *100,0).'%' ;};?>
Totaal gewogen diversiteitTotaal gewogen diversiteit
DQ schoolDQ school
Datum - 11-01-2021 Website @@ -812,543 +812,559 @@ -
-
-
-
-
- -

De kwaliteit van de basisondersteuning

- - -

PO maart 2015, schoolversie -

periode 55 van 31-10-2018 t/m 30-10-2020

- -
-
+
+
+
+
+
+

+ De kwaliteit van de inspectie-indicatoren

+
+

+ Inspectie Basisonderwijs 2019-2020, schoolversie

+ periode 63 van 22-07-2019 t/m 21-07-2021

+
+ +
+
+
+
+
+ - -
- - - - - - -
nr ijkpunten +
+ + + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nr + ijkpunten - p 55 + p 63
1. - Beleid t.a.v. ondersteuning. - 80
1. Onderwijs aanbod. + 100
2. Zicht op ontwikkeling en begeleiding. + 56
3. Didactisch handelen. + 40
4. (Extra) ondersteuning. + 58
5. Samenwerking. + 67
6. Toetsing en afsluiting. + 36
7. Veiligheid. + 60
8. Pedagogisch klimaat. + 40
9. Onderwijsresultaten. + 70
10. Sociale en maatschappelijke competenties. + 50
11. Vervolgsucces. + 50
12. Kwaliteitszorg. + 65
13. Kwaliteitscultuur. + 55
14. Verantwoording en dialoog. + 57
15. Financiële continuïteit. + 33
16. Financiële doelmatigheid. + 50
17. Financiële rechtmatigheid. + 50
Gemiddelde + 55
Scores in procenten
2. - Schoolondersteuningsprofiel. - 60
3. - Effectieve ondersteuning. - 90
4. - Veilige omgeving. - 50
5. - Zicht op de ontwikkeling van leerlingen. - 70
6. - Opbrengst- en handelingsgericht werken. - 82
7. - Goed afgestemde methoden en aanpakken. - 80
8. - Handelingsbekwame en competente medewerkers. - 70
9. - Ambitieuze onderwijsarrangementen. - 90
10. - Zorgvuldige overdracht van leerlingen. - 90
11. - Betrokkenheid ouders en leerlingen. - 90
12. - Expliciete interne ondersteuningsstructuur. - 90
13. - Een effectief ondersteuningsteam. - 0
- Gemiddelde - 72
Scores in procenten
- +
+ +
-
-
-
-
-
diff --git a/public/tmp/temp840.html b/public/tmp/temp840.html index b8b1d8d..271d6b3 100644 --- a/public/tmp/temp840.html +++ b/public/tmp/temp840.html @@ -442,8 +442,8 @@ (h[d][l]={},p(a[l],r[d][l],h[d][l],e+1));else G(a)?(h[d]=F(a)?[]:{},p(a,r[d]||{},h[d],e+1)):h[d]=r[d]||null})}var v={};p(k,this.options,v,0);return v}})(I);return I}); - - + + // @@ -721,13 +721,13 @@
@@ -772,7 +772,7 @@
Datum - 27-10-2020 Website @@ -812,500 +812,9 @@ - -
-
-
- -
-
-

De diversiteit van de leerlingpopulatie

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
A
-
- -
B
-
- -
C
-
- -
D
-
- -
E
-
- -
F
-
- -
I
-
- -
H
-
- -
J
-
- -
K
-
- -
G
-
- -
L
-
- -
M
-
- -
N
-
- -
O
-
-
- Schooltotaal
-
Totaal aantal leerlingen101312111314691214415151515178
Totale diversiteit per groep293934303139232934371639424536503.0
DQs1.321.631.421.251.291.630.961.211.421.540.671.631.751.881.501.41
-
- -
-
-
-
- - -
-
-
- -
-
+
@@ -2291,6 +1800,15 @@
+ + + +
+
+
+
+
+