function user_relationships_get_elaboration in User Relationships 6
Same name and namespace in other branches
- 7 user_relationship_elaborations/user_relationship_elaborations.module \user_relationships_get_elaboration()
Retrieve an elaboration from the DB
Parameters
$rid: an integer, the relationship ID
1 call to user_relationships_get_elaboration()
- user_relationship_elaborations_form_alter in user_relationship_elaborations/
user_relationship_elaborations.module - hook_form_alter() to catch the approval form
File
- user_relationship_elaborations/
user_relationship_elaborations.module, line 49 - User Relationships Elaborations feature @author Jeff Smick (creator) @author Darren Ferguson http://drupal.org/user/70179
Code
function user_relationships_get_elaboration($rid) {
$message = db_result(db_query("SELECT elaboration FROM {user_relationship_elaborations} WHERE rid = %d", $rid));
return $message;
}