You are here

function _uc_recurring_get_recurring_info_handlers in UC Recurring Payments and Subscriptions 6.2

Same name and namespace in other branches
  1. 7.2 uc_recurring.module \_uc_recurring_get_recurring_info_handlers()

Get the data of the handlers, keyed by the fee handler.

Parameters

$result: The raw result returned from invoking hook_uc_recurring_info().

See also

uc_recurring_get_recurring_info()

1 call to _uc_recurring_get_recurring_info_handlers()
uc_recurring_get_recurring_info in ./uc_recurring.module
Get the recurring handlers info.

File

./uc_recurring.module, line 1157
Allows you to add a recurring fee to a product/SKU to handle subscription type services.

Code

function _uc_recurring_get_recurring_info_handlers($data = array()) {
  $return = array();
  foreach ($data as $module) {
    foreach ($module as $name => $handler) {
      $return[$name] = $handler;
    }
  }
  return $return;
}