예제 #1
0
 /**
  * batch getBulkUploadLastResultAction action returns the last result of the bulk upload
  *
  * @action getBulkUploadLastResult
  * @param int $bulkUploadJobId The id of the bulk upload job
  * @return KalturaBulkUploadResult
  */
 function getBulkUploadLastResultAction($bulkUploadJobId)
 {
     $dbBulkUploadResult = BulkUploadResultPeer::retrieveLastByBulkUploadId($bulkUploadJobId);
     if (!$dbBulkUploadResult) {
         return null;
     }
     $bulkUploadResult = new KalturaBulkUploadResult();
     $bulkUploadResult->fromObject($dbBulkUploadResult, $this->getResponseProfile());
     return $bulkUploadResult;
 }