You are here

function scald_views_handler_field_representation::render in Scald: Media Management made easy 7

Same name and namespace in other branches
  1. 6 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.

Overrides views_handler_field::render

File

includes/scald_views_handler_field_representation.inc, line 11
Provides a field containing the representation of an atom.

Class

scald_views_handler_field_representation
@file Provides a field containing the representation of an atom.

Code

function render($values) {
  $sid = $values->{$this->field_alias};
  return scald_render($sid, $this->options['context']);
}