SpecialMergeTagsAdapter Class Reference

Static Public Member Functions

static isSpecialMergeTag ($attributeName, $timeQualifier)
static resolve ($attributeName, $model=null)

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 resolveOwnersEmailSignature ($model)
static resolveGlobalMarketingFooterHtml ()
static resolveGlobalMarketingFooterPlainText ()
static resolveContentForNestedMergeTags (&$resolvedSpecialMergeTagContent, $model=null)

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 112 of file SpecialMergeTagsAdapter.php.

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

Definition at line 123 of file SpecialMergeTagsAdapter.php.

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

Definition at line 135 of file SpecialMergeTagsAdapter.php.

static resolveOwnersEmailSignature ( model  )  [static, protected]

Will only grab first available email signature for user if available

Parameters:
$model 

Definition at line 147 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',
                                )

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 Fri Dec 15 07:10:30 2017