You are here

function views_handler_field_user_relationships_oneway::construct in User Relationships 7

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

Construct a new field handler.

Overrides views_handler_field::construct

File

user_relationship_views/views_handler_field_user_relationships_oneway.inc, line 9
User Relationships Views integration. Map type column to a text label

Class

views_handler_field_user_relationships_oneway
@file User Relationships Views integration. Map type column to a text label

Code

function construct() {
  parent::construct();
  $this->status_map = array(
    '0' => t('mutual'),
    '1' => t('one way'),
  );
}