87 $res = $this->db->queryf(
'
88 SELECT paypal FROM payment_settings WHERE settings_id = %s',
116 $res = $this->db->query(
'SELECT * FROM payment_settings');
125 $this->settings_id = $a_settings_id;
135 $this->server_host = $a_server_host;
145 $this->server_path = $a_server_path;
155 $this->vendor = $a_vendor;
165 $this->auth_token = $a_auth_token;
175 $this->page_style = $a_page_style;
220 $statement = $this->db->manipulateF(
'
221 UPDATE payment_settings
223 WHERE settings_id = %s',
224 array(
'text',
'integer'),
228 $this->settings = array();
251 $statement = $ilDB->manipulateF(
'
252 UPDATE payment_settings
254 WHERE settings_id = %s',
255 array(
'text',
'integer'),
261 $next_id = $ilDB->nextId(
'payment_settings');
262 $statement = $ilDB->manipulateF(
'
263 INSERT INTO payment_settings
267 array(
'integer',
'text'), array($next_id, serialize($values)));