function scald_views_handler_field_representation::render in Scald: Media Management made easy 6
Same name and namespace in other branches
- 7 includes/scald_views_handler_field_representation.inc \scald_views_handler_field_representation::render()
Renders the atom according in the context specified in the option form.
File
- includes/
scald_views_handler_field_representation.inc, line 11 - Provides a field containing the representation of an atom, in a choosen context.
Class
- scald_views_handler_field_representation
- @file Provides a field containing the representation of an atom, in a choosen context.
Code
function render($values) {
$sid = $values->{$this->field_alias};
return scald_render($sid, $this->options['context']);
}