Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

Public Member Functions | List of all members
eZ\Publish\Core\Pagination\Pagerfanta\LocationSearchAdapter Class Reference

Pagerfanta adapter for eZ Publish content search. More...

Inheritance diagram for eZ\Publish\Core\Pagination\Pagerfanta\LocationSearchAdapter:

## Public Member Functions
| getSlice ($offset, $length)
| Returns a slice of the results as Location objects. More...
Public Member Functions inherited from eZ\Publish\Core\Pagination\Pagerfanta\LocationSearchHitAdapter
| __construct (LocationQuery $query, SearchService $searchService, array $languageFilter=[])
| getNbResults ()
| Returns the number of results. More...

## Detailed Description

Pagerfanta adapter for eZ Publish content search.

Will return results as Location objects.

Definition at line 13 of file LocationSearchAdapter.php.

## Member Function Documentation

## ◆ getSlice()

eZ\Publish\Core\Pagination\Pagerfanta\LocationSearchAdapter::getSlice | ( |  | $offset,
|  |  | $length
| ) |  |

Returns a slice of the results as Location objects.

Parameters

  int | $offset | The offset.
  int | $length | The length.

Returns
  \eZ\Publish\API\Repository\Values\Content\Location[]

Reimplemented from eZ\Publish\Core\Pagination\Pagerfanta\LocationSearchHitAdapter.

Definition at line 23 of file LocationSearchAdapter.php.

The documentation for this class was generated from the following file:

- LocationSearchAdapter.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.