atr_method_info

Versions
6.1
atr_method_info($method = NULL)

Load a review method's information.

Parameters

$method The method's machine name. Leave blank to return information for all methods.

Return value

Array with information.

▾ 4 functions call atr_method_info()

atr_method_availability in atr/atr.module
Check if a review method is available for a certain language.
atr_review_method_result in atr/includes/atr.result.inc
Display review results for a specific method.
atr_review_result in atr/includes/atr.result.inc
Display review results.
theme_atr_profile in atr/includes/atr.admin.inc
Theme a settings profile for display.

Code

atr/atr.module, line 180

<?php
function atr_method_info($method = NULL) {
  static $method_info = NULL;

  if(!$method_info) {
    $method_info = module_invoke_all('atr_method_info');
    drupal_alter('atr_method_info', $method_info);
  }

  return $method ? $method_info[$method] : $method_info;
}
?>