67 $res = $this->db->queryf(
'
68 SELECT paypal FROM payment_settings WHERE settings_id = %s',
96 $res = $this->db->query(
'SELECT * FROM payment_settings');
105 $this->settings_id = $a_settings_id;
115 $this->server_host = $a_server_host;
125 $this->server_path = $a_server_path;
135 $this->vendor = $a_vendor;
145 $this->auth_token = $a_auth_token;
155 $this->page_style = $a_page_style;
200 $statement = $this->db->manipulateF(
'
201 UPDATE payment_settings
203 WHERE settings_id = %s',
204 array(
'text',
'integer'),
208 $this->settings = array();
231 $statement = $ilDB->manipulateF(
'
232 UPDATE payment_settings
234 WHERE settings_id = %s',
235 array(
'text',
'integer'),
241 $next_id = $ilDB->nextId(
'payment_settings');
242 $statement = $ilDB->manipulateF(
'
243 INSERT INTO payment_settings
247 array(
'integer',
'text'), array($next_id, serialize($values)));