og_handler_field_group_audience_state.inc in Organic groups 7.2
Contains the group field handler for field group audience - state.
File
includes/views/handlers/og_handler_field_group_audience_state.incView source
<?php
/**
* @file
* Contains the group field handler for field group audience - state.
*/
/**
* Field group audience - "state" field handler.
*/
class og_handler_field_group_audience_state extends views_handler_field {
function render($values) {
$states = og_group_content_states();
return $states[$values->{$this->field_alias}];
}
}
Classes
Name | Description |
---|---|
og_handler_field_group_audience_state | Field group audience - "state" field handler. |