protected static function resolveViewIdByMassActionId($actionId, $returnProgressViewName, $moduleName = null) { if (strpos($actionId, 'massSubscribe') === 0 || strpos($actionId, 'massUnsubscribe') === 0) { $viewNameSuffix = 'View'; if ($returnProgressViewName) { $viewNameSuffix = 'ProgressView'; } $viewNamePrefix = static::resolveMassActionId($actionId, true); $viewNamePrefix = 'MarketingListMembers' . $viewNamePrefix; return $viewNamePrefix . $viewNameSuffix; } else { return parent::resolveViewIdByMassActionId($actionId, $returnProgressViewName); } }
protected static function resolveViewIdByMassActionId($actionId, $returnProgressViewName, $moduleName = null) { if (MassActionUtil::isMassSubscribeOrUnsubscribeLikeAction($actionId)) { $viewNameSuffix = 'View'; if ($returnProgressViewName) { $viewNameSuffix = 'ProgressView'; } $viewNamePrefix = static::resolveMassActionId($actionId, true); $viewNamePrefix = 'MarketingListMembers' . $viewNamePrefix; return $viewNamePrefix . $viewNameSuffix; } else { return parent::resolveViewIdByMassActionId($actionId, $returnProgressViewName); } }