StickySearchUtil Class Reference

Inheritance diagram for StickySearchUtil:
StickyUtil CampaignsStickySearchUtil GameRewardsStickySearchUtil MarketingListsStickySearchUtil

Static Public Member Functions

static resolveFinalOffsetForStickyList ($stickyOffset, $pageSize, $totalCount)
static resolveBreadCrumbViewForDetailsControllerAction (CController $controller, $stickySearchKey, RedBeanModel $model)

Static Protected Member Functions

static resolveStickyDetailsAndRelationsBreadCrumbViewClassName ()
static resolveBreadcrumbLinks (RedBeanModel $model)
static getHomeLinkLabel ($controller)
static getHomeUrl ()

Detailed Description

Helper class for working with Sticky searches

Definition at line 40 of file StickySearchUtil.php.


Member Function Documentation

static resolveFinalOffsetForStickyList ( stickyOffset,
pageSize,
totalCount 
) [static]

Given an offset and pageSize, determine what the list offset should be in order to maximize how the list displays in the user interface

Parameters:
Integer $stickyOffset
Integer $pageSize
Returns:
Integer $finalOffset

Definition at line 49 of file StickySearchUtil.php.

static resolveBreadCrumbViewForDetailsControllerAction ( CController $  controller,
stickySearchKey,
RedBeanModel model 
) [static]
Parameters:
CController $controller
$stickySearchKey 
RedBeanModel $model
Returns:
mixed

Definition at line 90 of file StickySearchUtil.php.


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