nieuwe versie
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class DiversiteitAfbeeldingen {
|
||||
class Diversiteitafbeeldingen {
|
||||
|
||||
private $CI;
|
||||
private $normaantallen;
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class GemiddeldenAfbeeldingen {
|
||||
class Gemiddeldenafbeeldingen {
|
||||
|
||||
private $CI;
|
||||
private $swvid;
|
||||
@@ -37,7 +37,7 @@ class GemiddeldenAfbeeldingen {
|
||||
|
||||
private $gemiddeldenafbeeldingen;
|
||||
|
||||
public function __construct(GemiddeldeScores $gemiddeldescores, $modulenr, $orgversieid, $clusterid, $orgid){
|
||||
public function __construct(Gemiddeldescores $gemiddeldescores, $modulenr, $orgversieid, $clusterid, $orgid){
|
||||
$this->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;
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class GemiddeldeScores
|
||||
class Gemiddeldescores
|
||||
{
|
||||
private $CI;
|
||||
private $ijkpunten;
|
||||
@@ -66,7 +66,7 @@ class Hoofdstuk
|
||||
|
||||
private function setHoofdstukKeuze(){
|
||||
$hoofdstukkeuze =
|
||||
new HoofdstukKeuze($this->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(){
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class HoofdstukKeuze
|
||||
class Hoofdstukkeuze
|
||||
{
|
||||
private $modulenr;
|
||||
private $modulenaam;
|
||||
@@ -174,9 +174,9 @@ class HoofdstukKeuze
|
||||
private function setInspectieOordelen()
|
||||
{
|
||||
$inspectieOordelen =
|
||||
(new InspectieOordelen($this->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';
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class InspectieAfbeeldingen {
|
||||
class Inspectieafbeeldingen {
|
||||
|
||||
private $CI;
|
||||
private $oordelen;
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class InspectieOordelen
|
||||
class Inspectieoordelen
|
||||
{
|
||||
private $CI;
|
||||
private $oordelen;
|
||||
+9
-6
@@ -1,6 +1,6 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class SchoolAfbeeldingen {
|
||||
class Schoolafbeeldingen {
|
||||
|
||||
private $CI;
|
||||
private $swvid;
|
||||
@@ -11,7 +11,7 @@ class SchoolAfbeeldingen {
|
||||
private $wensen;
|
||||
private $wens;
|
||||
private $ijkpunten;
|
||||
private $aantalY;
|
||||
private $aantalY = 0;
|
||||
private $labels;
|
||||
private $kleuren;
|
||||
private $kleurcodes;
|
||||
@@ -24,8 +24,9 @@ class SchoolAfbeeldingen {
|
||||
private $rij = 708;
|
||||
private $standaardorg = 250;
|
||||
private $aantal = 15;
|
||||
private $kolombreedte;
|
||||
private $orgbreedte;
|
||||
private $kolombreedte = 0;
|
||||
private $kolomInt = 0;
|
||||
private $orgbreedte = 0;
|
||||
private $aantalscores = 0;
|
||||
private $ijkpuntenok = 0;
|
||||
private $welkehoogste = 0;
|
||||
@@ -336,11 +337,13 @@ class SchoolAfbeeldingen {
|
||||
private function setKolombreedte(){
|
||||
if($this->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';
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class
|
||||
SchooljaarVersies
|
||||
Schooljaarversies
|
||||
{
|
||||
private $CI;
|
||||
private $chapterid;
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class SchoolScores
|
||||
class Schoolscores
|
||||
{
|
||||
private $CI;
|
||||
private $ijkpunten;
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class SopKeuze
|
||||
class Sopkeuze
|
||||
{
|
||||
private $orgid;
|
||||
private $sops;
|
||||
@@ -58,7 +58,7 @@ class Tabellen
|
||||
if( $this->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();
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class CompacteOnderdelen
|
||||
class Compacteonderdelen
|
||||
{
|
||||
private $CI;
|
||||
private $onderdeel;
|
||||
@@ -209,7 +209,7 @@ class CompacteOnderdelen
|
||||
{
|
||||
$divcompact = New Diversiteit($this->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 = [
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class CompactePaginas
|
||||
class Compactepaginas
|
||||
{
|
||||
private $CI;
|
||||
private $schooljaarnr;
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class CompacteVersies
|
||||
class Compacteversies
|
||||
{
|
||||
private $CI;
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class BestuurScores
|
||||
class Bestuurscores
|
||||
{
|
||||
private $CI;
|
||||
private $organisatie;
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class IndividueleScores
|
||||
class Individuelescores
|
||||
{
|
||||
private $CI;
|
||||
private $userid;
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class KamerScores
|
||||
class Kamerscores
|
||||
{
|
||||
private $CI;
|
||||
private $organisatie;
|
||||
@@ -212,19 +212,19 @@ class Lijsten
|
||||
|
||||
private function setSchoolScores(){
|
||||
if ($this->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);
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class SWVScores
|
||||
class Swvscores
|
||||
{
|
||||
private $CI;
|
||||
private $organisatie;
|
||||
+5
-5
@@ -1,6 +1,6 @@
|
||||
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class UserLijsten
|
||||
class Userlijsten
|
||||
{
|
||||
private $CI;
|
||||
private $modulenr;
|
||||
@@ -102,14 +102,14 @@ class UserLijsten
|
||||
}
|
||||
|
||||
private function setIndividueleAfbeeldingen(){
|
||||
$this->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);
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class VergelijkbareVersies
|
||||
class Vergelijkbareversies
|
||||
{
|
||||
private $CI;
|
||||
private $soort;
|
||||
Reference in New Issue
Block a user