rsvp_view

Definition

rsvp_view($rid)
rsvp/rsvp.module, line 470

Description

  • Displays an html formatted rsvp
*
  • *

Parameters

$rsvp The rsvp to display.

  • @return html formatted view of the requested rsvp instance.

Code

<?php
function rsvp_view($rid) {
  $rsvp = rsvp_load($rid);
  $node = node_load($rsvp->nid);
  if ($node->nid) {
    $content = theme('rsvp_event', $node);
  }
  $content .= '<h3>'. t('Invite Message') .'</h3>'. $rsvp->invite_text;

  return theme('rsvp', $rsvp, $content);
}
?>