You are here

function user_relationship_implications_load in User Relationships 5

Same name and namespace in other branches
  1. 5.2 plugins/user_relationship_implications/user_relationship_implications.module \user_relationship_implications_load()

Public API to load all implied relationships

Return value

array of relationship implications

File

plugins/user_relationship_implications/user_relationship_implications.module, line 41
Drupal Module: User Relationship Implications

Code

function user_relationship_implications_load() {
  static $implications = array();
  if (!sizeof($implications)) {
    $results = db_query("SELECT * FROM {user_relationship_implications}");
    $implications = _user_relationship_implications_load_data($results);
  }
  return $implications;
}