You are here

function signup_handler_field_signup_status::render in Signup 7

Same name and namespace in other branches
  1. 6.2 views/handlers/signup_handler_field_signup_status.inc \signup_handler_field_signup_status::render()
  2. 6 views/handlers/signup_handler_field_signup_status.inc \signup_handler_field_signup_status::render()

Render the field.

Parameters

array $values: The values retrieved from the database.

Overrides views_handler_field::render

File

views/handlers/signup_handler_field_signup_status.inc, line 6

Class

signup_handler_field_signup_status
Field handler to display the current signup status of a node.

Code

function render($values) {
  return $values->{$this->field_alias} == 0 ? t('Closed') : t('Open');
}