_rsvp_get_attendees($rid, $status = 'all')
rsvp/rsvp.module, line 1497
$rid The rid of the rsvp instance.
<?php
function _rsvp_get_attendees($rid, $status = 'all') {
if ($status == 'all' || !isset($status))
return db_query('SELECT * FROM {rsvp_invite} WHERE rid = %d', $rid);
else
return db_query('SELECT * FROM {rsvp_invite} WHERE rid = %d and response=\'%s\'', $rid, $status);
}
?>