prepareStatement($query); $stmt->bind_param("ssss", $this->data['portal_name'], $this->data['portal_provider_name'], $this->data['admin_auth_methods'], $this->data['portal_uuid']); if ($this->executeStatement($stmt)) { $this->apiOutput(200, ['success' => 'portal settings updated successfully.']); } } }