You are here

function views_handler_field_invite_withdraw_link::render in Invite 6.2

Overrides views_handler_field_invite_accept_link::render

File

invite_views/includes/views2/handlers/views_handler_field_invite_withdraw_link.inc, line 8
Invite withdraw link.

Class

views_handler_field_invite_withdraw_link
@file Invite withdraw link.

Code

function render($values) {
  $text = !empty($this->options['text']) ? check_plain($this->options['text']) : t('link');
  $reg_code = $values->{$this->aliases['reg_code']};
  return l($text, 'invite/withdraw/' . $reg_code);
}