当前位置: 首页>>代码示例>>PHP>>正文


PHP ParseUtils::unmarshalSimpleType方法代码示例

本文整理汇总了PHP中Kaltura\Client\ParseUtils::unmarshalSimpleType方法的典型用法代码示例。如果您正苦于以下问题:PHP ParseUtils::unmarshalSimpleType方法的具体用法?PHP ParseUtils::unmarshalSimpleType怎么用?PHP ParseUtils::unmarshalSimpleType使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Kaltura\Client\ParseUtils的用法示例。


在下文中一共展示了ParseUtils::unmarshalSimpleType方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: deletePending

 /**
  * Action goes over all tags with instanceCount==0 and checks whether they need to be removed from the DB. Returns number of removed tags.
  *      
  * 
  * @return int
  */
 function deletePending()
 {
     $kparams = array();
     $this->client->queueServiceActionCall("tagsearch_tag", "deletePending", null, $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultXml = $this->client->doQueue();
     $resultXmlObject = new \SimpleXMLElement($resultXml);
     \Kaltura\Client\ParseUtils::checkIfError($resultXmlObject->result);
     $resultObject = (int) \Kaltura\Client\ParseUtils::unmarshalSimpleType($resultXmlObject->result);
     return $resultObject;
 }
开发者ID:klvtz,项目名称:kaltura-client53,代码行数:19,代码来源:TagService.php

示例2: getFaspUrl

 /**
  * 
  * @return string
  */
 function getFaspUrl($flavorAssetId)
 {
     $kparams = array();
     $this->client->addParam($kparams, "flavorAssetId", $flavorAssetId);
     $this->client->queueServiceActionCall("aspera_aspera", "getFaspUrl", null, $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultXml = $this->client->doQueue();
     $resultXmlObject = new \SimpleXMLElement($resultXml);
     \Kaltura\Client\ParseUtils::checkIfError($resultXmlObject->result);
     $resultObject = (string) \Kaltura\Client\ParseUtils::unmarshalSimpleType($resultXmlObject->result);
     return $resultObject;
 }
开发者ID:klvtz,项目名称:kaltura-client53,代码行数:18,代码来源:AsperaService.php

示例3: collect

 /**
  * Will write to the event log a single line representing the event
  * 	 client version - will help interprete the line structure. different client versions might have slightly different data/data formats in the line
  * event_id - number is the row number in yuval's excel
  * datetime - same format as MySql's datetime - can change and should reflect the time zone
  * session id - can be some big random number or guid
  * partner id
  * entry id
  * unique viewer
  * widget id
  * ui_conf id
  * uid - the puser id as set by the ppartner
  * current point - in milliseconds
  * duration - milliseconds
  * user ip
  * process duration - in milliseconds
  * control id
  * seek
  * new point
  * referrer
  * 	
  * 	
  * 	 KalturaStatsEvent $event
  * 	 
  * 
  * @return bool
  */
 function collect(\Kaltura\Client\Type\StatsEvent $event)
 {
     $kparams = array();
     $this->client->addParam($kparams, "event", $event->toParams());
     $this->client->queueServiceActionCall("stats", "collect", null, $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultXml = $this->client->doQueue();
     $resultXmlObject = new \SimpleXMLElement($resultXml);
     \Kaltura\Client\ParseUtils::checkIfError($resultXmlObject->result);
     $resultObject = (bool) \Kaltura\Client\ParseUtils::unmarshalSimpleType($resultXmlObject->result);
     return $resultObject;
 }
开发者ID:klvtz,项目名称:kaltura-client53,代码行数:41,代码来源:StatsService.php

示例4: upload

 /**
  * 
  * @return string
  */
 function upload($fileData)
 {
     $kparams = array();
     $kfiles = array();
     $this->client->addParam($kfiles, "fileData", $fileData);
     $this->client->queueServiceActionCall("upload", "upload", null, $kparams, $kfiles);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultXml = $this->client->doQueue();
     $resultXmlObject = new \SimpleXMLElement($resultXml);
     \Kaltura\Client\ParseUtils::checkIfError($resultXmlObject->result);
     $resultObject = (string) \Kaltura\Client\ParseUtils::unmarshalSimpleType($resultXmlObject->result);
     return $resultObject;
 }
开发者ID:klvtz,项目名称:kaltura-client53,代码行数:19,代码来源:UploadService.php

示例5: xAddBulkDownload

 /**
  * Creates new download job for multiple entry ids (comma separated), an email will be sent when the job is done
  * 	 This sevice support the following entries: 
  * 	 - MediaEntry
  * 	 - Video will be converted using the flavor params id
  * 	 - Audio will be downloaded as MP3
  * 	 - Image will be downloaded as Jpeg
  * 	 - MixEntry will be flattened using the flavor params id
  * 	 - Other entry types are not supported
  * 	 Returns the admin email that the email message will be sent to 
  * 	 
  * 
  * @return string
  */
 function xAddBulkDownload($entryIds, $flavorParamsId = "")
 {
     $kparams = array();
     $this->client->addParam($kparams, "entryIds", $entryIds);
     $this->client->addParam($kparams, "flavorParamsId", $flavorParamsId);
     $this->client->queueServiceActionCall("xinternal", "xAddBulkDownload", null, $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultXml = $this->client->doQueue();
     $resultXmlObject = new \SimpleXMLElement($resultXml);
     \Kaltura\Client\ParseUtils::checkIfError($resultXmlObject->result);
     $resultObject = (string) \Kaltura\Client\ParseUtils::unmarshalSimpleType($resultXmlObject->result);
     return $resultObject;
 }
开发者ID:klvtz,项目名称:kaltura-client53,代码行数:29,代码来源:XInternalService.php

示例6: requestDryRun

 /**
  * 
  * @return int
  */
 function requestDryRun($scheduledTaskProfileId, $maxResults = 500)
 {
     $kparams = array();
     $this->client->addParam($kparams, "scheduledTaskProfileId", $scheduledTaskProfileId);
     $this->client->addParam($kparams, "maxResults", $maxResults);
     $this->client->queueServiceActionCall("scheduledtask_scheduledtaskprofile", "requestDryRun", null, $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultXml = $this->client->doQueue();
     $resultXmlObject = new \SimpleXMLElement($resultXml);
     \Kaltura\Client\ParseUtils::checkIfError($resultXmlObject->result);
     $resultObject = (int) \Kaltura\Client\ParseUtils::unmarshalSimpleType($resultXmlObject->result);
     return $resultObject;
 }
开发者ID:klvtz,项目名称:kaltura-client53,代码行数:19,代码来源:ScheduledTaskProfileService.php

示例7: scan

 /**
  * Scan flavor asset according to virus scan profile
  * 	 
  * 
  * @return int
  */
 function scan($flavorAssetId, $virusScanProfileId = null)
 {
     $kparams = array();
     $this->client->addParam($kparams, "flavorAssetId", $flavorAssetId);
     $this->client->addParam($kparams, "virusScanProfileId", $virusScanProfileId);
     $this->client->queueServiceActionCall("virusscan_virusscanprofile", "scan", null, $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultXml = $this->client->doQueue();
     $resultXmlObject = new \SimpleXMLElement($resultXml);
     \Kaltura\Client\ParseUtils::checkIfError($resultXmlObject->result);
     $resultObject = (int) \Kaltura\Client\ParseUtils::unmarshalSimpleType($resultXmlObject->result);
     return $resultObject;
 }
开发者ID:klvtz,项目名称:kaltura-client53,代码行数:21,代码来源:VirusScanProfileService.php

示例8: index

 /**
  * Index CategoryUser by userid and category id
  * 	 
  * 
  * @return int
  */
 function index($userId, $categoryId, $shouldUpdate = true)
 {
     $kparams = array();
     $this->client->addParam($kparams, "userId", $userId);
     $this->client->addParam($kparams, "categoryId", $categoryId);
     $this->client->addParam($kparams, "shouldUpdate", $shouldUpdate);
     $this->client->queueServiceActionCall("categoryuser", "index", null, $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultXml = $this->client->doQueue();
     $resultXmlObject = new \SimpleXMLElement($resultXml);
     \Kaltura\Client\ParseUtils::checkIfError($resultXmlObject->result);
     $resultObject = (int) \Kaltura\Client\ParseUtils::unmarshalSimpleType($resultXmlObject->result);
     return $resultObject;
 }
开发者ID:klvtz,项目名称:kaltura-client53,代码行数:22,代码来源:CategoryUserService.php

示例9: getUrl

 /**
  * Get download URL for the asset
  * 	 
  * 
  * @return string
  */
 function getUrl($id, $storageId = null)
 {
     $kparams = array();
     $this->client->addParam($kparams, "id", $id);
     $this->client->addParam($kparams, "storageId", $storageId);
     $this->client->queueServiceActionCall("caption_captionasset", "getUrl", null, $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultXml = $this->client->doQueue();
     $resultXmlObject = new \SimpleXMLElement($resultXml);
     \Kaltura\Client\ParseUtils::checkIfError($resultXmlObject->result);
     $resultObject = (string) \Kaltura\Client\ParseUtils::unmarshalSimpleType($resultXmlObject->result);
     return $resultObject;
 }
开发者ID:klvtz,项目名称:kaltura-client53,代码行数:21,代码来源:CaptionAssetService.php

示例10: getVersion

 /**
  * 
  * @return string
  */
 function getVersion()
 {
     $kparams = array();
     $this->client->queueServiceActionCall("system", "getVersion", null, $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultXml = $this->client->doQueue();
     $resultXmlObject = new \SimpleXMLElement($resultXml);
     \Kaltura\Client\ParseUtils::checkIfError($resultXmlObject->result);
     $resultObject = (string) \Kaltura\Client\ParseUtils::unmarshalSimpleType($resultXmlObject->result);
     return $resultObject;
 }
开发者ID:klvtz,项目名称:kaltura-client53,代码行数:17,代码来源:SystemService.php

示例11: requestConversion

 /**
  * request conversion for all entries that doesnt have the required flavor param
  * 	 returns a comma-separated ids of conversion jobs
  * 	 
  * 
  * @return string
  */
 function requestConversion($feedId)
 {
     $kparams = array();
     $this->client->addParam($kparams, "feedId", $feedId);
     $this->client->queueServiceActionCall("syndicationfeed", "requestConversion", null, $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultXml = $this->client->doQueue();
     $resultXmlObject = new \SimpleXMLElement($resultXml);
     \Kaltura\Client\ParseUtils::checkIfError($resultXmlObject->result);
     $resultObject = (string) \Kaltura\Client\ParseUtils::unmarshalSimpleType($resultXmlObject->result);
     return $resultObject;
 }
开发者ID:klvtz,项目名称:kaltura-client53,代码行数:21,代码来源:SyndicationFeedService.php

示例12: login

 /**
  * Get an admin session using admin email and password (Used for login to the KMC application)
  * 	 
  * 
  * @return string
  */
 function login($email, $password, $partnerId = null)
 {
     $kparams = array();
     $this->client->addParam($kparams, "email", $email);
     $this->client->addParam($kparams, "password", $password);
     $this->client->addParam($kparams, "partnerId", $partnerId);
     $this->client->queueServiceActionCall("adminuser", "login", null, $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultXml = $this->client->doQueue();
     $resultXmlObject = new \SimpleXMLElement($resultXml);
     \Kaltura\Client\ParseUtils::checkIfError($resultXmlObject->result);
     $resultObject = (string) \Kaltura\Client\ParseUtils::unmarshalSimpleType($resultXmlObject->result);
     return $resultObject;
 }
开发者ID:klvtz,项目名称:kaltura-client53,代码行数:22,代码来源:AdminUserService.php

示例13: count

 /**
  * count cue point objects by filter
  * 	 
  * 
  * @return int
  */
 function count(\Kaltura\Client\Plugin\CuePoint\Type\CuePointFilter $filter = null)
 {
     $kparams = array();
     if ($filter !== null) {
         $this->client->addParam($kparams, "filter", $filter->toParams());
     }
     $this->client->queueServiceActionCall("annotation_annotation", "count", null, $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultXml = $this->client->doQueue();
     $resultXmlObject = new \SimpleXMLElement($resultXml);
     \Kaltura\Client\ParseUtils::checkIfError($resultXmlObject->result);
     $resultObject = (int) \Kaltura\Client\ParseUtils::unmarshalSimpleType($resultXmlObject->result);
     return $resultObject;
 }
开发者ID:klvtz,项目名称:kaltura-client53,代码行数:22,代码来源:AnnotationService.php

示例14: checkLikeExists

 /**
  * 
  * @return bool
  */
 function checkLikeExists($entryId, $userId = null)
 {
     $kparams = array();
     $this->client->addParam($kparams, "entryId", $entryId);
     $this->client->addParam($kparams, "userId", $userId);
     $this->client->queueServiceActionCall("like_like", "checkLikeExists", null, $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultXml = $this->client->doQueue();
     $resultXmlObject = new \SimpleXMLElement($resultXml);
     \Kaltura\Client\ParseUtils::checkIfError($resultXmlObject->result);
     $resultObject = (bool) \Kaltura\Client\ParseUtils::unmarshalSimpleType($resultXmlObject->result);
     return $resultObject;
 }
开发者ID:klvtz,项目名称:kaltura-client53,代码行数:19,代码来源:LikeService.php

示例15: checkLoginDataExists

 /**
  * Action which checks whther user login 
  *      
  * 
  * @return bool
  */
 function checkLoginDataExists(\Kaltura\Client\Type\UserLoginDataFilter $filter)
 {
     $kparams = array();
     $this->client->addParam($kparams, "filter", $filter->toParams());
     $this->client->queueServiceActionCall("user", "checkLoginDataExists", null, $kparams);
     if ($this->client->isMultiRequest()) {
         return $this->client->getMultiRequestResult();
     }
     $resultXml = $this->client->doQueue();
     $resultXmlObject = new \SimpleXMLElement($resultXml);
     \Kaltura\Client\ParseUtils::checkIfError($resultXmlObject->result);
     $resultObject = (bool) \Kaltura\Client\ParseUtils::unmarshalSimpleType($resultXmlObject->result);
     return $resultObject;
 }
开发者ID:klvtz,项目名称:kaltura-client53,代码行数:20,代码来源:UserService.php


注:本文中的Kaltura\Client\ParseUtils::unmarshalSimpleType方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。