ConversationMashableInboxRules Class Reference

Inheritance diagram for ConversationMashableInboxRules:
MashableInboxRules

Public Member Functions

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

Data Fields

 $shouldRenderCreateAction = true

Detailed Description

Definition at line 37 of file ConversationMashableInboxRules.php.


Member Function Documentation

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 41 of file ConversationMashableInboxRules.php.

getMachableInboxOrderByAttributeName (  ) 

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

Reimplemented from MashableInboxRules.

Definition at line 51 of file ConversationMashableInboxRules.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 56 of file ConversationMashableInboxRules.php.

getMetadataForMashableInbox (  ) 

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

Reimplemented from MashableInboxRules.

Definition at line 68 of file ConversationMashableInboxRules.php.

getMetadataFilteredByOption ( option  ) 

Returns the metada for the filter by model options

Parameters:
integer $option

Reimplemented from MashableInboxRules.

Definition at line 108 of file ConversationMashableInboxRules.php.

getMetadataFilteredByFilteredBy ( filteredBy  ) 

Returns the metada for the FilteredBy

Parameters:
string $filteredBy

Reimplemented from MashableInboxRules.

Definition at line 124 of file ConversationMashableInboxRules.php.

getSearchAttributeData ( searchTerm = null  ) 

Makes the metadata to filter models by the searchTerm

Parameters:
string $searchTerm

Reimplemented from MashableInboxRules.

Definition at line 159 of file ConversationMashableInboxRules.php.

resolveMarkRead ( modelId  ) 

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

Parameters:
integer $modelId

Reimplemented from MashableInboxRules.

Definition at line 170 of file ConversationMashableInboxRules.php.

resolveMarkUnread ( modelId  ) 

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

Parameters:
integer $modelId

Reimplemented from MashableInboxRules.

Definition at line 178 of file ConversationMashableInboxRules.php.

getMassOptions (  ) 

Mass options to be rendered in the MashableInboxMassActionElement The array retunr should be like this array('stringForTheActionName' => array('label' => $label, 'isActionForAll' => $boolean), );

Returns:
array

Reimplemented from MashableInboxRules.

Definition at line 186 of file ConversationMashableInboxRules.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 210 of file ConversationMashableInboxRules.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue May 23 07:10:23 2017