1, * 'prev' => ['id1' => 123, 'data'=>'foo'], * 'next' => ['id1' => 456, 'data'=>'foo'], * ] */ public function getPositions($cacheKey, $id1); /** * Delete an item from the prevnext cache table based on the entity. * * @param int $id * @param string $cacheKey */ public function deleteItem($id = NULL, $cacheKey = NULL); /** * Get count of matching rows. * * @param string $cacheKey * @return int */ public function getCount($cacheKey); /** * Fetch a list of contacts from the prev/next cache for displaying a search results page * * @param string $cacheKey * @param int $offset * @param int $rowCount * @return array * List of contact IDs (entity_id1). */ public function fetch($cacheKey, $offset, $rowCount); }