You are here

function kaltura_get_entries in Kaltura 6

Same name and namespace in other branches
  1. 5 kaltura.module \kaltura_get_entries()
  2. 6.2 kaltura.module \kaltura_get_entries()
  3. 7.2 kaltura.module \kaltura_get_entries()
2 calls to kaltura_get_entries()
kaltura_cron in ./kaltura.module
kaltura_import_entries in includes/kaltura.admin.inc

File

./kaltura.module, line 437
kaltura integration module - core functions

Code

function kaltura_get_entries($entries) {
  $kaltura_client = KalturaHelpers::getKalturaClient();
  $session_user = KalturaHelpers::getSessionUser();
  $result = $kaltura_client
    ->getEntries($session_user, $entries, ',', 1);
  if ($result['result']) {
    return $result['result'];
  }
  return FALSE;
}