OXID eShop CE  6.1.5
OxidEsales\EshopCommunity\Application\Model\ActionList Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Application\Model\ActionList:
+ Collaboration diagram for OxidEsales\EshopCommunity\Application\Model\ActionList:

Public Member Functions

 loadFinishedByCount ($iCount)
 
 loadFinishedByTimespan ($iTimespan)
 
 loadCurrent ()
 
 loadFutureByCount ($iCount)
 
 loadFutureByTimespan ($iTimespan)
 
 areAnyActivePromotions ()
 
 loadBanners ()
 

Protected Member Functions

 _getUserGroupFilter ($oUser=null)
 
 fetchExistsActivePromotion ()
 

Protected Attributes

 $_sObjectsInListName = 'oxactions'
 

Detailed Description

Promotion List manager.

Member Function Documentation

◆ _getUserGroupFilter()

OxidEsales\EshopCommunity\Application\Model\ActionList::_getUserGroupFilter (   $oUser = null)
protected

Returns part of user group filter query

Parameters
\OxidEsales\Eshop\Application\Model\User$oUseruser object
Returns
string

◆ areAnyActivePromotions()

OxidEsales\EshopCommunity\Application\Model\ActionList::areAnyActivePromotions ( )

return true if there are any active promotions

Returns
boolean

◆ fetchExistsActivePromotion()

OxidEsales\EshopCommunity\Application\Model\ActionList::fetchExistsActivePromotion ( )
protected

Fetch the information, if there is an active promotion.

Returns
string One, if there is an active promotion.

◆ loadBanners()

OxidEsales\EshopCommunity\Application\Model\ActionList::loadBanners ( )

load active shop banner list

◆ loadCurrent()

OxidEsales\EshopCommunity\Application\Model\ActionList::loadCurrent ( )

Loads current promotions

◆ loadFinishedByCount()

OxidEsales\EshopCommunity\Application\Model\ActionList::loadFinishedByCount (   $iCount)

Loads x last finished promotions

Parameters
int$iCountcount to load

◆ loadFinishedByTimespan()

OxidEsales\EshopCommunity\Application\Model\ActionList::loadFinishedByTimespan (   $iTimespan)

Loads last finished promotions after given timespan

Parameters
int$iTimespantimespan to load

◆ loadFutureByCount()

OxidEsales\EshopCommunity\Application\Model\ActionList::loadFutureByCount (   $iCount)

Loads next not yet started promotions by cound

Parameters
int$iCountcount to load

◆ loadFutureByTimespan()

OxidEsales\EshopCommunity\Application\Model\ActionList::loadFutureByTimespan (   $iTimespan)

Loads next not yet started promotions before the given timespan

Parameters
int$iTimespantimespan to load

Member Data Documentation

◆ $_sObjectsInListName

OxidEsales\EshopCommunity\Application\Model\ActionList::$_sObjectsInListName = 'oxactions'
protected

The documentation for this class was generated from the following file: