function KalturaClient::updateBatchJob in Kaltura 6
Same name and namespace in other branches
- 5 kaltura_client/kaltura_client.php \KalturaClient::updateBatchJob()
File
- kaltura_client/
kaltura_client.php, line 1734
Class
Code
function updateBatchJob($kalturaSessionUser, $batchjobId, $batchjob) {
$params = array();
$params["batchjob_id"] = $batchjobId;
$this
->addOptionalParam($params, "batchjob_data", $batchjob->data);
$this
->addOptionalParam($params, "batchjob_status", $batchjob->status);
$this
->addOptionalParam($params, "batchjob_abort", $batchjob->abort);
$this
->addOptionalParam($params, "batchjob_checkAgainTimeout", $batchjob->checkAgainTimeout);
$this
->addOptionalParam($params, "batchjob_progress", $batchjob->progress);
$this
->addOptionalParam($params, "batchjob_message", $batchjob->message);
$this
->addOptionalParam($params, "batchjob_description", $batchjob->description);
$this
->addOptionalParam($params, "batchjob_updatesCount", $batchjob->updatesCount);
$this
->addOptionalParam($params, "batchjob_processorExpiration", $batchjob->processorExpiration);
$result = $this
->hit("updatebatchjob", $kalturaSessionUser, $params);
return $result;
}