MissionMashableInboxRules Class Reference

Inheritance diagram for MissionMashableInboxRules:
MashableInboxRules

Public Member Functions

 getMetadataForMashableInbox ()
 getUnreadCountForCurrentUser ()
 getModelClassName ()
 getMachableInboxOrderByAttributeName ()
 getActionViewOptions ()
 getMetadataFilteredByOption ($option)
 getMetadataFilteredByFilteredBy ($filteredBy)
 getSearchAttributeData ($searchTerm=null)
 resolveMarkRead ($modelId)
 resolveMarkUnread ($modelId)
 hasCurrentUserReadLatest ($modelId)

Data Fields

 $shouldRenderCreateAction = true

Detailed Description

Definition at line 37 of file MissionMashableInboxRules.php.


Member Function Documentation

getMetadataForMashableInbox (  ) 

Makes the metadata to be used when searching models that will be displayed in the MashableInboxListView

Reimplemented from MashableInboxRules.

Definition at line 70 of file MissionMashableInboxRules.php.

getUnreadCountForCurrentUser (  ) 

This method return the count of the models that current user has not read latest changes

Returns:
integer

Reimplemented from MashableInboxRules.

Definition at line 93 of file MissionMashableInboxRules.php.

getMachableInboxOrderByAttributeName (  ) 

The attribute to be used for the ordering of the list view

Reimplemented from MashableInboxRules.

Definition at line 106 of file MissionMashableInboxRules.php.

getActionViewOptions (  ) 

Returns the option to populate the MashableInboxOptionsByModelRadioElement that will be used to filter list view by model options

Reimplemented from MashableInboxRules.

Definition at line 111 of file MissionMashableInboxRules.php.

getMetadataFilteredByOption ( option  ) 

Returns the metada for the filter by model options

Parameters:
integer $option

Reimplemented from MashableInboxRules.

Definition at line 123 of file MissionMashableInboxRules.php.

getMetadataFilteredByFilteredBy ( filteredBy  ) 

Returns the metada for the FilteredBy

Parameters:
string $filteredBy

Reimplemented from MashableInboxRules.

Definition at line 139 of file MissionMashableInboxRules.php.

getSearchAttributeData ( searchTerm = null  ) 

Makes the metadata to filter models by the searchTerm

Parameters:
string $searchTerm

Reimplemented from MashableInboxRules.

Definition at line 161 of file MissionMashableInboxRules.php.

resolveMarkRead ( modelId  ) 

Marks the model as read latest changes by current user by modelId

Parameters:
integer $modelId

Reimplemented from MashableInboxRules.

Definition at line 172 of file MissionMashableInboxRules.php.

resolveMarkUnread ( modelId  ) 

Marks the model as read latest changes by current user by modelId

Parameters:
integer $modelId

Reimplemented from MashableInboxRules.

Definition at line 180 of file MissionMashableInboxRules.php.

hasCurrentUserReadLatest ( modelId  ) 

Returns true if current user had read latest changes of model else it should return false

Parameters:
integer $modelId
Returns:
boolean

Reimplemented from MashableInboxRules.

Definition at line 188 of file MissionMashableInboxRules.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Mar 22 07:10:27 2017