GoogleSheetSample
Read onlyYes
FinalYes
Properties
- $cells : array<string|int, mixed>
- $gridRowCount : int
- $names : array<string|int, mixed>
- $rows : array<string|int, mixed>
- $wholeSheet : bool
Methods
- __construct() : mixed
Properties
$cells
public
array<string|int, mixed>
$cells
$gridRowCount
public
int
$gridRowCount
$names
public
array<string|int, mixed>
$names
$rows
public
array<string|int, mixed>
$rows
$wholeSheet
public
bool
$wholeSheet
Methods
__construct()
public
__construct(array<int, string> $names, array<int, array<string|int, mixed>> $rows, array<int, array<int, mixed>> $cells, bool $wholeSheet, int $gridRowCount) : mixed
Parameters
- $names : array<int, string>
-
the header (or generated names) - known even when no data row follows
- $rows : array<int, array<string|int, mixed>>
-
the rows of the records that are not corrupted
- $cells : array<int, array<int, mixed>>
-
the raw cells of every row, keyed by its 1-based number in the sheet
- $wholeSheet : bool
-
the range reached the last row of the grid, so $rows IS the sheet and a read can be served from it instead of fetching the same rows again
- $gridRowCount : int
-
the rows the grid allocates - an upper bound on the rows it holds