function signup_user_schedule in Signup 6.2
Same name and namespace in other branches
- 5.2 includes/views.none.inc \signup_user_schedule()
- 5 signup.module \signup_user_schedule()
Print a schedule of the given user's signups.
1 string reference to 'signup_user_schedule'
- signup_no_views_menu in includes/
no_views.inc - Add menu items we only need to define if views is not enabled.
File
- includes/
no_views.inc, line 111 - Provides all the code for required UI elements for sites that do not have views.module enabled. If views is enabled, there are default views for all of these things (which are therefore customizable and more powerful) in signup/views/views.inc.
Code
function signup_user_schedule($account) {
$output = '';
drupal_set_title(t('Signups for @user', array(
'@user' => $account->name,
)));
$titles = signup_list_user_signups($account->uid);
foreach ($titles as $nid => $title) {
$node = node_load($nid);
$output .= theme('signup_user_schedule', $node);
}
return $output;
}