ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
DAverage.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
PhpOffice\PhpSpreadsheet\Calculation\Database
;
4
5
use
PhpOffice\PhpSpreadsheet\Calculation\Statistical\Averages
;
6
7
class
DAverage
extends
DatabaseAbstract
8
{
34
public
static
function
evaluate
($database, $field, $criteria)
35
{
36
$field = self::fieldExtract($database, $field);
37
if
($field === null) {
38
return
null;
39
}
40
41
return
Averages::average
(
42
self::getFilteredColumn($database, $field, $criteria)
43
);
44
}
45
}
PhpOffice\PhpSpreadsheet\Calculation\Database\DAverage\evaluate
static evaluate($database, $field, $criteria)
DAVERAGE.
Definition:
DAverage.php:34
PhpOffice\PhpSpreadsheet\Calculation\Database
Definition:
DatabaseAbstract.php:3
PhpOffice\PhpSpreadsheet\Calculation\Database\DatabaseAbstract
Definition:
DatabaseAbstract.php:9
PhpOffice\PhpSpreadsheet\Calculation\Statistical\Averages
Definition:
Mean.php:3
PhpOffice\PhpSpreadsheet\Calculation\Database\DAverage
Definition:
DAverage.php:7
php
PhpOffice\PhpSpreadsheet\Calculation\Statistical\Averages\average
static average(... $args)
AVERAGE.
Definition:
Averages.php:71
libs
composer
vendor
phpoffice
phpspreadsheet
src
PhpSpreadsheet
Calculation
Database
DAverage.php
Generated on Thu Feb 27 2025 19:01:22 for ILIAS by
1.8.13 (using
Doxyfile
)