All Data Structures Functions Variables Pages
Static Public Member Functions | Data Fields | Static Protected Member Functions
MergeTagsToModelAttributesAdapter Class Reference

Static Public Member Functions

static resolveMergeTagsArrayToAttributesFromModel (&$mergeTags, $model, &$invalidTags=array(), $language, $errorOnFirstMissing=self::DO_NOT_ERROR_ON_FIRST_INVALID_TAG, $params=array(), $convertNewLinesToBrForAttributeValues=false)
 

Data Fields

const PROPERTY_NOT_FOUND = "!MERGETAG-TO-ATTR-FAILED"
 
const ERROR_ON_FIRST_INVALID_TAG = 1
 
const DO_NOT_ERROR_ON_FIRST_INVALID_TAG = 0
 
const SUPPRESS_INVALID_TAG_ERRORS_REPLACE_WITH_EMPTY = -1
 
const SUPPRESS_INVALID_TAG_ERRORS_KEEP_TAG = -2
 

Static Protected Member Functions

static stripTimeDelimiterAndReturnQualifier (&$mergeTag)
 
static resolveMergeTagToStandardOrRelatedAttribute ($attributeAccessorString, $model, $language, $timeQualifier, $errorOnFirstMissing, $params)
 
static resolveModelUrlByModel ($model)
 
static getAttributeValue ($model, $attributeName, $timeQualifier)
 
static getAttributeCurrentValue ($model, $attributeName)
 
static getAttributePreviousValue ($model, $attributeName)
 
static resolveStringToAttributeAccessor ($string)
 

Detailed Description

Definition at line 41 of file MergeTagsToModelAttributesAdapter.php.

Member Function Documentation

static resolveMergeTagsArrayToAttributesFromModel ( $mergeTags,
  $model,
$invalidTags = array(),
  $language,
  $errorOnFirstMissing = self::DO_NOT_ERROR_ON_FIRST_INVALID_TAG,
  $params = array(),
  $convertNewLinesToBrForAttributeValues = false 
)
static
Parameters
$mergeTags
$model
array$invalidTags
$language
int$errorOnFirstMissing
array$params
bool | false$convertNewLinesToBrForAttributeValues
Returns
bool

Definition at line 63 of file MergeTagsToModelAttributesAdapter.php.


The documentation for this class was generated from the following file:
Generated on Wed Jun 3 2020 07:10:54