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

Public Member Functions

 __construct ()
 setHomeCountry ($sHomeCountry)
 getCountryId ($oUser)
 getPaymentList ($sShipSetId, $dPrice, $oUser=null)
 loadNonRDFaPaymentList ()
 loadRDFaPaymentList ($dPrice=null)
- 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)
 getConfig ()
 setConfig ($oConfig)
 getSession ()
 setSession ($oSession)
 getUser ()
 setUser ($oUser)
 isAdmin ()
 setAdminMode ($blAdmin)

Protected Member Functions

 _getFilterSelect ($sShipSetId, $dPrice, $oUser)
- Protected Member Functions inherited from oxList
 _assignElement ($oListObject, $aDbFields)
 _getFieldLongName ($sFieldName)

Protected Attributes

 $_sHomeCountry = null
- 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

Payment list manager.

Definition at line 6 of file oxpaymentlist.php.

Constructor & Destructor Documentation

oxPaymentList::__construct ( )

Class Constructor

Returns
null

Reimplemented from oxSuperCfg.

Definition at line 21 of file oxpaymentlist.php.

Member Function Documentation

oxPaymentList::_getFilterSelect (   $sShipSetId,
  $dPrice,
  $oUser 
)
protected

Creates payment list filter SQL to load current state payment list

Parameters
string$sShipSetIduser chosen delivery set
double$dPricebasket products price
oxuser$oUsersession user object
Returns
string

Definition at line 50 of file oxpaymentlist.php.

oxPaymentList::getCountryId (   $oUser)

Returns user country id for for payment selection

Parameters
oxuser$oUseroxuser object
Returns
string

Definition at line 103 of file oxpaymentlist.php.

oxPaymentList::getPaymentList (   $sShipSetId,
  $dPrice,
  $oUser = null 
)

Loads and returns list of user payments.

Parameters
string$sShipSetIduser chosen delivery set
double$dPricebasket product price excl. discount
oxuser$oUsersession user object
Returns
array

Definition at line 126 of file oxpaymentlist.php.

oxPaymentList::loadNonRDFaPaymentList ( )

Loads an object including all payments which are not mapped to a predefined GoodRelations payment method.

Definition at line 137 of file oxpaymentlist.php.

oxPaymentList::loadRDFaPaymentList (   $dPrice = null)

Loads payments mapped to a predefined GoodRelations payment method.

Parameters
double$dPriceproduct price

Definition at line 150 of file oxpaymentlist.php.

oxPaymentList::setHomeCountry (   $sHomeCountry)

Home country setter

Parameters
string$sHomeCountrycountry id

Definition at line 32 of file oxpaymentlist.php.

Member Data Documentation

oxPaymentList::$_sHomeCountry = null
protected

Definition at line 14 of file oxpaymentlist.php.


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