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

MashableUtil Class Reference

Static Public Member Functions

static createMashableInboxRulesByModel ($modelClassName)
static getModelDataForCurrentUserByInterfaceName ($interfaceClassName, $includeHavingRelatedItems=true)
static getUnreadCountForCurrentUserByModelClassName ($modelClassName)
static getUnreadCountMashableInboxForCurrentUser ()
static renderUnreadCountForDynamicLabelContent ()
static getSearchAttributeMetadataForMashableInboxByModelClassName ($modelClassNames, $filteredBy, $searchTerm= '')
static getSortAttributesByMashableInboxModelClassNames ($modelClassNames)
static renderSummaryContent (RedBeanModel $model)
static resolveContentTemplate ($template, $data)
static mergeMetadata ($firstMetadata, $secondMetadata, $isAnd=true)
static saveSelectedOptionsAsStickyData (MashableInboxForm $mashableInboxForm, $modelClassName)
static restoreSelectedOptionsAsStickyData ($modelClassName)
static resolveKeyByModuleAndModel ($moduleClassName, $modelClassName)

Static Protected Member Functions

static renderModelStringContent (RedBeanModel $model, $mashableInboxRules)
static renderModelCreationTimeContent (RedBeanModel $model, $mashableInboxRules)

Detailed Description

Definition at line 37 of file MashableUtil.php.


Member Function Documentation

static createMashableInboxRulesByModel ( modelClassName  )  [static]

Create the MashableInboxRules for the model

Parameters:
string $modelClassName
Returns:
MashableInboxRules

Definition at line 44 of file MashableUtil.php.

static getModelDataForCurrentUserByInterfaceName ( interfaceClassName,
includeHavingRelatedItems = true 
) [static]
Parameters:
String $interfaceClassName The name of the interface to check model implementation
Returns:
Array Contains the modelClassNames of models that implements the interface
Parameters:
string $interfaceClassName
bool $includeHavingRelatedItems
Returns:
array

Definition at line 61 of file MashableUtil.php.

static getUnreadCountForCurrentUserByModelClassName ( modelClassName  )  [static]
Parameters:
string $modelClassName
Returns:
int

Definition at line 94 of file MashableUtil.php.

static getSearchAttributeMetadataForMashableInboxByModelClassName ( modelClassNames,
filteredBy,
searchTerm = '' 
) [static]
Parameters:
array $modelClassNames
string $filteredBy
string $searchTerm
Returns:
array

Definition at line 123 of file MashableUtil.php.

static getSortAttributesByMashableInboxModelClassNames ( modelClassNames  )  [static]
Parameters:
array $modelClassNames
Returns:
array

Definition at line 150 of file MashableUtil.php.

static renderSummaryContent ( RedBeanModel model  )  [static]
Parameters:
RedBeanModel $model
Returns:
string

Definition at line 167 of file MashableUtil.php.

static resolveContentTemplate ( template,
data 
) [static]
Parameters:
string $template
array $data
Returns:
string

Definition at line 199 of file MashableUtil.php.

static mergeMetadata ( firstMetadata,
secondMetadata,
isAnd = true 
) [static]
Parameters:
array $firstMetadata
array $secondMetadata
bool $isAnd
Returns:
mixed

Definition at line 217 of file MashableUtil.php.

static saveSelectedOptionsAsStickyData ( MashableInboxForm mashableInboxForm,
modelClassName 
) [static]
Parameters:
MashableInboxForm $mashableInboxForm
string $modelClassName

Definition at line 259 of file MashableUtil.php.

static restoreSelectedOptionsAsStickyData ( modelClassName  )  [static]
Parameters:
string $modelClassName
Returns:
MashableInboxForm

Definition at line 271 of file MashableUtil.php.

static resolveKeyByModuleAndModel ( moduleClassName,
modelClassName 
) [static]
Parameters:
string $moduleClassName
string $modelClassName
Returns:
string

Definition at line 286 of file MashableUtil.php.


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