OXID eShop CE  4.9.9
 All Classes Files Functions Variables Pages
oxActionList Class Reference
+ Inheritance diagram for oxActionList:
+ Collaboration diagram for oxActionList:

Public Member Functions

 loadFinishedByCount ($iCount)
 loadFinishedByTimespan ($iTimespan)
 loadCurrent ()
 loadFutureByCount ($iCount)
 loadFutureByTimespan ($iTimespan)
 areAnyActivePromotions ()
 loadBanners ()
- Public Member Functions inherited from oxList
 offsetExists ($offset)
 offsetGet ($offset)
 offsetSet ($offset, $oBase)
 offsetUnset ($offset)
 arrayKeys ()
 rewind ()
 current ()
 key ()
 prev ()
 next ()
 valid ()
 count ()
 clear ()
 assign ($aArray)
 reverse ()
 __construct ($sObjectName=null)
 __get ($sName)
 getArray ()
 init ($sObjectName, $sCoreTable=null)
 getBaseObject ()
 setBaseObject ($oObject)
 selectString ($sSql)
 add ($oObject)
 assignArray ($aData)
 setSqlLimit ($iStart, $iRecords)
 containsFieldValue ($oVal, $sFieldName)
 getList ()
- Public Member Functions inherited from oxSuperCfg
 __call ($sMethod, $aArgs)
 __construct ()
 getConfig ()
 setConfig ($oConfig)
 getSession ()
 setSession ($oSession)
 getUser ()
 setUser ($oUser)
 isAdmin ()
 setAdminMode ($blAdmin)

Protected Member Functions

 _getUserGroupFilter ($oUser=null)
- Protected Member Functions inherited from oxList
 _assignElement ($oListObject, $aDbFields)
 _getFieldLongName ($sFieldName)

Protected Attributes

 $_sObjectsInListName = 'oxactions'
- Protected Attributes inherited from oxList
 $_aArray = array()
 $_blRemovedActive = false
 $_sObjectsInListName = 'oxBase'
 $_sCoreTable = null
 $_sShopID = null
 $_aSqlLimit = array()

Additional Inherited Members

- Static Protected Attributes inherited from oxSuperCfg
static $_oConfig = null
static $_oSession = null
static $_oRights = null
static $_oActUser = null
static $_blIsAdmin = null

Detailed Description

Promotion List manager.

Definition at line 7 of file oxactionlist.php.

Member Function Documentation

oxActionList::_getUserGroupFilter (   $oUser = null)
protected

Returns part of user group filter query

Parameters
oxUser$oUseruser object
Returns
string

Definition at line 106 of file oxactionlist.php.

oxActionList::areAnyActivePromotions ( )

return true if there are any active promotions

Returns
boolean

Definition at line 136 of file oxactionlist.php.

oxActionList::loadBanners ( )

load active shop banner list

Definition at line 145 of file oxactionlist.php.

oxActionList::loadCurrent ( )

Loads current promotions

Definition at line 55 of file oxactionlist.php.

oxActionList::loadFinishedByCount (   $iCount)

Loads x last finished promotions

Parameters
int$iCountcount to load

Definition at line 22 of file oxactionlist.php.

oxActionList::loadFinishedByTimespan (   $iTimespan)

Loads last finished promotions after given timespan

Parameters
int$iTimespantimespan to load

Definition at line 40 of file oxactionlist.php.

oxActionList::loadFutureByCount (   $iCount)

Loads next not yet started promotions by cound

Parameters
int$iCountcount to load

Definition at line 71 of file oxactionlist.php.

oxActionList::loadFutureByTimespan (   $iTimespan)

Loads next not yet started promotions before the given timespan

Parameters
int$iTimespantimespan to load

Definition at line 87 of file oxactionlist.php.

Member Data Documentation

oxActionList::$_sObjectsInListName = 'oxactions'
protected

Definition at line 15 of file oxactionlist.php.


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