ConversationMashableActivityRules Class Reference

Inheritance diagram for ConversationMashableActivityRules:
MashableActivityRules

Public Member Functions

 resolveSearchAttributesDataByRelatedItemId ($relationItemId)
 resolveSearchAttributesDataByRelatedItemIds ($relationItemIds)
 resolveSearchAttributeDataForLatestActivities ($searchAttributeData)
 getLatestActivitiesOrderByAttributeName ()
 getSummaryContentTemplate ($ownedByFilter, $viewModuleClassName)
 getLatestActivityExtraDisplayStringByModel ($model)

Detailed Description

Specific rules for the conversation model.

Definition at line 40 of file ConversationMashableActivityRules.php.


Member Function Documentation

resolveSearchAttributesDataByRelatedItemId ( relationItemId  ) 
Parameters:
int $relationItemId
Returns:
array

Reimplemented from MashableActivityRules.

Definition at line 46 of file ConversationMashableActivityRules.php.

resolveSearchAttributesDataByRelatedItemIds ( relationItemIds  ) 

Given multiple item ids of related models, make a searchAttributesData array that includes these item ids as filters for the query.

Parameters:
array $relationItemIds

Reimplemented from MashableActivityRules.

Definition at line 61 of file ConversationMashableActivityRules.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 76 of file ConversationMashableActivityRules.php.

getLatestActivitiesOrderByAttributeName (  ) 

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

Reimplemented from MashableActivityRules.

Definition at line 82 of file ConversationMashableActivityRules.php.

getSummaryContentTemplate ( ownedByFilter,
viewModuleClassName 
)

(non-PHPdoc)

See also:
MashableActivityRules::getSummaryContentTemplate()
Parameters:
string $ownedByFilter
string $viewModuleClassName
Returns:
string

Reimplemented from MashableActivityRules.

Definition at line 94 of file ConversationMashableActivityRules.php.

getLatestActivityExtraDisplayStringByModel ( model  ) 

(non-PHPdoc)

See also:
MashableActivityRules::getLatestActivityExtraDisplayStringByModel()
Parameters:
Conversation $model
Returns:
null|string

Reimplemented from MashableActivityRules.

Definition at line 134 of file ConversationMashableActivityRules.php.


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