function addtoany_handler_field_addtoany_link::render in AddToAny Share Buttons 6.2
Same name and namespace in other branches
- 6.3 views/addtoany_handler_field_addtoany_link.inc \addtoany_handler_field_addtoany_link::render()
- 7.4 views/addtoany_handler_field_addtoany_link.inc \addtoany_handler_field_addtoany_link::render()
- 7 views/addtoany_handler_field_addtoany_link.inc \addtoany_handler_field_addtoany_link::render()
- 7.3 views/addtoany_handler_field_addtoany_link.inc \addtoany_handler_field_addtoany_link::render()
File
- views/
addtoany_handler_field_addtoany_link.inc, line 17 - Views field handler for the AddToAny link field
Class
- addtoany_handler_field_addtoany_link
- Field handler to present AddToAny links.
Code
function render($values) {
$node = new stdClass();
$node->nid = $values->{$this->aliases['nid']};
$node->title = $values->{$this->aliases['title']};
return _addtoany_create_button($node, $teaser);
}