71 lines
1.9 KiB
PHP
71 lines
1.9 KiB
PHP
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
|
class Inspectieoordelen
|
|
{
|
|
private $CI;
|
|
private $oordelen;
|
|
private $oordeel;
|
|
private $standaarden = 0;
|
|
private $ijkpunten;
|
|
private $melding;
|
|
private $inspectieoordelen;
|
|
|
|
public function __construct($orgversieid, $orgid, $clusterid){
|
|
$this->CI =& get_instance();
|
|
$this->orgversieid = $orgversieid;
|
|
$this->orgid = $orgid;
|
|
$this->clusterid = $clusterid;
|
|
// $this->handle();
|
|
}
|
|
|
|
// public function getInspectieOordelen(){
|
|
// return $this->inspectieoordelen;//oordelen zijn inclusief wensen
|
|
// }
|
|
//
|
|
// public function getOordelen(){
|
|
// return $this->oordelen;
|
|
// }
|
|
//
|
|
// public function getIJkpunten(){
|
|
// return $this->ijkpunten;
|
|
// }
|
|
//
|
|
// private function handle(){
|
|
// $this->setOordelen();
|
|
// $this->loopOordelen();
|
|
// $this->setIJkpunten();
|
|
// $this->setInspectieOordelen();
|
|
// }
|
|
//
|
|
//
|
|
// private function setOordelen(){
|
|
// $this->oordelen = $this->CI->Scores_model->getstandaardfrequenties(false, $this->orgid, $this->orgversieid);
|
|
// }
|
|
//
|
|
// private function loopOordelen(){
|
|
// foreach ($this->oordelen ? $this->oordelen : [] as $this->oordeel){
|
|
// if($this->oordeel->normid){
|
|
// $this->standaarden++;
|
|
// }
|
|
// }
|
|
// }
|
|
//
|
|
// private function setMelding(){
|
|
// $this->melding = "";
|
|
// }
|
|
//
|
|
// private function setIJkpunten(){
|
|
// $this->ijkpunten = $this->CI->Orgversies_model->getijkpunten($this->orgversieid);
|
|
// }
|
|
//
|
|
// private function setInspectieOordelen()
|
|
// {
|
|
// if ($this->standaarden >= 2) {
|
|
// $this->inspectieoordelen =
|
|
// ["oordelen" => $this->oordelen,
|
|
// "ijkpunten" => $this->ijkpunten];
|
|
// } else {
|
|
// $this->inspectieoordelen = false;
|
|
// }
|
|
// }
|
|
} |