You are here

function signup_handler_field_signup_status::render in Signup 6

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. 7 views/handlers/signup_handler_field_signup_status.inc \signup_handler_field_signup_status::render()

File

views/handlers/signup_handler_field_signup_status.inc, line 7

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');
}