You are here

function signup_build_signup_data in Signup 5

Same name and namespace in other branches
  1. 5.2 signup.module \signup_build_signup_data()

Deprecated function to render signup data in a human-readable form.

See also

theme_signup_custom_data()

theme_signup_custom_data_email()

theme_signup_custom_data_rows()

File

./signup.module, line 1368

Code

function signup_build_signup_data($data, $type = 'output') {
  switch ($type) {
    case 'email':
      return theme('signup_custom_data_email', $data);
    case 'table':

      // This function used to take $type == 'table' when it wanted rows. :(
      return theme('signup_custom_data_rows', $data);
    default:
      return theme('signup_custom_data', $data);
  }
}