class GridFieldPageCount implements GridField_HTMLProvider (View source)

GridFieldPage displays a simple current page count summary.

E.g. "View 1 - 15 of 32"

Depends on {@link GridFieldPaginator} being added to the {@link GridField}.

Properties

static private bool $require_paginator

Flag indicating whether or not this control should throw an error if a {@link GridFieldPaginator} is not present on the same {@link GridField}

Methods

__construct(string $targetFragment = 'before')

No description

array
getHTMLFragments($gridField)

No description

Details

__construct(string $targetFragment = 'before')

Parameters

string $targetFragment

The fragment indicating the placement of this page count

array getHTMLFragments($gridField)

Parameters

$gridField

Return Value

array