You are here

function Notifications_Queue::process_limit in Notifications 6.4

Get / set limit value for counter

1 call to Notifications_Queue::process_limit()
Notifications_Queue::process_queue in includes/notifications_queue.class.inc
Process subscriptions queue

File

includes/notifications_queue.class.inc, line 240

Class

Notifications_Queue
Queue management and processing

Code

function process_limit($name, $value = NULL) {
  if (isset($value)) {
    $this->process_limit[$name] = $value;
  }
  else {
    return isset($this->process_limit[$name]) ? $this->process_limit[$name] : 0;
  }
}