Documentation

Subtotal
in package

Table of Contents

Methods

evaluate()  : float|int|string
SUBTOTAL.
filterFormulaArgs()  : array<string|int, mixed>
filterHiddenArgs()  : array<string|int, mixed>

Methods

evaluate()

SUBTOTAL.

public static evaluate(mixed $functionType, array<string|int, mixed> ...$args) : float|int|string

Returns a subtotal in a list or database.

Parameters
$functionType : mixed

A number 1 to 11 that specifies which function to use in calculating subtotals within a range list Numbers 101 to 111 shadow the functions of 1 to 11 but ignore any values in the range that are in hidden rows

$args : array<string|int, mixed>

A mixed data series of values

Return values
float|int|string

filterFormulaArgs()

protected static filterFormulaArgs(Cell $cellReference, array<string|int, mixed> $args) : array<string|int, mixed>
Parameters
$cellReference : Cell
$args : array<string|int, mixed>
Return values
array<string|int, mixed>

filterHiddenArgs()

protected static filterHiddenArgs(Cell $cellReference, array<string|int, mixed> $args) : array<string|int, mixed>
Parameters
$cellReference : Cell
$args : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results