All Data Structures Functions Variables Pages
Static Public Member Functions | Static Protected Member Functions
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 Public Member Functions inherited from StickyUtil
static clearDataByKey ($key)
 
static getDataByKey ($key)
 
static setDataByKeyAndData ($key, array $data)
 

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:
Generated on Sat Jan 25 2020 07:10:45