You are here

function views_send_handler_field_selector::label in Views Send 7

If the view is using a table style, provide a placeholder for a "select all" checkbox.

Overrides views_handler_field::label

File

views/views_send_handler_field_selector.inc, line 14
Views field handler. Outputs a checkbox for selecting a row for email sending. Implements the Views Form API.

Class

views_send_handler_field_selector
@file Views field handler. Outputs a checkbox for selecting a row for email sending. Implements the Views Form API.

Code

function label() {
  if ($this->view->style_plugin instanceof views_plugin_style_table) {
    return '<!--views-send-select-all-->';
  }
  else {
    return parent::label();
  }
}