You are here

public function Notifications_Subscription_List::next in Notifications 7

File

./notifications.list.inc, line 434
Drupal Notifications Framework - Default class file

Class

Notifications_Subscription_List
List of subscriptions or subscription types

Code

public function next() {
  $k = array_keys($this->subscriptions);
  if (isset($k[++$this->iterator_index])) {
    return $this->subscriptions[$k[$this->iterator_index]];
  }
  else {
    return FALSE;
  }
}