ILIAS
Release_4_4_x_branch Revision 61816
|
Public Member Functions | |
setServerHost ($a_server_host) | |
getServerHost () | |
setServerPath ($a_server_path) | |
getServerPath () | |
setVendor ($a_vendor) | |
getVendor () | |
setVendorPassword ($a_vendor_password) | |
getVendorPassword () | |
setAuthToken ($a_auth_token) | |
getAuthToken () | |
setPageStyle ($a_page_style) | |
getPageStyle () | |
setSsl ($a_ssl) | |
getSsl () | |
getAll () | |
Returns array of all paypal settings. | |
clearAll () | |
Clears the payment settings for the paypal payment method. | |
save () | |
Inserts or updates (if payment settings already exist) the paypal settings data. |
Static Public Member Functions | |
static | getInstance () |
Static method to get the singleton instance. |
Data Fields | |
$pSettings |
Private Member Functions | |
__construct () | |
Constructor. | |
getSettings () | |
Called from constructor to fetch settings from database. |
Private Attributes | |
$server_host | |
$server_path | |
$vendor | |
$auth_token | |
$page_style | |
$ssl |
Static Private Attributes | |
static | $instance = null |
Definition at line 15 of file class.ilPaypalSettings.php.
|
private |
Constructor.
private
Definition at line 52 of file class.ilPaypalSettings.php.
References ilPaymentSettings\_getInstance(), and getSettings().
ilPaypalSettings::clearAll | ( | ) |
Clears the payment settings for the paypal payment method.
public
Definition at line 220 of file class.ilPaypalSettings.php.
ilPaypalSettings::getAll | ( | ) |
Returns array of all paypal settings.
public
Definition at line 200 of file class.ilPaypalSettings.php.
References getAuthToken(), getPageStyle(), getServerHost(), getServerPath(), getSsl(), and getVendor().
ilPaypalSettings::getAuthToken | ( | ) |
Definition at line 157 of file class.ilPaypalSettings.php.
References $auth_token.
Referenced by getAll(), and save().
|
static |
Static method to get the singleton instance.
public
Definition at line 37 of file class.ilPaypalSettings.php.
References $instance.
Referenced by ilPurchasePaypal\__construct(), ilShopShoppingCartGUI\__construct(), and ilObjPaymentSettingsGUI\savePaypalSettingsObject().
ilPaypalSettings::getPageStyle | ( | ) |
Definition at line 173 of file class.ilPaypalSettings.php.
References $page_style.
Referenced by getAll(), and save().
ilPaypalSettings::getServerHost | ( | ) |
Definition at line 94 of file class.ilPaypalSettings.php.
References $server_host.
Referenced by getAll(), and save().
ilPaypalSettings::getServerPath | ( | ) |
Definition at line 110 of file class.ilPaypalSettings.php.
References $server_path.
Referenced by getAll(), and save().
|
private |
Called from constructor to fetch settings from database.
private
Definition at line 63 of file class.ilPaypalSettings.php.
References setAuthToken(), setPageStyle(), setServerHost(), setServerPath(), setSsl(), and setVendor().
Referenced by __construct().
ilPaypalSettings::getSsl | ( | ) |
Definition at line 189 of file class.ilPaypalSettings.php.
References $ssl.
Referenced by getAll(), and save().
ilPaypalSettings::getVendor | ( | ) |
Definition at line 126 of file class.ilPaypalSettings.php.
References $vendor.
Referenced by getAll(), and save().
ilPaypalSettings::getVendorPassword | ( | ) |
Definition at line 142 of file class.ilPaypalSettings.php.
ilPaypalSettings::save | ( | ) |
Inserts or updates (if payment settings already exist) the paypal settings data.
public
Definition at line 231 of file class.ilPaypalSettings.php.
References getAuthToken(), getPageStyle(), getServerHost(), getServerPath(), getSsl(), and getVendor().
ilPaypalSettings::setAuthToken | ( | $a_auth_token | ) |
string | $a_auth_token |
Definition at line 149 of file class.ilPaypalSettings.php.
Referenced by getSettings().
ilPaypalSettings::setPageStyle | ( | $a_page_style | ) |
string$a_page_style |
Definition at line 165 of file class.ilPaypalSettings.php.
Referenced by getSettings().
ilPaypalSettings::setServerHost | ( | $a_server_host | ) |
string | $a_server_host |
Definition at line 86 of file class.ilPaypalSettings.php.
Referenced by getSettings().
ilPaypalSettings::setServerPath | ( | $a_server_path | ) |
string | $a_server_path |
Definition at line 102 of file class.ilPaypalSettings.php.
Referenced by getSettings().
ilPaypalSettings::setSsl | ( | $a_ssl | ) |
string | $a_ssl |
Definition at line 181 of file class.ilPaypalSettings.php.
Referenced by getSettings().
ilPaypalSettings::setVendor | ( | $a_vendor | ) |
string | $a_vendor |
Definition at line 118 of file class.ilPaypalSettings.php.
Referenced by getSettings().
ilPaypalSettings::setVendorPassword | ( | $a_vendor_password | ) |
string | $a_vendor_password |
Definition at line 134 of file class.ilPaypalSettings.php.
|
private |
Definition at line 25 of file class.ilPaypalSettings.php.
Referenced by getAuthToken().
|
staticprivate |
Definition at line 29 of file class.ilPaypalSettings.php.
Referenced by getInstance().
|
private |
Definition at line 26 of file class.ilPaypalSettings.php.
Referenced by getPageStyle().
ilPaypalSettings::$pSettings |
Definition at line 17 of file class.ilPaypalSettings.php.
|
private |
Definition at line 21 of file class.ilPaypalSettings.php.
Referenced by getServerHost().
|
private |
Definition at line 22 of file class.ilPaypalSettings.php.
Referenced by getServerPath().
|
private |
Definition at line 27 of file class.ilPaypalSettings.php.
Referenced by getSsl().
|
private |
Definition at line 23 of file class.ilPaypalSettings.php.
Referenced by getVendor().