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

NotificationMashableInboxRules Class Reference

Inheritance diagram for NotificationMashableInboxRules:
MashableInboxRules

Public Member Functions

 getUnreadCountForCurrentUser ()
 getModelClassName ()
 getListViewClassName ()
 getZeroModelViewClassName ()
 getMachableInboxOrderByAttributeName ()
 getActionViewOptions ()
 getMetadataFilteredByOption ($option)
 getMetadataFilteredByFilteredBy ($filteredBy)
 getModelStringContent (RedBeanModel $model)
 getModelCreationTimeContent (RedBeanModel $model)
 getSearchAttributeData ($searchTerm=null)
 resolveMarkRead ($modelId)
 resolveMarkUnread ($modelId)
 getMassOptions ()
 resolveDeleteSelected ($modelId)
 resolveDeleteAll ()
 hasCurrentUserReadLatest ($modelId)

Data Fields

const HTML_CONTENT_IFRAME_CLASS = 'notification-message-html-content-iframe'
const HTML_CONTENT_IFRAME_DIV_CLASS = 'notification-message-html-content-div'
const HTML_CONTENT_WRAPPER_DIV_CLASS = 'notification-message-html-content'
const HTML_CONTENT_DIV_TOGGLE_BUTTON_CLASS = 'notification-message-html-content-toggle'

Protected Member Functions

 resolveHtmlContent ($id)
 resolveHtmlContentWrapperDivHtmlOptions ()
 resolveHtmlContentDivHtmlOptions ()
 resolveHtmlContentIFrameHtmlOptions ($id)
 resolveNotificationMessageHtmlContentUrl ($id)
 resolveHtmlContentDivToggleButton ()
 resolveHtmlContentDivToggleButtonHtmlOptions ()
 registerHtmlContentDivToggleScript ()

Detailed Description

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

getListViewClassName (  ) 

The list view class name that will be displayed for the current model

Returns:
string

Reimplemented from MashableInboxRules.

Definition at line 60 of file NotificationMashableInboxRules.php.

getZeroModelViewClassName (  ) 

The list view class name that will be used to display a ZeroModelView

Returns:
string

Reimplemented from MashableInboxRules.

Definition at line 65 of file NotificationMashableInboxRules.php.

getMachableInboxOrderByAttributeName (  ) 

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

Reimplemented from MashableInboxRules.

Definition at line 70 of file NotificationMashableInboxRules.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 75 of file NotificationMashableInboxRules.php.

getMetadataFilteredByOption ( option  ) 

Returns the metada for the filter by model options

Parameters:
integer $option

Reimplemented from MashableInboxRules.

Definition at line 80 of file NotificationMashableInboxRules.php.

getMetadataFilteredByFilteredBy ( filteredBy  ) 

Returns the metada for the FilteredBy

Parameters:
string $filteredBy

Reimplemented from MashableInboxRules.

Definition at line 85 of file NotificationMashableInboxRules.php.

getModelStringContent ( RedBeanModel model  ) 

The content to be displayed in the MashableInboxListView row

Parameters:
RedBeanModel $model
Returns:
string

Reimplemented from MashableInboxRules.

Definition at line 115 of file NotificationMashableInboxRules.php.

getModelCreationTimeContent ( RedBeanModel model  ) 

A string containing the time passed from latest changes on the model to be used in the MashableInboxListView row

Parameters:
RedBeanModel $model
Returns:
string

Reimplemented from MashableInboxRules.

Definition at line 141 of file NotificationMashableInboxRules.php.

getSearchAttributeData ( searchTerm = null  ) 

Makes the metadata to filter models by the searchTerm

Parameters:
string $searchTerm

Reimplemented from MashableInboxRules.

Definition at line 146 of file NotificationMashableInboxRules.php.

resolveMarkRead ( modelId  ) 

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

Parameters:
integer $modelId

Reimplemented from MashableInboxRules.

Definition at line 176 of file NotificationMashableInboxRules.php.

resolveMarkUnread ( modelId  ) 

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

Parameters:
integer $modelId

Reimplemented from MashableInboxRules.

Definition at line 182 of file NotificationMashableInboxRules.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 200 of file NotificationMashableInboxRules.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 237 of file NotificationMashableInboxRules.php.


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