Definition at line 6 of file RatioDataset.php.
◆ ag()
sspmod_statistics_RatioDataset::ag |
( |
|
$k, |
|
|
|
$a |
|
) |
| |
|
private |
◆ aggregateSummary()
sspmod_statistics_RatioDataset::aggregateSummary |
( |
| ) |
|
Aggregate summary table from dataset. To be used in the table view.
Definition at line 8 of file RatioDataset.php.
References $key, $res, array, and divide().
13 $this->summary =
array();
14 $noofvalues =
array();
15 foreach ($this->results as $slot =>
$res) {
17 if (array_key_exists(
$key, $this->summary)) {
18 $this->summary[
$key] += $value;
23 $this->summary[
$key] = $value;
25 $noofvalues[
$key] = 1;
27 $noofvalues[
$key] = 0;
33 foreach ($this->summary as
$key => $val) {
34 $this->summary[
$key] = $this->
divide($this->summary[
$key], $noofvalues[$key]);
37 asort($this->summary);
38 $this->summary = array_reverse($this->summary,
true);
foreach($_POST as $key=> $value) $res
Create styles array
The data for the language used.
◆ combine()
sspmod_statistics_RatioDataset::combine |
( |
|
$result1, |
|
|
|
$result2 |
|
) |
| |
◆ divide()
sspmod_statistics_RatioDataset::divide |
( |
|
$v1, |
|
|
|
$v2 |
|
) |
| |
|
private |
◆ getPieData()
sspmod_statistics_RatioDataset::getPieData |
( |
| ) |
|
The documentation for this class was generated from the following file:
- libs/composer/vendor/simplesamlphp/simplesamlphp/modules/statistics/lib/RatioDataset.php