Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

ModelAttributeAndElementDataToMergeItem Class Reference

Inheritance diagram for ModelAttributeAndElementDataToMergeItem:
AccountModelAttributeAndElementDataToMergeItem ContactModelAttributeAndElementDataToMergeItem LeadModelAttributeAndElementDataToMergeItem

Public Member Functions

 __construct (RedBeanModel $model, $attribute, $element, RedBeanModel $primaryModel, $position)
 getAttributeRenderedContent ()
 getAttributeInputIdsForOnClick ()

Protected Member Functions

 getNonDerivedInputId ()
 getDerivedInputId ($attribute, $relatedAttribute)
 decorateContent ($content)
 resolveDisplayedValueForRelatedAttribute ($attribute, $relatedAttribute)

Protected Attributes

 $model
 $attribute
 $element
 $primaryModel
 $position

Detailed Description

Acts as a helper model to retrieve model attribute and element related information

Definition at line 40 of file ModelAttributeAndElementDataToMergeItem.php.


Constructor & Destructor Documentation

__construct ( RedBeanModel model,
attribute,
element,
RedBeanModel primaryModel,
position 
)

Constructor for the class.

Parameters:
type $model
type $attribute
type $element
type $primaryModel

Definition at line 79 of file ModelAttributeAndElementDataToMergeItem.php.


Member Function Documentation

getAttributeRenderedContent (  ) 

Gets attribute rendered content

Returns:
string

Definition at line 95 of file ModelAttributeAndElementDataToMergeItem.php.

getAttributeInputIdsForOnClick (  ) 

Get attribute values and input ids for on click event

Returns:
array

Definition at line 104 of file ModelAttributeAndElementDataToMergeItem.php.

getNonDerivedInputId (  )  [protected]

Get input id for non derived attribute

Returns:
string

Definition at line 149 of file ModelAttributeAndElementDataToMergeItem.php.

getDerivedInputId ( attribute,
relatedAttribute 
) [protected]

Gets input id for the derived attribute

Parameters:
string $attribute
string $relatedAttribute
Returns:
string

Definition at line 160 of file ModelAttributeAndElementDataToMergeItem.php.

decorateContent ( content  )  [protected]

Decorates the content

Parameters:
string $content
Returns:
string

Definition at line 197 of file ModelAttributeAndElementDataToMergeItem.php.

resolveDisplayedValueForRelatedAttribute ( attribute,
relatedAttribute 
) [protected]

Resolves value for related attribute

Parameters:
string $attribute
string $relatedAttribute
Returns:
string

Reimplemented in ContactModelAttributeAndElementDataToMergeItem, and LeadModelAttributeAndElementDataToMergeItem.

Definition at line 324 of file ModelAttributeAndElementDataToMergeItem.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Mar 24 07:10:54 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8