You are here

class notifications_views_handler_field_delete_link in Notifications 6.4

Same name and namespace in other branches
  1. 6 notifications_views/notifications_views_handler_field_delete_link.inc \notifications_views_handler_field_delete_link
  2. 6.2 notifications_views/notifications_views_handler_field_delete_link.inc \notifications_views_handler_field_delete_link
  3. 6.3 notifications_views/notifications_views_handler_field_delete_link.inc \notifications_views_handler_field_delete_link

Field handler that provides a link to delete the message.

Hierarchy

Expanded class hierarchy of notifications_views_handler_field_delete_link

1 string reference to 'notifications_views_handler_field_delete_link'
notifications_views_views_data in notifications_views/notifications_views.module
Implementation of hook_views_data().

File

notifications_views/notifications_views_handler_field_delete_link.inc, line 6

View source
class notifications_views_handler_field_delete_link extends views_handler_field {
  function query() {
    return;
  }
  function render($values) {
    return l('delete', 'message/' . $values->mqid . '/delete', array(
      'query' => array(
        'destination' => $this->view->display_handler->options['path'],
      ),
    ));
  }

}

Members