Skip to content
PHP Ecosystem
Explore

GridCount

API reference › Debug Core › View › Grid › GridCount

final classPHPForge\Debug\View\Grid\GridCount
Sourcesrc/View/Grid/GridCount.php

Renders the row-count sentence below a panel grid.

MethodDescriptionDefined by
render() staticReturns the rendered row-count sentence for the rows currently on screen.GridCount
public static function render(int $begin, int $end, int $total): string

Returns the rendered row-count sentence for the rows currently on screen.

Parameters

ParameterTypeDescription
$beginintOne-based position of the first visible row.
$endintOne-based position of the last visible row.
$totalintNumber of rows matching the active filters.

Returns

string