MissionMashableActivityRules Class Reference

Inheritance diagram for MissionMashableActivityRules:
MashableActivityRules

Public Member Functions

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

Static Protected Member Functions

static resolveSearchAttributesDataByOwnedByFilterClauses (&$searchAttributesData, $userId)

Detailed Description

Specific rules for the mission model.

Definition at line 40 of file MissionMashableActivityRules.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 MissionMashableActivityRules.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 47 of file MissionMashableActivityRules.php.

resolveSearchAttributeDataForLatestActivities ( searchAttributeData  ) 
Parameters:
array $searchAttributeData
Returns:
array

Reimplemented from MashableActivityRules.

Definition at line 56 of file MissionMashableActivityRules.php.

getLatestActivitiesOrderByAttributeName (  ) 

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

Reimplemented from MashableActivityRules.

Definition at line 62 of file MissionMashableActivityRules.php.

getSummaryContentTemplate ( ownedByFilter,
viewModuleClassName 
)

(non-PHPdoc)

See also:
MashableActivityRules::getSummaryContentTemplate()

Reimplemented from MashableActivityRules.

Definition at line 71 of file MissionMashableActivityRules.php.

getLatestActivityExtraDisplayStringByModel ( model  ) 
static resolveSearchAttributesDataByOwnedByFilterClauses ( &$  searchAttributesData,
userId 
) [static, protected]
Parameters:
array $searchAttributesData
int $userId

Reimplemented from MashableActivityRules.

Definition at line 124 of file MissionMashableActivityRules.php.


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