You are here

notifications_views_handler_field_delete_link.inc in Notifications 6.4

File

notifications_views/notifications_views_handler_field_delete_link.inc
View source
<?php

/**
 * Field handler that provides a link to delete the message.
 */
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'],
      ),
    ));
  }

}

Classes

Namesort descending Description
notifications_views_handler_field_delete_link Field handler that provides a link to delete the message.