All Data Structures Functions Variables Pages
Static Public Member Functions | Static Protected Member Functions | Static Protected Attributes
SpecialMergeTagsAdapter Class Reference

Static Public Member Functions

static isSpecialMergeTag ($attributeName, $timeQualifier)
 
static resolve ($attributeName, $model=null, $errorOnFirstMissing=MergeTagsToModelAttributesAdapter::DO_NOT_ERROR_ON_FIRST_INVALID_TAG, $params=array())
 

Static Protected Member Functions

static resolveModelUrlByModel ($model)
 
static resolveBaseUrl ()
 
static resolveApplicationName ()
 
static resolveCurrentYear ()
 
static resolveLastYear ()
 
static resolveOwnersAvatarSmall ($model)
 
static resolveOwnersAvatarMedium ($model)
 
static resolveOwnersAvatarLarge ($model)
 
static resolveOwnersAvatar ($model, $size)
 
static resolveOwnersEmailSignature ($model, $params=array())
 
static resolveGlobalMarketingFooterHtml ()
 
static resolveGlobalMarketingFooterPlainText ()
 
static resolveUnsubscribeUrl ($model, $params=array())
 
static resolveManageSubscriptionsUrl ($model, $params=array())
 
static resolveGlobalMarketingFooterUrl ($method, $params=array())
 
static resolveContentForNestedMergeTags (&$resolvedSpecialMergeTagContent, $model=null, $errorOnFirstMissing=MergeTagsToModelAttributesAdapter::DO_NOT_ERROR_ON_FIRST_INVALID_TAG, $params=array())
 

Static Protected Attributes

static $containsNestedMergeTags
 
static $specialAttributesResolver
 

Detailed Description

Definition at line 40 of file SpecialMergeTagsAdapter.php.

Member Function Documentation

static resolveOwnersAvatarSmall (   $model)
staticprotected
Parameters
$model

Definition at line 119 of file SpecialMergeTagsAdapter.php.

static resolveOwnersAvatarMedium (   $model)
staticprotected
Parameters
$model

Definition at line 127 of file SpecialMergeTagsAdapter.php.

static resolveOwnersAvatarLarge (   $model)
staticprotected
Parameters
$model
Returns
mixed

Definition at line 136 of file SpecialMergeTagsAdapter.php.

static resolveOwnersEmailSignature (   $model,
  $params = array() 
)
staticprotected

Will only grab first available email signature for user if available

Parameters
$model

Definition at line 153 of file SpecialMergeTagsAdapter.php.

Field Documentation

$containsNestedMergeTags
staticprotected
Initial value:
= array(
'globalMarketingFooterHtml',
'globalMarketingFooterPlainText'
)

Definition at line 42 of file SpecialMergeTagsAdapter.php.

$specialAttributesResolver
staticprotected
Initial value:
= array (
'modelUrl' => 'resolveModelUrlByModel',
'baseUrl' => 'resolveBaseUrl',
'applicationName' => 'resolveApplicationName',
'currentYear' => 'resolveCurrentYear',
'lastYear' => 'resolveLastYear',
'ownersAvatarSmall' => 'resolveOwnersAvatarSmall',
'ownersAvatarMedium' => 'resolveOwnersAvatarMedium',
'ownersAvatarLarge' => 'resolveOwnersAvatarLarge',
'ownersEmailSignature' => 'resolveOwnersEmailSignature',
'globalMarketingFooterHtml' => 'resolveGlobalMarketingFooterHtml',
'globalMarketingFooterPlainText' => 'resolveGlobalMarketingFooterPlainText',
'unsubscribeUrl' => 'resolveUnsubscribeUrl',
'manageSubscriptionsUrl' => 'resolveManageSubscriptionsUrl',
)

Definition at line 47 of file SpecialMergeTagsAdapter.php.


The documentation for this class was generated from the following file:
Generated on Thu Apr 2 2020 07:11:21