You are here

function user_relationships_load_relationships in User Relationships 5

Public API for loading relationships that match specified criteria

Parameters

$criteria: An associative array of attributes to search for. Keys in the array should match See the comments for user_relationships_count_relationships() above for a description of the criteria.

Return value

An array of the relationships that match the criteria

1 call to user_relationships_load_relationships()
user_relationship_implications_user_relationships in plugins/user_relationship_implications/user_relationship_implications.module
hook_user_relationships()

File

./user_relationships_api.inc, line 314

Code

function user_relationships_load_relationships($criteria = array()) {
  return _user_relationships_select_relationships($criteria, FALSE);
}