Inheritance diagram for oxPaymentList:
 Collaboration diagram for oxPaymentList:Public Member Functions | |
| __construct ($sObjectsInListName= 'oxpayment') | |
| setHomeCountry ($sHomeCountry) | |
| getCountryId ($oUser) | |
| getPaymentList ($sShipSetId, $dPrice, $oUser=null) | |
| loadNonRDFaPaymentList () | |
| loadRDFaPaymentList ($dPrice=null) | |
Static Public Member Functions | |
| static | getInstance () | 
Protected Member Functions | |
| _getFilterSelect ($sShipSetId, $dPrice, $oUser) | |
Protected Attributes | |
| $_sHomeCountry = null | |
Static Protected Attributes | |
| static | $_instance = null | 
Payment list manager.
Definition at line 5 of file oxpaymentlist.php.
| oxPaymentList.__construct | ( | $ |  sObjectsInListName = 'oxpayment' | 
          ) | 
Class Constructor
| string | $sObjectsInListName Associated list item object type | 
Reimplemented from oxList.
Definition at line 25 of file oxpaymentlist.php.
| oxPaymentList._getFilterSelect | ( | $ | sShipSetId, | |
| $ | dPrice, | |||
| $ | oUser | |||
| ) |  [protected] | 
        
Creates payment list filter SQL to load current state payment list
| string | $sShipSetId user chosen delivery set | |
| double | $dPrice basket products price | |
| oxuser | $oUser session user object | 
Definition at line 79 of file oxpaymentlist.php.
| oxPaymentList.getCountryId | ( | $ | oUser | ) | 
Returns user country id for for payment selection
| oxuser | $oUser oxuser object | 
Definition at line 131 of file oxpaymentlist.php.
| static oxPaymentList.getInstance | ( | ) |  [static] | 
        
Returns oxPaymentList instance
Definition at line 52 of file oxpaymentlist.php.
| oxPaymentList.getPaymentList | ( | $ | sShipSetId, | |
| $ | dPrice, | |||
| $ |  oUser = null | |||
| ) | 
Loads and returns list of user payments.
| string | $sShipSetId user chosen delivery set | |
| double | $dPrice basket product price excl. discount | |
| oxuser | $oUser session user object | 
Definition at line 154 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 166 of file oxpaymentlist.php.
| oxPaymentList.loadRDFaPaymentList | ( | $ |  dPrice = null | 
          ) | 
Loads payments mapped to a predefined GoodRelations payment method.
| double | $dPrice product price | 
Definition at line 181 of file oxpaymentlist.php.
| oxPaymentList.setHomeCountry | ( | $ | sHomeCountry | ) | 
Home country setter
| string | $sHomeCountry country id | 
Definition at line 38 of file oxpaymentlist.php.
oxPaymentList.$_instance = null [static, protected] | 
        
Definition at line 11 of file oxpaymentlist.php.
oxPaymentList.$_sHomeCountry = null [protected] | 
        
Definition at line 18 of file oxpaymentlist.php.
 1.7.1