You are here

class KalturaConversionProfileService in Kaltura 6.2

Hierarchy

Expanded class hierarchy of KalturaConversionProfileService

File

kaltura_client/KalturaClient.php, line 5118

View source
class KalturaConversionProfileService extends KalturaServiceBase {
  function __construct(KalturaClient $client) {
    parent::__construct($client);
  }
  function addCurrent(KalturaConversionProfile $conversionProfile) {
    $kparams = array();
    $this->client
      ->addParam($kparams, "conversionProfile", $conversionProfile
      ->toParams());
    $this->client
      ->queueServiceActionCall("conversionprofile", "addCurrent", $kparams);
    if ($this->client
      ->isMultiRequest()) {
      return null;
    }
    $resultObject = $this->client
      ->doQueue();
    $this->client
      ->throwExceptionIfError($resultObject);
    $this->client
      ->validateObjectType($resultObject, "KalturaConversionProfile");
    return $resultObject;
  }
  function getCurrent() {
    $kparams = array();
    $this->client
      ->queueServiceActionCall("conversionprofile", "getCurrent", $kparams);
    if ($this->client
      ->isMultiRequest()) {
      return null;
    }
    $resultObject = $this->client
      ->doQueue();
    $this->client
      ->throwExceptionIfError($resultObject);
    $this->client
      ->validateObjectType($resultObject, "KalturaConversionProfile");
    return $resultObject;
  }

}

Members