function twitter_views_handler_field_profile_image::render in Twitter 6.3
Same name and namespace in other branches
- 6.5 twitter_views_field_handlers.inc \twitter_views_handler_field_profile_image::render()
- 6.2 twitter_views_field_handlers.inc \twitter_views_handler_field_profile_image::render()
- 6.4 twitter_views_field_handlers.inc \twitter_views_handler_field_profile_image::render()
- 7.6 twitter_views_field_handlers.inc \twitter_views_handler_field_profile_image::render()
- 7.3 twitter_views_field_handlers.inc \twitter_views_handler_field_profile_image::render()
- 7.4 twitter_views_field_handlers.inc \twitter_views_handler_field_profile_image::render()
- 7.5 twitter_views_field_handlers.inc \twitter_views_handler_field_profile_image::render()
File
- ./
twitter_views_field_handlers.inc, line 74
Class
- twitter_views_handler_field_profile_image
- Field handler to provide simple renderer that turns a URL into a clickable link.
Code
function render($values) {
$name = $values->{$this->aliases['name']};
$value = $values->{$this->field_alias};
return theme('image', $value, $name, t("@name's twitter picture", array(
'@name' => $name,
)), array(), FALSE);
}