X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FPrevNextCache%2FInterface.php;h=5f3bfabd1e136982d99a012af3e3fc2c2eb9ecb7;hb=9089bbb05cd3edf2f24624194e349a96bf7d97fa;hp=edaf0d6778ce9bae1658773d6d249c458f1b7a4c;hpb=b8ebe34c530297a2c8b6a7380ac204c6153ff74c;p=civicrm-core.git diff --git a/CRM/Core/PrevNextCache/Interface.php b/CRM/Core/PrevNextCache/Interface.php index edaf0d6778..5f3bfabd1e 100644 --- a/CRM/Core/PrevNextCache/Interface.php +++ b/CRM/Core/PrevNextCache/Interface.php @@ -114,4 +114,15 @@ interface CRM_Core_PrevNextCache_Interface { */ 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); + }