protected function kalturaNetworkAllowed($actionName)
 {
     if ($actionName == 'get' || $actionName == 'list' || $actionName == 'getUrl') {
         $this->partnerGroup .= ',0';
         return true;
     }
     return parent::kalturaNetworkAllowed($actionName);
 }
 protected function partnerRequired($actionName)
 {
     if ($actionName === 'serve') {
         return false;
     }
     if ($actionName === 'serveByEntryId') {
         return false;
     }
     return parent::partnerRequired($actionName);
 }
Exemplo n.º 3
0
 /**
  * manually export an asset
  * 
  * @action export
  * @param string $assetId
  * @param int $storageProfileId
  * @throws KalturaErrors::INVALID_FLAVOR_ASSET_ID
  * @throws KalturaErrors::STORAGE_PROFILE_ID_NOT_FOUND
  * @throws KalturaErrors::INTERNAL_SERVERL_ERROR
  * @return KalturaFlavorAsset The exported asset
  */
 public function exportAction($assetId, $storageProfileId)
 {
     return parent::exportAction($assetId, $storageProfileId);
 }