function user_relationships_get_elaboration in User Relationships 7
Same name and namespace in other branches
- 6 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 51 - User Relationships Elaborations feature @author Jeff Smick (creator) @author Darren Ferguson http://drupal.org/user/70179
Code
function user_relationships_get_elaboration($rid) {
return db_query("SELECT elaboration FROM {user_relationship_elaborations} WHERE rid = :rid", array(
':rid' => $rid,
))
->fetchField();
}