PHP Class eZ\Publish\Core\Pagination\Pagerfanta\ContentSearchAdapter

Will return results as Content objects.
Inheritance: extends ContentSearchHitAdapter
Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
getSlice ( integer $offset, integer $length ) : eZ\Publish\API\Repository\Values\Content\Content[] Returns a slice of the results as Content objects.

Method Details

getSlice() public method

Returns a slice of the results as Content objects.
public getSlice ( integer $offset, integer $length ) : eZ\Publish\API\Repository\Values\Content\Content[]
$offset integer The offset.
$length integer The length.
return eZ\Publish\API\Repository\Values\Content\Content[]