You are here

function prod_check_xmlrpc in Production check & Production monitor 7

Same name and namespace in other branches
  1. 6 prod_check.module \prod_check_xmlrpc()

Implementation of hook_xmlrpc http://api.drupal.org/api/drupal/developer--hooks--core.php/function/hoo...

File

./prod_check.module, line 259

Code

function prod_check_xmlrpc() {
  if (variable_get('prod_check_enable_xmlrpc', 0) == 1) {
    return array(
      array(
        'prod_check.get_settings',
        'prod_check_get_settings',
        array(
          'struct',
          'string',
        ),
        t("Returns a struct containing a form to be displayed on the prod_monitor module's settings page for site specific configuration."),
      ),
      array(
        'prod_check.get_data',
        'prod_check_get_data',
        array(
          'struct',
          'string',
          'struct',
        ),
        t('Returns a struct containing the result of all requested checks.'),
      ),
    );
  }
}