|
ILIAS
Release_4_0_x_branch Revision 61816
|
Collaboration diagram for ilPaypalSettings:Public Member Functions | |
| setSettingsId ($a_settings_id=0) | |
| getSettingsId () | |
| setServerHost ($a_server_host) | |
| getServerHost () | |
| setServerPath ($a_server_path) | |
| getServerPath () | |
| setVendor ($a_vendor) | |
| getVendor () | |
| 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. | |
Private Member Functions | |
| ilPaypalSettings () | |
| Constructor. | |
| getSettings () | |
| Called from constructor to fetch settings from database. | |
| fetchSettingsId () | |
| Fetches and sets the primary key of the payment settings. | |
Private Attributes | |
| $db | |
| $settings | |
| $settings_id | |
| $server_host | |
| $server_path | |
| $vendor | |
| $auth_token | |
| $page_style | |
| $ssl | |
Static Private Attributes | |
| static | $instance = null |
Definition at line 32 of file class.ilPaypalSettings.php.
| ilPaypalSettings::clearAll | ( | ) |
Clears the payment settings for the paypal payment method.
public
Definition at line 218 of file class.ilPaypalSettings.php.
References getSettingsId().
Here is the call graph for this function:
|
private |
Fetches and sets the primary key of the payment settings.
private
Definition at line 113 of file class.ilPaypalSettings.php.
References $res, $result, and setSettingsId().
Referenced by getSettings().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPaypalSettings::getAll | ( | ) |
Returns array of all paypal settings.
public
Definition at line 199 of file class.ilPaypalSettings.php.
References getAuthToken(), getPageStyle(), getServerHost(), getServerPath(), getSsl(), and getVendor().
Here is the call graph for this function:| ilPaypalSettings::getAuthToken | ( | ) |
Definition at line 168 of file class.ilPaypalSettings.php.
References $auth_token.
Referenced by getAll(), and save().
Here is the caller graph for this function:
|
static |
Static method to get the singleton instance.
public
Definition at line 54 of file class.ilPaypalSettings.php.
References $instance, and ilPaypalSettings().
Referenced by ilShopShoppingCartGUI\__construct(), ilPaymentShoppingCartGUI\ilPaymentShoppingCartGUI(), ilPurchasePaypal\ilPurchasePaypal(), ilObjPaymentSettingsGUI\paypalSettingsObject(), and ilObjPaymentSettingsGUI\savePaypalSettingsObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPaypalSettings::getPageStyle | ( | ) |
Definition at line 178 of file class.ilPaypalSettings.php.
References $page_style.
Referenced by getAll(), and save().
Here is the caller graph for this function:| ilPaypalSettings::getServerHost | ( | ) |
Definition at line 138 of file class.ilPaypalSettings.php.
References $server_host.
Referenced by getAll(), and save().
Here is the caller graph for this function:| ilPaypalSettings::getServerPath | ( | ) |
Definition at line 148 of file class.ilPaypalSettings.php.
References $server_path.
Referenced by getAll(), and save().
Here is the caller graph for this function:
|
private |
Called from constructor to fetch settings from database.
private
Definition at line 83 of file class.ilPaypalSettings.php.
References $data, $res, $result, fetchSettingsId(), getSettingsId(), setAuthToken(), setPageStyle(), setServerHost(), setServerPath(), setSsl(), and setVendor().
Referenced by ilPaypalSettings().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPaypalSettings::getSettingsId | ( | ) |
Definition at line 128 of file class.ilPaypalSettings.php.
References $settings_id.
Referenced by clearAll(), getSettings(), and save().
Here is the caller graph for this function:| ilPaypalSettings::getSsl | ( | ) |
Definition at line 188 of file class.ilPaypalSettings.php.
References $ssl.
Referenced by getAll(), and save().
Here is the caller graph for this function:| ilPaypalSettings::getVendor | ( | ) |
Definition at line 158 of file class.ilPaypalSettings.php.
References $vendor.
Referenced by getAll(), and save().
Here is the caller graph for this function:
|
private |
Constructor.
private
Definition at line 69 of file class.ilPaypalSettings.php.
References $ilDB, and getSettings().
Referenced by getInstance().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPaypalSettings::save | ( | ) |
Inserts or updates (if payment settings already exist) the paypal settings data.
public
Definition at line 236 of file class.ilPaypalSettings.php.
References $ilDB, getAuthToken(), getPageStyle(), getServerHost(), getServerPath(), getSettingsId(), getSsl(), getVendor(), and setSettingsId().
Here is the call graph for this function:| ilPaypalSettings::setAuthToken | ( | $a_auth_token | ) |
Definition at line 163 of file class.ilPaypalSettings.php.
Referenced by getSettings().
Here is the caller graph for this function:| ilPaypalSettings::setPageStyle | ( | $a_page_style | ) |
Definition at line 173 of file class.ilPaypalSettings.php.
Referenced by getSettings().
Here is the caller graph for this function:| ilPaypalSettings::setServerHost | ( | $a_server_host | ) |
Definition at line 133 of file class.ilPaypalSettings.php.
Referenced by getSettings().
Here is the caller graph for this function:| ilPaypalSettings::setServerPath | ( | $a_server_path | ) |
Definition at line 143 of file class.ilPaypalSettings.php.
Referenced by getSettings().
Here is the caller graph for this function:| ilPaypalSettings::setSettingsId | ( | $a_settings_id = 0 | ) |
Definition at line 123 of file class.ilPaypalSettings.php.
Referenced by fetchSettingsId(), and save().
Here is the caller graph for this function:| ilPaypalSettings::setSsl | ( | $a_ssl | ) |
Definition at line 183 of file class.ilPaypalSettings.php.
Referenced by getSettings().
Here is the caller graph for this function:| ilPaypalSettings::setVendor | ( | $a_vendor | ) |
Definition at line 153 of file class.ilPaypalSettings.php.
Referenced by getSettings().
Here is the caller graph for this function:
|
private |
Definition at line 42 of file class.ilPaypalSettings.php.
Referenced by getAuthToken().
|
private |
Definition at line 34 of file class.ilPaypalSettings.php.
|
staticprivate |
Definition at line 46 of file class.ilPaypalSettings.php.
Referenced by getInstance().
|
private |
Definition at line 43 of file class.ilPaypalSettings.php.
Referenced by getPageStyle().
|
private |
Definition at line 39 of file class.ilPaypalSettings.php.
Referenced by getServerHost().
|
private |
Definition at line 40 of file class.ilPaypalSettings.php.
Referenced by getServerPath().
|
private |
Definition at line 36 of file class.ilPaypalSettings.php.
|
private |
Definition at line 37 of file class.ilPaypalSettings.php.
Referenced by getSettingsId().
|
private |
Definition at line 44 of file class.ilPaypalSettings.php.
Referenced by getSsl().
|
private |
Definition at line 41 of file class.ilPaypalSettings.php.
Referenced by getVendor().