function update($id, Kaltura_Client_Type_FlavorParams $flavorParams) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "flavorParams", $flavorParams->toParams()); $this->client->queueServiceActionCall("flavorparams", "update", $kparams); if ($this->client->isMultiRequest()) { return $this->client->getMultiRequestResult(); } $resultObject = $this->client->doQueue(); $this->client->throwExceptionIfError($resultObject); $this->client->validateObjectType($resultObject, "Kaltura_Client_Type_FlavorParams"); return $resultObject; }
public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } }
function update($id, Kaltura_Client_Type_FlavorParams $flavorParams) { $kparams = array(); $this->client->addParam($kparams, "id", $id); $this->client->addParam($kparams, "flavorParams", $flavorParams->toParams()); $this->client->queueServiceActionCall("flavorparams", "update", "KalturaFlavorParams", $kparams); if ($this->client->isMultiRequest()) { return $this->client->getMultiRequestResult(); } $resultXml = $this->client->doQueue(); $resultXmlObject = new \SimpleXMLElement($resultXml); Kaltura_Client_ParseUtils::checkIfError($resultXmlObject->result); $resultObject = Kaltura_Client_ParseUtils::unmarshalObject($resultXmlObject->result, "KalturaFlavorParams"); $this->client->validateObjectType($resultObject, "Kaltura_Client_Type_FlavorParams"); return $resultObject; }
public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (!empty($xml->readonly)) { $this->readonly = true; } }
public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (count($xml->flashVersion)) { $this->flashVersion = (int) $xml->flashVersion; } if (!empty($xml->poly2Bitmap)) { $this->poly2Bitmap = true; } }
public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (count($xml->flavorParamsId)) { $this->flavorParamsId = (int) $xml->flavorParamsId; } $this->commandLinesStr = (string) $xml->commandLinesStr; $this->flavorParamsVersion = (string) $xml->flavorParamsVersion; $this->flavorAssetId = (string) $xml->flavorAssetId; $this->flavorAssetVersion = (string) $xml->flavorAssetVersion; if (count($xml->readyBehavior)) { $this->readyBehavior = (int) $xml->readyBehavior; } }
public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (count($xml->densityWidth)) { $this->densityWidth = (int) $xml->densityWidth; } if (count($xml->densityHeight)) { $this->densityHeight = (int) $xml->densityHeight; } if (count($xml->sizeWidth)) { $this->sizeWidth = (int) $xml->sizeWidth; } if (count($xml->sizeHeight)) { $this->sizeHeight = (int) $xml->sizeHeight; } if (count($xml->depth)) { $this->depth = (int) $xml->depth; } }