Subversion Repositories eFlore/Applications.del

Rev

Rev 2021 | Rev 2023 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2021 Rev 2022
Line 100... Line 100...
100
		return array(
100
		return array(
101
			'nbObsTotal' => $nbObsTotal,
101
			'nbObsTotal' => $nbObsTotal,
102
			'nbObsTotalMPM' => $this->getNbObsTotal(true),
102
			'nbObsTotalMPM' => $this->getNbObsTotal(true),
103
			'nbObsSansIdentOuTC' => $nbObsSansIdentOuTC,
103
			'nbObsSansIdentOuTC' => $nbObsSansIdentOuTC,
104
			'nbObsSansIdentOuTCMPM' => $this->getNbObsSansIdentOuTC(true),
104
			'nbObsSansIdentOuTCMPM' => $this->getNbObsSansIdentOuTC(true),
105
			'nbObsSansIdentOuTCPC' => round(($nbObsSansIdentOuTC / $nbObsTotal) * 100, 2),
105
			'nbObsSansIdentOuTCPC' => $nbObsTotal == 0 ? 0 : round(($nbObsSansIdentOuTC / $nbObsTotal) * 100, 2),
106
			'nbObsSansIdent' => $nbObsSansIdent,
106
			'nbObsSansIdent' => $nbObsSansIdent,
107
			'nbObsSansIdentMPM' => $this->getNbObsSansIdent(true),
107
			'nbObsSansIdentMPM' => $this->getNbObsSansIdent(true),
108
			'nbObsSansIdentPC' => round(($nbObsSansIdent / $nbObsTotal) * 100, 2),
108
			'nbObsSansIdentPC' => $nbObsTotal == 0 ? 0 : round(($nbObsSansIdent / $nbObsTotal) * 100, 2),
109
			'nbObsTC' => $nbObsTC,
109
			'nbObsTC' => $nbObsTC,
110
			'nbObsTCMPM' => $this->getNbObsTC(true),
110
			'nbObsTCMPM' => $this->getNbObsTC(true),
111
			'nbObsTCPC' => round(($nbObsTC / $nbObsTotal) * 100, 2),
111
			'nbObsTCPC' => $nbObsTotal == 0 ? 0 : round(($nbObsTC / $nbObsTotal) * 100, 2),
112
			'nbObsTCRetenue' => $nbObsTCRetenue,
112
			'nbObsTCRetenue' => $nbObsTCRetenue,
113
			'nbObsTCRetenueMPM' => $this->getNbObsTCRetenue(true),
113
			'nbObsTCRetenueMPM' => $this->getNbObsTCRetenue(true),
114
			'nbObsTCRetenuePC' => round(($nbObsTCRetenue / $nbObsTotal) * 100, 2),
114
			'nbObsTCRetenuePC' => $nbObsTotal == 0 ? 0 : round(($nbObsTCRetenue / $nbObsTotal) * 100, 2),
115
			'nbObsTCConsensus' => $nbObsTCConsensus,
115
			'nbObsTCConsensus' => $nbObsTCConsensus,
116
			'nbObsTCConsensusMPM' => $this->getNbObsTCConsensus(true),
116
			'nbObsTCConsensusMPM' => $this->getNbObsTCConsensus(true),
117
			'nbObsTCConsensusPC' => round(($nbObsTCConsensus / $nbObsTotal) * 100, 2),
117
			'nbObsTCConsensusPC' => $nbObsTotal == 0 ? 0 : round(($nbObsTCConsensus / $nbObsTotal) * 100, 2),
118
			'nbObsTCConsensusNonValide' => $nbObsTCConsensusNonValide,
118
			'nbObsTCConsensusNonValide' => $nbObsTCConsensusNonValide,
119
			'nbObsTCConsensusNonValideMPM' => $this->getNbObsTCConsensusNonValide(true),
119
			'nbObsTCConsensusNonValideMPM' => $this->getNbObsTCConsensusNonValide(true),
120
			'nbObsTCConsensusNonValidePC' => round(($nbObsTCConsensusNonValide / $nbObsTotal) * 100, 2),
120
			'nbObsTCConsensusNonValidePC' => $nbObsTotal == 0 ? 0 : round(($nbObsTCConsensusNonValide / $nbObsTotal) * 100, 2),
121
			'nbPropositionsRetenuesObsAnnee' => $nbPropositionsRetenuesObsAnnee,
121
			'nbPropositionsRetenuesObsAnnee' => $nbPropositionsRetenuesObsAnnee,
122
			'nbPropositionsRetenuesObsAnneeMPM' => $this->getNbPropositionsRetenuesObsAnnee(true),
122
			'nbPropositionsRetenuesObsAnneeMPM' => $this->getNbPropositionsRetenuesObsAnnee(true),
123
			'nbPropositionsRetenuesObsAnneePC' => round(($nbPropositionsRetenuesObsAnnee / $nbObsTotal) * 100, 2),
123
			'nbPropositionsRetenuesObsAnneePC' => $nbObsTotal == 0 ? 0 : round(($nbPropositionsRetenuesObsAnnee / $nbObsTotal) * 100, 2),
124
			'nbPropositionsConsensusObsAnnee' => $nbPropositionsConsensusObsAnnee,
124
			'nbPropositionsConsensusObsAnnee' => $nbPropositionsConsensusObsAnnee,
125
			'nbPropositionsConsensusObsAnneeMPM' => $this->getNbPropositionsConsensusObsAnnee(true),
125
			'nbPropositionsConsensusObsAnneeMPM' => $this->getNbPropositionsConsensusObsAnnee(true),
126
			'nbPropositionsConsensusObsAnneePC' => round(($nbPropositionsConsensusObsAnnee / $nbObsTotal) * 100, 2),
126
			'nbPropositionsConsensusObsAnneePC' => $nbObsTotal == 0 ? 0 : round(($nbPropositionsConsensusObsAnnee / $nbObsTotal) * 100, 2),
127
		);
127
		);
128
	}
128
	}
Line 129... Line 129...
129
 
129
 
130
	/**
130
	/**