Oihana PHP System

PaginationTrait

Table of Contents

Constants

LIMIT  : string = 'limit'
The attribute key for the 'limit' property.
MAX_LIMIT  : string = 'maxLimit'
The attribute key for the 'maxLimit' property.
MIN_LIMIT  : string = 'minLimit'
The attribute key for the 'minLimit' property.
NUMBER_OF_PAGES  : string = 'numberOfPages'
The attribute key for the 'numberOfPages' property.
OFFSET  : string = 'offset'
The attribute key for the 'offset' property.
PAGE  : string = 'page'
The attribute key for the 'page' property.

Constants

LIMIT

The attribute key for the 'limit' property.

public string LIMIT = 'limit'

Used to identify the maximum number of items to return per page in an array, JSON, or other structured representation.

MAX_LIMIT

The attribute key for the 'maxLimit' property.

public string MAX_LIMIT = 'maxLimit'

Represents the upper bound on the number of items that can be requested per page.

MIN_LIMIT

The attribute key for the 'minLimit' property.

public string MIN_LIMIT = 'minLimit'

Represents the lower bound on the number of items that can be requested per page.

NUMBER_OF_PAGES

The attribute key for the 'numberOfPages' property.

public string NUMBER_OF_PAGES = 'numberOfPages'

Represents the total number of pages in the paginated collection. Can be used to generate pagination controls or metadata.

OFFSET

The attribute key for the 'offset' property.

public string OFFSET = 'offset'

Indicates the number of items to skip before starting to collect the result set.

PAGE

The attribute key for the 'page' property.

public string PAGE = 'page'

Indicates the current page number in the paginated collection.

On this page

Search results