You are here

og_views_handler_field_og_selective.inc in Organic groups 6.2

Same filename and directory in other branches
  1. 6 modules/og_views/includes/og_views_handler_field_og_selective.inc

File

modules/og_views/includes/og_views_handler_field_og_selective.inc
View source
<?php

/**
 * Field handler to show Selective state.
 *
 * @ingroup views_field_handlers
 */
class og_views_handler_field_og_selective extends views_handler_field {
  function render($values) {
    $map = og_selective_map();
    return $map[$values->{$this->field_alias}];
  }

}

Classes

Namesort descending Description
og_views_handler_field_og_selective Field handler to show Selective state.