function nodereferrer_view_handler_argument::referrers in NodeReferrer 7
Same name and namespace in other branches
- 6 views/nodereferrer_view_handler_argument.inc \nodereferrer_view_handler_argument::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_argument::referrers()
- nodereferrer_view_handler_argument_field::get_node_list in views/
nodereferrer_view_handler_argument_field.inc - This should be overriden by descendant classes
- nodereferrer_view_handler_argument_type::get_node_list in views/
nodereferrer_view_handler_argument_type.inc - This should be overriden by descendant classes
File
- views/
nodereferrer_view_handler_argument.inc, line 110 - nodereferrer.module Views integration
Class
- nodereferrer_view_handler_argument
- We use this as a parent class for both the nodereferrer arguments. This handler is not meant to be used directly.
Code
function referrers($nid, $fields, $types = NULL) {
return array_keys(nodereferrer_referrers_with_translations($nid, $fields, $types, !empty($this->options['multilingual']['referrers_of_translations']), !empty($this->options['multilingual']['translations_of_referrers'])));
}