You are here

function views_handler_field_user_relationships_name::construct in User Relationships 7

Same name and namespace in other branches
  1. 6 user_relationship_views/views_handler_field_user_relationships_name.inc \views_handler_field_user_relationships_name::construct()

Construct a new field handler.

Overrides views_handler_field::construct

File

user_relationship_views/views_handler_field_user_relationships_name.inc, line 9
User Relationships Views integration. Map RTID to relationship name

Class

views_handler_field_user_relationships_name
@file User Relationships Views integration. Map RTID to relationship name

Code

function construct() {
  parent::construct();

  //just preload all relationships {rtid}->{relationship object}
  $this->rel_names = user_relationships_types_load();
}