예제 #1
0
 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);
     }
 }
예제 #2
0
 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);
     }
 }