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

EmailMessageMashableActivityRules Class Reference

Inheritance diagram for EmailMessageMashableActivityRules:
MashableActivityRules

Public Member Functions

 resolveSearchAttributesDataByRelatedItemId ($relationItemId)
 resolveSearchAttributesDataByRelatedItemIds ($relationItemIds)
 resolveSearchAttributeDataForLatestActivities ($searchAttributeData)
 resolveSearchAttributeDataForAllLatestActivities ($searchAttributeData)
 getLatestActivitiesOrderByAttributeName ()
 getLatestActivityExtraDisplayStringByModel ($model)
 getSummaryContentTemplate ($ownedByFilter, $viewModuleClassName)
 renderRelatedModelsByImportanceContent (RedBeanModel $model)
 resolveAdditionalSearchAttributesDataByModelClassNameAndRelatedItemIds ($modelClassName, $relationItemIds, $ownedByFilter, $shouldResolveSearchAttributeDataForLatestActivities, &$modelClassNamesAndSearchAttributeData)

Static Public Member Functions

static getSenderContent (EmailMessageSender $emailMessageSender, $additionalParams=array())
static getRecipientsContent (RedBeanOneToManyRelatedModels $recipients, $type=null, $additionalParams=array())
static castDownItem (Item $item)
static resolveSearchAttributesDataStructure (&$searchAttributesDataStructure)

Detailed Description

Generic rules for the email message model.

Definition at line 40 of file EmailMessageMashableActivityRules.php.


Member Function Documentation

resolveSearchAttributesDataByRelatedItemId ( relationItemId  ) 

Given an item id of a related model, make a searchAttributesData array that includes that item id as a filter for the query.

Parameters:
integer $relationItemId

Reimplemented from MashableActivityRules.

Definition at line 42 of file EmailMessageMashableActivityRules.php.

resolveSearchAttributesDataByRelatedItemIds ( relationItemIds  ) 
Parameters:
array $relationItemIds
Returns:
array

Reimplemented from MashableActivityRules.

Definition at line 74 of file EmailMessageMashableActivityRules.php.

resolveSearchAttributeDataForLatestActivities ( searchAttributeData  ) 

Given a searchAttributeData array, add any extra filtering needed for the query based on the model specific requirements for what should be shown in a mashable activity feed.

Parameters:
array $searchAttributeData

Reimplemented from MashableActivityRules.

Definition at line 102 of file EmailMessageMashableActivityRules.php.

resolveSearchAttributeDataForAllLatestActivities ( searchAttributeData  ) 

Override if you need to filter specifically for showing all latest activities that are not filtered by a related model

Parameters:
$searchAttributeData 
Returns:
mixed

Reimplemented from MashableActivityRules.

Definition at line 108 of file EmailMessageMashableActivityRules.php.

getLatestActivitiesOrderByAttributeName (  ) 

For a given model, what attribute is used for the ordering in a latest activity feed.

Reimplemented from MashableActivityRules.

Definition at line 129 of file EmailMessageMashableActivityRules.php.

getLatestActivityExtraDisplayStringByModel ( model  ) 

Override if you want to display anything extra in the view for a particular model.

Reimplemented from MashableActivityRules.

Definition at line 134 of file EmailMessageMashableActivityRules.php.

getSummaryContentTemplate ( ownedByFilter,
viewModuleClassName 
)

(non-PHPdoc)

See also:
MashableActivityRules::getSummaryContentTemplate()

Reimplemented from MashableActivityRules.

Definition at line 143 of file EmailMessageMashableActivityRules.php.

renderRelatedModelsByImportanceContent ( RedBeanModel model  ) 

Override to define how related models are displayed if at all.

Parameters:
RedBeanModel $model

Reimplemented from MashableActivityRules.

Definition at line 152 of file EmailMessageMashableActivityRules.php.

static resolveSearchAttributesDataStructure ( &$  searchAttributesDataStructure  )  [static]

Override to split emailMessages into send and received. This helps to improve performance on showing lists of email messages as activities.

Parameters:
$searchAttributesDataStructure 

Reimplemented from MashableActivityRules.

Definition at line 305 of file EmailMessageMashableActivityRules.php.

resolveAdditionalSearchAttributesDataByModelClassNameAndRelatedItemIds ( modelClassName,
relationItemIds,
ownedByFilter,
shouldResolveSearchAttributeDataForLatestActivities,
&$  modelClassNamesAndSearchAttributeData 
)

Override to split out emailMessages into send and received. This helps to improve performance on showing lists of email messages as activities.

Parameters:
$modelClassName 
$relationItemIds 
$ownedByFilter 
$shouldResolveSearchAttributeDataForLatestActivities 
$modelClassNamesAndSearchAttributeData 

Reimplemented from MashableActivityRules.

Definition at line 320 of file EmailMessageMashableActivityRules.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Mar 22 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