You are here

nodequeue_handler_field_links.inc in Nodequeue 6.2

Views field handler for the nodequeue queue links

File

includes/views/nodequeue_handler_field_links.inc
View source
<?php

/**
 * @file
 * Views field handler for the nodequeue queue links
 */
class nodequeue_handler_field_links extends views_handler_field_node_link {
  function render($values) {
    if (user_access('manipulate queues') || user_access('manipulate all queues')) {
      $nid = $values->{$this->aliases['nid']};
      return theme('links', nodequeue_link('node', node_load($nid)));
    }
  }

}

Classes

Namesort descending Description
nodequeue_handler_field_links @file Views field handler for the nodequeue queue links