You are here

public function RuleStorage::getRuleIdsToCheck in Smart Date 3.x

Same name and namespace in other branches
  1. 8.2 modules/smart_date_recur/src/RuleStorage.php \Drupal\smart_date_recur\RuleStorage::getRuleIdsToCheck()
  2. 3.0.x modules/smart_date_recur/src/RuleStorage.php \Drupal\smart_date_recur\RuleStorage::getRuleIdsToCheck()
  3. 3.1.x modules/smart_date_recur/src/RuleStorage.php \Drupal\smart_date_recur\RuleStorage::getRuleIdsToCheck()
  4. 3.2.x modules/smart_date_recur/src/RuleStorage.php \Drupal\smart_date_recur\RuleStorage::getRuleIdsToCheck()
  5. 3.3.x modules/smart_date_recur/src/RuleStorage.php \Drupal\smart_date_recur\RuleStorage::getRuleIdsToCheck()
  6. 3.4.x modules/smart_date_recur/src/RuleStorage.php \Drupal\smart_date_recur\RuleStorage::getRuleIdsToCheck()

Returns the fids of feeds that need to be refreshed.

Return value

array A list of feed ids to be refreshed.

Overrides RuleStorageInterface::getRuleIdsToCheck

File

modules/smart_date_recur/src/RuleStorage.php, line 18

Class

RuleStorage
Controller class for Smart Date Recur's rules.

Namespace

Drupal\smart_date_recur

Code

public function getRuleIdsToCheck() {
  return $this->database
    ->query('SELECT rid FROM {' . $this
    ->getBaseTable() . '} WHERE `limit` IS NULL')
    ->fetchCol();
}