* @deprecated
* @see CRM_Core_PrevNextCache_Sql::getSelection()
*/
- public static function getSelection($cacheKey, $action = 'get', $entity_table = 'civicrm_contact') {
- return Civi::service('prevnext')->getSelection($cacheKey, $action, $entity_table);
+ public static function getSelection($cacheKey, $action = 'get') {
+ return Civi::service('prevnext')->getSelection($cacheKey, $action);
}
/**
* @param string $cacheKey
* Cache key.
* @param string $action
- * Action.
- * $action : get - get only selection records
- * getall - get all the records of the specified cache key
- * @param string $entity_table
- * Entity table.
+ * One of the following:
+ * - 'get' - get only selection records
+ * - 'getall' - get all the records of the specified cache key
*
* @return array|NULL
*/
- public function getSelection($cacheKey, $action = 'get', $entity_table = 'civicrm_contact');
+ public function getSelection($cacheKey, $action = 'get');
}
* @param string $cacheKey
* Cache key.
* @param string $action
- * Action.
- * $action : get - get only selection records
- * getall - get all the records of the specified cache key
- * @param string $entity_table
- * Entity table.
+ * One of the following:
+ * - 'get' - get only selection records
+ * - 'getall' - get all the records of the specified cache key
*
* @return array|NULL
*/
- public function getSelection($cacheKey, $action = 'get', $entity_table = 'civicrm_contact') {
+ public function getSelection($cacheKey, $action = 'get') {
+ $entity_table = 'civicrm_contact';
+
if (!$cacheKey) {
return NULL;
}