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  )  [static, protected]
Parameters:
$model 

Definition at line 119 of file SpecialMergeTagsAdapter.php.

static resolveOwnersAvatarMedium ( model  )  [static, protected]
Parameters:
$model 

Definition at line 127 of file SpecialMergeTagsAdapter.php.

static resolveOwnersAvatarLarge ( model  )  [static, protected]
Parameters:
$model 
Returns:
mixed

Definition at line 136 of file SpecialMergeTagsAdapter.php.

static resolveOwnersEmailSignature ( model,
params = array() 
) [static, protected]

Will only grab first available email signature for user if available

Parameters:
$model 

Definition at line 153 of file SpecialMergeTagsAdapter.php.


Field Documentation

$containsNestedMergeTags [static, protected]
Initial value:
 array(
                                'globalMarketingFooterHtml',
                                'globalMarketingFooterPlainText'
                                )

Definition at line 42 of file SpecialMergeTagsAdapter.php.

$specialAttributesResolver [static, protected]
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:
 All Data Structures Functions Variables
Generated on Tue Dec 10 07:11:16 2019