示例#1
0
 public function initService($serviceId, $serviceName, $actionName)
 {
     parent::initService($serviceId, $serviceName, $actionName);
     parent::applyPartnerFilterForClass(new conversionProfile2Peer());
     parent::applyPartnerFilterForClass(thumbAssetPeer::getInstance());
     parent::applyPartnerFilterForClass(thumbParamsOutputPeer::getInstance());
     $partnerGroup = null;
     if ($actionName == 'get' || $actionName == 'list') {
         $partnerGroup = $this->partnerGroup . ',0';
     }
     parent::applyPartnerFilterForClass(thumbParamsPeer::getInstance(), $partnerGroup);
 }
示例#2
0
 public function initService($serviceId, $serviceName, $actionName)
 {
     parent::initService($serviceId, $serviceName, $actionName);
     parent::applyPartnerFilterForClass(new conversionProfile2Peer());
     parent::applyPartnerFilterForClass(thumbParamsOutputPeer::getInstance());
     parent::applyPartnerFilterForClass(thumbAssetPeer::getInstance());
     $partnerGroup = null;
     if ($actionName == 'get' || $actionName == 'list' || $actionName == 'getByEntryId' || $actionName == 'getDownloadUrl' || $actionName == 'getWebPlayableByEntryId' || $actionName == 'getFlavorAssetsWithParams' || $actionName == 'generateByEntryId' || $actionName == 'regenerate') {
         $partnerGroup = $this->partnerGroup . ',0';
     }
     parent::applyPartnerFilterForClass(thumbParamsPeer::getInstance(), $partnerGroup);
 }