MergeTagsUtil Class Reference

Inheritance diagram for MergeTagsUtil:
ContactMergeTagsUtil WorkflowMergeTagsUtil

Public Member Functions

 __construct ($language, $content)
 resolveMergeTagsArrayToAttributes ($model, &$invalidTags=array(), $language=null, $errorOnFirstMissing=false)
 resolveMergeTags ($model, &$invalidTags=array(), $language=null, $errorOnFirstMissing=false)
 extractMergeTagsPlaceHolders ()
 resolveMergeTagsInTemplateToAttributes ()
 getContent ()

Static Public Member Functions

static resolveAttributeStringToMergeTagString ($attributeString)

Data Fields

const TAG_PREFIX = '[['
const TAG_SUFFIX = ']]'
const PROPERTY_DELIMITER = '__'
const TIME_DELIMITER = '%'
const CAPITAL_DELIMITER = '^'

Protected Member Functions

 resolveFullyQualifiedMergeTagsRegularExpression (&$mergeTags)
 resolveQuotedAttributes (&$attributes)

Static Protected Member Functions

static resolveUniqueMergeTags (&$mergeTags, $key)
static resolveFullyQualifiedMergeTagRegularExpression (&$value, $key)
static resolvePregQuotedValue (&$value)
static resolvePregQuotedAttributeValue (&$value, $key)

Protected Attributes

 $mergeTags
 $content
 $language

Detailed Description

Definition at line 40 of file MergeTagsUtil.php.


Constructor & Destructor Documentation

__construct ( language,
content 
)
Parameters:
$language 
string $content

Definition at line 96 of file MergeTagsUtil.php.


Member Function Documentation

resolveMergeTagsArrayToAttributes ( model,
&$  invalidTags = array(),
language = null,
errorOnFirstMissing = false 
)
Parameters:
$model 
array $invalidTags
null $language
bool $errorOnFirstMissing
Returns:
bool | array

Definition at line 109 of file MergeTagsUtil.php.

resolveMergeTags ( model,
&$  invalidTags = array(),
language = null,
errorOnFirstMissing = false 
)
Parameters:
$model 
array $invalidTags
null $language
bool $errorOnFirstMissing
Returns:
bool | string

Definition at line 133 of file MergeTagsUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Jun 27 07:10:27 2017