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); }
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); }