function kaltura_get_full_display in Kaltura 6
Same name and namespace in other branches
- 5 plugins/field_kaltura/field_kaltura.module \kaltura_get_full_display()
- 6.2 plugins/field_kaltura/field_kaltura.module \kaltura_get_full_display()
1 call to kaltura_get_full_display()
- theme_field_kaltura_formatter_full in plugins/
field_kaltura/ field_kaltura.module - Theme function for 'full' text field formatter.
File
- plugins/
field_kaltura/ field_kaltura.module, line 173 - kaltura integration module - functions to provide kaltura as CCK field
Code
function kaltura_get_full_display($item, $teaser) {
$entries = explode(',', rtrim($item['value'], ','));
$all_field = '';
if (is_array($entries) && count($entries)) {
foreach ($entries as $entry_id) {
if (!$entry_id) {
continue;
}
$mynode = node_load(kaltura_get_node_for_mix($entry_id));
if ($mynode) {
$all_field .= node_view($mynode);
}
}
}
$text = $all_field;
return $text;
}