function kaltura_forward_notification in Kaltura 5
Same name and namespace in other branches
- 6.2 includes/kaltura.notification.inc \kaltura_forward_notification()
- 6 includes/kaltura.notification.inc \kaltura_forward_notification()
- 7.3 includes/kaltura.notification.inc \kaltura_forward_notification()
- 7.2 includes/kaltura.notification.inc \kaltura_forward_notification()
1 call to kaltura_forward_notification()
- kaltura_notification_handler in includes/
kaltura.notification.inc
File
- includes/
kaltura.notification.inc, line 76
Code
function kaltura_forward_notification($noti) {
watchdog('kaltura notification handler', print_r($noti, TRUE));
switch ($noti['notification_type']) {
case 'entry_add':
kaltura_notify_node_entry_add('entry', $noti);
break;
case 'kshow_add':
kaltura_notify_node_entry_add('mix', $noti);
break;
case 'kshow_update_info':
watchdog('KNH', 'notification of type kshow_update_info received<br />' . serialize($noti));
break;
case 'entry_update_thumbnail':
kaltura_update_entry_thumbnail($noti);
break;
case 'entry_update':
kaltura_notify_node_update($noti);
break;
case 'test':
kaltura_test_notification_received();
break;
default:
}
}