class GridFieldPageCount implements GridField_HTMLProvider

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}.

Config options

require_paginator boolean 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

at line 28
__construct(string $targetFragment = 'before')

Parameters

string $targetFragment The fragment indicating the placement of this page count

at line 64
array getHTMLFragments($gridField)

Parameters

$gridField

Return Value

array