You are here

function nodereferrer_view_handler_field::referrers in NodeReferrer 7

Same name and namespace in other branches
  1. 6 views/nodereferrer_view_handler_field.inc \nodereferrer_view_handler_field::referrers()

Given a node id, field names and content names, returns the list of nodes that refer to the given node. This takes translation settings into account

2 calls to nodereferrer_view_handler_field::referrers()
nodereferrer_view_handler_field_field::get_item_list in views/nodereferrer_view_handler_field_field.inc
nodereferrer_view_handler_field_type::get_item_list in views/nodereferrer_view_handler_field_type.inc

File

views/nodereferrer_view_handler_field.inc, line 108
nodereferrer.module Views integration

Class

nodereferrer_view_handler_field
We use this as a parent class for both the nodereferrer fields. This handler is not meant to be used directly.

Code

function referrers($nid, $fields, $types = NULL) {
  return nodereferrer_referrers_with_translations($nid, $fields, $types, !empty($this->options['multilingual']['referrers_of_translations']), !empty($this->options['multilingual']['translations_of_referrers']));
}