87 $query =
"SELECT paypal FROM payment_settings WHERE settings_id = '" . $this->
getSettingsId() .
"'";
88 $result = $this->db->getrow($query);
112 $query =
"SELECT * FROM payment_settings";
113 $result = $this->db->getrow($query);
120 $this->settings_id = $a_settings_id;
128 $this->server_host = $a_server_host;
136 $this->server_path = $a_server_path;
144 $this->vendor = $a_vendor;
152 $this->auth_token = $a_auth_token;
160 $this->page_style = $a_page_style;
202 $query =
"UPDATE payment_settings "
204 .
"WHERE settings_id = '" . $this->settings_id .
"'";
205 $this->db->query($query);
207 $this->settings = array();
230 $query =
"UPDATE payment_settings "
231 .
"SET paypal = " . $ilDB->quote(serialize($values)).
" "
233 $this->db->query($query);
237 $query =
"INSERT INTO payment_settings (paypal) VALUES (" . $ilDB->quote(serialize($values)).
") ";
239 $this->db->query($query);