You are here

views_handler_field_invite_status.inc in Invite 7.4

Definition of views_handler_field_invite_status.

File

views/handlers/views_handler_field_invite_status.inc
View source
<?php

/**
 * @file
 * Definition of views_handler_field_invite_status.
 */

/**
 * Field handler to output the name of invite status.
 *
 * @ingroup views_field_handlers
 * @codingStandardsIgnoreStart
 */
class views_handler_field_invite_status extends views_handler_field {

  /**
   * Render.
   *
   * @codingStandardsIgnoreEnd
   */
  public function render($values) {
    $value = $this
      ->get_value($values);
    $options = invite_get_status_options();
    return $options[$value];
  }

}

Classes

Namesort descending Description
views_handler_field_invite_status Field handler to output the name of invite status.