/**
  * Resolve content for global footer merge tags
  * @param $textContent
  * @param $htmlContent
  * @param int $addGlobalFooterMergeTags
  */
 public static function resolveContentsForGlobalFooterMergeTags(&$textContent, &$htmlContent, $addGlobalFooterMergeTags = self::ADD_GLOBAL_FOOTER_MERGE_TAGS_IF_MISSING)
 {
     if ($addGlobalFooterMergeTags == static::ADD_GLOBAL_FOOTER_MERGE_TAGS_IF_MISSING) {
         GlobalMarketingFooterUtil::resolveContentsForGlobalFooter($textContent, $htmlContent);
     } else {
         static::removeGlobalFooterMergeTagsFromContents($textContent, $htmlContent);
     }
 }
 protected static function resolveContent(&$textContent, &$htmlContent, Contact $contact, $enableTracking, $modelId, $modelType, $marketingListId)
 {
     assert('is_int($modelId)');
     assert('is_int($marketingListId)');
     GlobalMarketingFooterUtil::resolveContentsForGlobalFooter($textContent, $htmlContent);
     static::resolveContentsForMergeTags($textContent, $htmlContent, $contact, $marketingListId, $modelId, $modelType);
     ContentTrackingUtil::resolveContentsForTracking($textContent, $htmlContent, $enableTracking, $modelId, $modelType, static::$personId);
 }