Ejemplo n.º 1
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
 }
Ejemplo n.º 2
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->webexUserId = (string) $xml->webexUserId;
     $this->webexPassword = (string) $xml->webexPassword;
     if (count($xml->webexSiteId)) {
         $this->webexSiteId = (int) $xml->webexSiteId;
     }
     $this->webexPartnerId = (string) $xml->webexPartnerId;
     $this->webexServiceUrl = (string) $xml->webexServiceUrl;
     $this->webexHostIdMetadataFieldName = (string) $xml->webexHostIdMetadataFieldName;
 }
Ejemplo n.º 3
0
 /**
  * Update an existing KalturaDropFolder object
  * 	 
  * 
  * @return \Kaltura\Client\Plugin\DropFolder\Type\DropFolder
  */
 function update($dropFolderId, \Kaltura\Client\Plugin\DropFolder\Type\DropFolder $dropFolder)
 {
     $kparams = array();
     $this->client->addParam($kparams, "dropFolderId", $dropFolderId);
     $this->client->addParam($kparams, "dropFolder", $dropFolder->toParams());
     $this->client->queueServiceActionCall("dropfolder_dropfolder", "update", "KalturaDropFolder", $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, "KalturaDropFolder");
     $this->client->validateObjectType($resultObject, "\\Kaltura\\Client\\Plugin\\DropFolder\\Type\\DropFolder");
     return $resultObject;
 }