You are here

function hosting_signup_xmlrpc in Hosting 5

Implementation of hook_xmlrpc

File

signup/hosting_signup.module, line 9
Provides a signup form that can be run on remote sites

Code

function hosting_signup_xmlrpc() {
  return array(
    array(
      'hosting_signup.getForm',
      'hosting_signup_get_form',
      array(
        'struct',
        'string',
        'struct',
      ),
      t("Retrieve the form to build"),
    ),
    array(
      'hosting_signup.submitForm',
      'hosting_signup_submit_form',
      array(
        'struct',
        'string',
        'struct',
      ),
      t('Submit your form'),
    ),
    array(
      'hosting_signup.validateForm',
      'hosting_signup_validate_form',
      array(
        'struct',
        'string',
        'struct',
      ),
      t('Validate your form'),
    ),
  );
}