function nodereferrer_view_handler_field::referrers in NodeReferrer 7
Same name and namespace in other branches
- 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()
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']));
}