You are here

function signup_build_signup_data in Signup 5.2

Same name and namespace in other branches
  1. 5 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 2427
The Signup module (http://drupal.org/project/signup) manages replies to nodes. In particular, it's good for event management. Signup supports sending reminder emails and automatically closing signups for nodes with a start time, via the Event…

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);
  }
}