13 include_once
'./Services/Payment/classes/class.ilPaymentSettings.php';
44 return self::$instance;
66 $paypal = $this->pSettings->get(
'paypal');
69 if ($paypal !=
"" && $paypal != NULL )
71 $data = unserialize($paypal);
88 $this->server_host = $a_server_host;
104 $this->server_path = $a_server_path;
120 $this->vendor = $a_vendor;
136 $this->vender_password = $a_vendor_password;
144 return $this->vender_password;
151 $this->auth_token = $a_auth_token;
167 $this->page_style = $a_page_style;
222 $this->pSettings->set(
'paypal', NULL,
'paypal');
243 $this->pSettings->set(
'paypal', serialize($values),
'paypal');
setAuthToken($a_auth_token)
getAll()
Returns array of all paypal settings.
__construct()
Constructor.
getSettings()
Called from constructor to fetch settings from database.
setVendorPassword($a_vendor_password)
setServerPath($a_server_path)
setServerHost($a_server_host)
save()
Inserts or updates (if payment settings already exist) the paypal settings data.
static getInstance()
Static method to get the singleton instance.
setPageStyle($a_page_style)
while($lm_rec=$ilDB->fetchAssoc($lm_set)) $data
clearAll()
Clears the payment settings for the paypal payment method.