Merge pull request #13197 from seamuslee001/lab_core_442
[civicrm-core.git] / CRM / Core / PrevNextCache / Interface.php
index edaf0d6778ce9bae1658773d6d249c458f1b7a4c..5f3bfabd1e136982d99a012af3e3fc2c2eb9ecb7 100644 (file)
@@ -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);
+
 }